xref: /openbmc/linux/samples/Makefile (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for Linux samples code
3 
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_FTRACE_OPS)		+= ftrace/
28 obj-$(CONFIG_SAMPLE_TRACE_ARRAY)	+= ftrace/
29 subdir-$(CONFIG_SAMPLE_UHID)		+= uhid
30 obj-$(CONFIG_VIDEO_PCI_SKELETON)	+= v4l/
31 obj-y					+= vfio-mdev/
32 subdir-$(CONFIG_SAMPLE_VFS)		+= vfs
33 obj-$(CONFIG_SAMPLE_INTEL_MEI)		+= mei/
34 obj-$(CONFIG_SAMPLE_TPS6594_PFSM)	+= pfsm/
35 subdir-$(CONFIG_SAMPLE_WATCHDOG)	+= watchdog
36 subdir-$(CONFIG_SAMPLE_WATCH_QUEUE)	+= watch_queue
37 obj-$(CONFIG_SAMPLE_KMEMLEAK)		+= kmemleak/
38 obj-$(CONFIG_SAMPLE_CORESIGHT_SYSCFG)	+= coresight/
39 obj-$(CONFIG_SAMPLE_FPROBE)		+= fprobe/
40 obj-$(CONFIG_SAMPLES_RUST)		+= rust/
41