]> git.baikalelectronics.ru Git - kernel.git/commit
samples: fix binderfs sample
authorArnd Bergmann <arnd@arndb.de>
Tue, 28 Apr 2020 21:25:33 +0000 (23:25 +0200)
committerJonathan Corbet <corbet@lwn.net>
Tue, 5 May 2020 15:48:11 +0000 (09:48 -0600)
commit8d602edb6f17cabfa400f9a31f8bd99eadcbed42
tree8e4f8dca844d564097197fdf409b0563e9d3f579
parenta143749756598b1827f253f0ed64ab0b7b1e830f
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: be8ab683d353 ("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>
samples/Kconfig
samples/binderfs/Makefile