]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - samples/Makefile
Merge branch 'stable/for-linus-5.2' of git://git.kernel.org/pub/scm/linux/kernel...
[thirdparty/kernel/stable.git] / samples / Makefile
index 8e096e0d45d1c6a38fcb6c7fe71efc8232fdb658..debf8925f06f4539722f269529c32714ec2c5394 100644 (file)
@@ -1,6 +1,22 @@
+# SPDX-License-Identifier: GPL-2.0
 # Makefile for Linux samples code
 
-obj-y                  += kobject/ kprobes/ trace_events/ livepatch/ \
-                          hw_breakpoint/ kfifo/ kdb/ hidraw/ rpmsg/ seccomp/ \
-                          configfs/ connector/ v4l/ trace_printk/ \
-                          vfio-mdev/ vfs/ qmi/ binderfs/ pidfd/
+obj-$(CONFIG_SAMPLE_ANDROID_BINDERFS)  += binderfs/
+obj-$(CONFIG_SAMPLE_CONFIGFS)          += configfs/
+obj-$(CONFIG_SAMPLE_CONNECTOR)         += connector/
+subdir-y                               += hidraw
+obj-$(CONFIG_SAMPLE_HW_BREAKPOINT)     += hw_breakpoint/
+obj-$(CONFIG_SAMPLE_KDB)               += kdb/
+obj-$(CONFIG_SAMPLE_KFIFO)             += kfifo/
+obj-$(CONFIG_SAMPLE_KOBJECT)           += kobject/
+obj-$(CONFIG_SAMPLE_KPROBES)           += kprobes/
+obj-$(CONFIG_SAMPLE_LIVEPATCH)         += livepatch/
+subdir-y                               += pidfd
+obj-$(CONFIG_SAMPLE_QMI_CLIENT)                += qmi/
+obj-$(CONFIG_SAMPLE_RPMSG_CLIENT)      += rpmsg/
+subdir-$(CONFIG_SAMPLE_SECCOMP)                += seccomp
+obj-$(CONFIG_SAMPLE_TRACE_EVENTS)      += trace_events/
+obj-$(CONFIG_SAMPLE_TRACE_PRINTK)      += trace_printk/
+obj-$(CONFIG_VIDEO_PCI_SKELETON)       += v4l/
+obj-y                                  += vfio-mdev/
+subdir-$(CONFIG_SAMPLE_VFS)            += vfs