1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for Linux samples code
4 subdir-$(CONFIG_SAMPLE_AUXDISPLAY) += auxdisplay
5 subdir-$(CONFIG_SAMPLE_ANDROID_BINDERFS) += binderfs
6 obj-$(CONFIG_SAMPLE_CONFIGFS) += configfs/
7 obj-$(CONFIG_SAMPLE_CONNECTOR) += connector/
8 obj-$(CONFIG_SAMPLE_FANOTIFY_ERROR) += fanotify/
9 subdir-$(CONFIG_SAMPLE_HIDRAW) += hidraw
10 obj-$(CONFIG_SAMPLE_HW_BREAKPOINT) += hw_breakpoint/
11 obj-$(CONFIG_SAMPLE_KDB) += kdb/
12 obj-$(CONFIG_SAMPLE_KFIFO) += kfifo/
13 obj-$(CONFIG_SAMPLE_KOBJECT) += kobject/
14 obj-$(CONFIG_SAMPLE_KPROBES) += kprobes/
15 subdir-$(CONFIG_SAMPLE_LANDLOCK) += landlock
16 obj-$(CONFIG_SAMPLE_LIVEPATCH) += livepatch/
17 subdir-$(CONFIG_SAMPLE_PIDFD) += pidfd
18 obj-$(CONFIG_SAMPLE_QMI_CLIENT) += qmi/
19 obj-$(CONFIG_SAMPLE_RPMSG_CLIENT) += rpmsg/
20 subdir-$(CONFIG_SAMPLE_SECCOMP) += seccomp
21 subdir-$(CONFIG_SAMPLE_TIMER) += timers
22 obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace_events/
23 obj-$(CONFIG_SAMPLE_TRACE_CUSTOM_EVENTS) += trace_events/
24 obj-$(CONFIG_SAMPLE_TRACE_PRINTK) += trace_printk/
25 obj-$(CONFIG_SAMPLE_FTRACE_DIRECT) += ftrace/
26 obj-$(CONFIG_SAMPLE_FTRACE_DIRECT_MULTI) += ftrace/
27 obj-$(CONFIG_SAMPLE_TRACE_ARRAY) += ftrace/
28 subdir-$(CONFIG_SAMPLE_UHID) += uhid
29 obj-$(CONFIG_VIDEO_PCI_SKELETON) += v4l/
31 subdir-$(CONFIG_SAMPLE_VFS) += vfs
32 obj-$(CONFIG_SAMPLE_INTEL_MEI) += mei/
33 subdir-$(CONFIG_SAMPLE_WATCHDOG) += watchdog
34 subdir-$(CONFIG_SAMPLE_WATCH_QUEUE) += watch_queue
35 obj-$(CONFIG_DEBUG_KMEMLEAK_TEST) += kmemleak/
36 obj-$(CONFIG_SAMPLE_CORESIGHT_SYSCFG) += coresight/
37 obj-$(CONFIG_SAMPLE_FPROBE) += fprobe/
38 obj-$(CONFIG_SAMPLES_RUST) += rust/