diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-04-29 06:45:27 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-05-17 12:52:02 +0300 |
commit | 88a8e278ff0b6b461bf39d4ace17384e976a3f3f (patch) | |
tree | 7ff6d535b41f4272933ba67f4a1dd56eb34356e1 /samples/Makefile | |
parent | b98ccc7150c7bfce60671ad1928d5f1220446b39 (diff) | |
download | linux-88a8e278ff0b6b461bf39d4ace17384e976a3f3f.tar.xz |
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>
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 042208326689..29c66aadd954 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -26,3 +26,4 @@ obj-$(CONFIG_VIDEO_PCI_SKELETON) += v4l/ obj-y += vfio-mdev/ subdir-$(CONFIG_SAMPLE_VFS) += vfs obj-$(CONFIG_SAMPLE_INTEL_MEI) += mei/ +subdir-$(CONFIG_SAMPLE_WATCHDOG) += watchdog |