samples: auxdisplay: use 'userprogs' syntax
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 29 Apr 2020 03:45:25 +0000 (12:45 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 17 May 2020 09:52:02 +0000 (18:52 +0900)
commit87ffbba9a9a1a74da44917a207c7e57dac98f2f8
tree24e622d34a8ea29fb0d49fff143ed322c8a0354e
parentc4c10996b1940e197b45f827b99f40a4b82daebb
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>
samples/Kconfig
samples/Makefile
samples/auxdisplay/Makefile