summaryrefslogtreecommitdiffstats
path: root/samples/Kconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-04-29 12:45:25 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2020-05-17 18:52:02 +0900
commit87ffbba9a9a1a74da44917a207c7e57dac98f2f8 (patch)
tree24e622d34a8ea29fb0d49fff143ed322c8a0354e /samples/Kconfig
parentc4c10996b1940e197b45f827b99f40a4b82daebb (diff)
downloadlinux-87ffbba9a9a1a74da44917a207c7e57dac98f2f8.tar.gz
linux-87ffbba9a9a1a74da44917a207c7e57dac98f2f8.tar.bz2
linux-87ffbba9a9a1a74da44917a207c7e57dac98f2f8.zip
samples: auxdisplay: use 'userprogs' syntax
Kbuild now supports the 'userprogs' syntax to compile userspace programs for the same architecture as the kernel. Add the entry to samples/Makefile to put this into the build bot coverage. I also added the CONFIG option guarded by 'depends on CC_CAN_LINK' because $(CC) may not provide libc. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Acked-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> Acked-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'samples/Kconfig')
-rw-r--r--samples/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/samples/Kconfig b/samples/Kconfig
index 69699db49675..2322e11e8b80 100644
--- a/samples/Kconfig
+++ b/samples/Kconfig
@@ -6,6 +6,10 @@ menuconfig SAMPLES
if SAMPLES
+config SAMPLE_AUXDISPLAY
+ bool "auxdisplay sample"
+ depends on CC_CAN_LINK
+
config SAMPLE_TRACE_EVENTS
tristate "Build trace_events examples -- loadable modules only"
depends on EVENT_TRACING && m