]> git.baikalelectronics.ru Git - kernel.git/commit
samples: watchdog: use 'userprogs' syntax
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 29 Apr 2020 03:45:27 +0000 (12:45 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 17 May 2020 09:52:02 +0000 (18:52 +0900)
commitf6a1a901a8290603fe86a6fbeecfb263b56b12f6
tree7ff6d535b41f4272933ba67f4a1dd56eb34356e1
parent58a5f023ede5d07c5e664385b3a84b1338ebcd72
samples: watchdog: 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: Sam Ravnborg <sam@ravnborg.org>
samples/Kconfig
samples/Makefile
samples/watchdog/Makefile