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