xref: /linux/samples/Makefile (revision 55f1b540d893da740a81200450014c45a8103f54)
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_CGROUP) += cgroup
7obj-$(CONFIG_SAMPLE_CONFIGFS)		+= configfs/
8obj-$(CONFIG_SAMPLE_CONNECTOR)		+= connector/
9obj-$(CONFIG_SAMPLE_FANOTIFY_ERROR)	+= fanotify/
10subdir-$(CONFIG_SAMPLE_HIDRAW)		+= hidraw
11obj-$(CONFIG_SAMPLE_HW_BREAKPOINT)	+= hw_breakpoint/
12obj-$(CONFIG_SAMPLE_KDB)		+= kdb/
13obj-$(CONFIG_SAMPLE_KFIFO)		+= kfifo/
14obj-$(CONFIG_SAMPLE_KOBJECT)		+= kobject/
15obj-$(CONFIG_SAMPLE_KPROBES)		+= kprobes/
16subdir-$(CONFIG_SAMPLE_LANDLOCK)	+= landlock
17obj-$(CONFIG_SAMPLE_LIVEPATCH)		+= livepatch/
18subdir-$(CONFIG_SAMPLE_PIDFD)		+= pidfd
19obj-$(CONFIG_SAMPLE_QMI_CLIENT)		+= qmi/
20obj-$(CONFIG_SAMPLE_RPMSG_CLIENT)	+= rpmsg/
21subdir-$(CONFIG_SAMPLE_SECCOMP)		+= seccomp
22subdir-$(CONFIG_SAMPLE_TIMER)		+= timers
23obj-$(CONFIG_SAMPLE_TRACE_EVENTS)	+= trace_events/
24obj-$(CONFIG_SAMPLE_TRACE_CUSTOM_EVENTS) += trace_events/
25obj-$(CONFIG_SAMPLE_TRACE_PRINTK)	+= trace_printk/
26obj-$(CONFIG_SAMPLE_FTRACE_DIRECT)	+= ftrace/
27obj-$(CONFIG_SAMPLE_FTRACE_DIRECT_MULTI) += ftrace/
28obj-$(CONFIG_SAMPLE_FTRACE_OPS)		+= ftrace/
29obj-$(CONFIG_SAMPLE_TRACE_ARRAY)	+= ftrace/
30subdir-$(CONFIG_SAMPLE_UHID)		+= uhid
31obj-$(CONFIG_VIDEO_PCI_SKELETON)	+= v4l/
32obj-y					+= vfio-mdev/
33subdir-$(CONFIG_SAMPLE_VFS)		+= vfs
34obj-$(CONFIG_SAMPLE_INTEL_MEI)		+= mei/
35obj-$(CONFIG_SAMPLE_TPS6594_PFSM)	+= pfsm/
36subdir-$(CONFIG_SAMPLE_WATCHDOG)	+= watchdog
37subdir-$(CONFIG_SAMPLE_WATCH_QUEUE)	+= watch_queue
38obj-$(CONFIG_SAMPLE_KMEMLEAK)		+= kmemleak/
39obj-$(CONFIG_SAMPLE_CORESIGHT_SYSCFG)	+= coresight/
40obj-$(CONFIG_SAMPLE_FPROBE)		+= fprobe/
41obj-$(CONFIG_SAMPLES_RUST)		+= rust/
42