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