1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-24 01:09:38 -05:00
linux/samples
Masahiro Yamada 214377e9b7 samples: watch_queue: 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.

I also guarded the CONFIG option by 'depends on CC_CAN_LINK' because
$(CC) may not provide libc.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2020-06-22 01:56:09 +09:00
..
auxdisplay samples: auxdisplay: use 'userprogs' syntax 2020-05-17 18:52:02 +09:00
binderfs binderfs: add gitignore for generated sample program 2020-06-13 13:41:24 -07:00
bpf samples, bpf: Refactor kprobe, tail call kern progs map definition 2020-05-19 17:13:03 +02:00
configfs
connector samples: connector: build sample program for target architecture 2020-05-17 18:52:01 +09:00
ftrace samples/ftrace: Fix asm function ELF annotations 2020-05-20 08:30:43 -05:00
hidraw samples: hidraw: build sample program for target architecture 2020-05-17 18:52:01 +09:00
hw_breakpoint
kdb
kfifo
kobject
kprobes samples/kprobes: Add __kprobes and NOKPROBE_SYMBOL() for handlers. 2020-05-12 17:15:33 +02:00
livepatch
mei samples: mei: build sample program for target architecture 2020-05-17 18:52:02 +09:00
mic/mpssd
pidfd samples: pidfd: build sample program for target architecture 2020-05-17 18:52:02 +09:00
pktgen
qmi
rpmsg
seccomp samples: seccomp: build sample programs for target architecture 2020-05-17 18:52:01 +09:00
timers samples: timers: use 'userprogs' syntax 2020-05-17 18:52:02 +09:00
trace_events
trace_printk
uhid samples: uhid: build sample program for target architecture 2020-05-17 18:52:01 +09:00
v4l
vfio-mdev
vfs Kbuild updates for v5.8 2020-06-06 12:00:25 -07:00
watch_queue samples: watch_queue: build sample program for target architecture 2020-06-22 01:56:09 +09:00
watchdog samples: watchdog: use 'userprogs' syntax 2020-05-17 18:52:02 +09:00
Kconfig samples: watch_queue: build sample program for target architecture 2020-06-22 01:56:09 +09:00
Makefile Kbuild updates for v5.8 (2nd) 2020-06-13 13:29:16 -07:00