diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-29 12:45:25 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-05-17 18:52:02 +0900 |
commit | 87ffbba9a9a1a74da44917a207c7e57dac98f2f8 (patch) | |
tree | 24e622d34a8ea29fb0d49fff143ed322c8a0354e /samples/Makefile | |
parent | c4c10996b1940e197b45f827b99f40a4b82daebb (diff) | |
download | linux-stable-87ffbba9a9a1a74da44917a207c7e57dac98f2f8.tar.gz linux-stable-87ffbba9a9a1a74da44917a207c7e57dac98f2f8.tar.bz2 linux-stable-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/Makefile')
-rw-r--r-- | samples/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/Makefile b/samples/Makefile index bdc168405452..0c43b5d34b15 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 # Makefile for Linux samples code +subdir-$(CONFIG_SAMPLE_AUXDISPLAY) += auxdisplay obj-$(CONFIG_SAMPLE_ANDROID_BINDERFS) += binderfs/ obj-$(CONFIG_SAMPLE_CONFIGFS) += configfs/ obj-$(CONFIG_SAMPLE_CONNECTOR) += connector/ |