summaryrefslogtreecommitdiffstats
path: root/samples/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-04-28 23:25:33 +0200
committerJonathan Corbet <corbet@lwn.net>2020-05-05 09:48:11 -0600
commitc624adc9cb6e6e8f1c0230a7775add700bc2409b (patch)
tree8e4f8dca844d564097197fdf409b0563e9d3f579 /samples/Kconfig
parent190e1597e5e07c7eb7edc0b040b007a59b1e4a84 (diff)
downloadlinux-c624adc9cb6e6e8f1c0230a7775add700bc2409b.tar.bz2
samples: fix binderfs sample
A routine check for misspelled Kconfig symbols showed on instance from last year, the correct symbol name is CONFIG_ANDROID_BINDERFS, not CONFIG_CONFIG_ANDROID_BINDERFS, so the extra prefix must be removed in the Kconfig file to allow enabling the sample. As the actual sample fails to build as a kernel module, change the Makefile enough to get to build as a hostprog instead. Fixes: 9762dc1432e1 ("samples: add binderfs sample program") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Christian Brauner <christian.brauner@ubuntu.com> Link: https://lore.kernel.org/r/20200428212555.2806258-1-arnd@arndb.de Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'samples/Kconfig')
-rw-r--r--samples/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/Kconfig b/samples/Kconfig
index 9d236c346de5..205076cf234e 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -171,7 +171,7 @@ config SAMPLE_VFIO_MDEV_MBOCHS
config SAMPLE_ANDROID_BINDERFS
bool "Build Android binderfs example"
- depends on CONFIG_ANDROID_BINDERFS
+ depends on ANDROID_BINDERFS
help
Builds a sample program to illustrate the use of the Android binderfs
filesystem.