xref: /openbmc/linux/samples/Makefile (revision 6b342707)
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_PRINTK)	+= trace_printk/
24obj-$(CONFIG_SAMPLE_FTRACE_DIRECT)	+= ftrace/
25obj-$(CONFIG_SAMPLE_FTRACE_DIRECT_MULTI) += ftrace/
26obj-$(CONFIG_SAMPLE_TRACE_ARRAY)	+= ftrace/
27subdir-$(CONFIG_SAMPLE_UHID)		+= uhid
28obj-$(CONFIG_VIDEO_PCI_SKELETON)	+= v4l/
29obj-y					+= vfio-mdev/
30subdir-$(CONFIG_SAMPLE_VFS)		+= vfs
31obj-$(CONFIG_SAMPLE_INTEL_MEI)		+= mei/
32subdir-$(CONFIG_SAMPLE_WATCHDOG)	+= watchdog
33subdir-$(CONFIG_SAMPLE_WATCH_QUEUE)	+= watch_queue
34obj-$(CONFIG_DEBUG_KMEMLEAK_TEST)	+= kmemleak/
35obj-$(CONFIG_SAMPLE_CORESIGHT_SYSCFG)	+= coresight/
36