mirror of
https://github.com/torvalds/linux.git
synced 2026-12-01 19:12:36 +00:00
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: 9762dc1432 ("samples: add binderfs sample program")
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
7 lines
140 B
Makefile
7 lines
140 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
ifndef CROSS_COMPILE
|
|
ifdef CONFIG_SAMPLE_ANDROID_BINDERFS
|
|
hostprogs := binderfs_example
|
|
endif
|
|
endif
|