1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-24 17:23:25 -05:00
linux/samples
Masahiro Yamada 87ecdf4fc9 samples: uhid: build sample program for target architecture
This userspace program includes UAPI headers exported to usr/include/.
'make headers' always works for the target architecture (i.e. the same
architecture as the kernel), so the sample program should be built for
the target as well. Kbuild now supports 'userprogs' for that.

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>
2020-05-17 18:52:01 +09:00
..
auxdisplay
binderfs
bpf
configfs
connector
ftrace
hidraw
hw_breakpoint
kdb
kfifo
kobject
kprobes
livepatch
mei
mic/mpssd
pidfd
pktgen
qmi
rpmsg
seccomp samples: seccomp: build sample programs for target architecture 2020-05-17 18:52:01 +09:00
timers
trace_events tracing: Fix doc mistakes in trace sample 2020-05-07 13:32:57 -04:00
trace_printk
uhid samples: uhid: build sample program for target architecture 2020-05-17 18:52:01 +09:00
v4l
vfio-mdev vmalloc: fix remap_vmalloc_range() bounds checks 2020-04-21 11:11:56 -07:00
vfs
watchdog
Kconfig samples: uhid: build sample program for target architecture 2020-05-17 18:52:01 +09:00
Makefile samples: uhid: build sample program for target architecture 2020-05-17 18:52:01 +09:00