xref: /linux/samples/Makefile (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
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_TRACE_ARRAY)	+= ftrace/
28subdir-$(CONFIG_SAMPLE_UHID)		+= uhid
29obj-$(CONFIG_VIDEO_PCI_SKELETON)	+= v4l/
30obj-y					+= vfio-mdev/
31subdir-$(CONFIG_SAMPLE_VFS)		+= vfs
32obj-$(CONFIG_SAMPLE_INTEL_MEI)		+= mei/
33subdir-$(CONFIG_SAMPLE_WATCHDOG)	+= watchdog
34subdir-$(CONFIG_SAMPLE_WATCH_QUEUE)	+= watch_queue
35obj-$(CONFIG_DEBUG_KMEMLEAK_TEST)	+= kmemleak/
36obj-$(CONFIG_SAMPLE_CORESIGHT_SYSCFG)	+= coresight/
37obj-$(CONFIG_SAMPLE_FPROBE)		+= fprobe/
38