aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--samples/Makefile24
-rw-r--r--samples/seccomp/Makefile2
-rw-r--r--samples/vfs/Makefile2
3 files changed, 22 insertions, 6 deletions
diff --git a/samples/Makefile b/samples/Makefile
index 8e096e0d45d1..debf8925f06f 100644
--- a/samples/Makefile
+++ b/samples/Makefile
@@ -1,6 +1,22 @@
1# SPDX-License-Identifier: GPL-2.0
1# Makefile for Linux samples code 2# Makefile for Linux samples code
2 3
3obj-y += kobject/ kprobes/ trace_events/ livepatch/ \ 4obj-$(CONFIG_SAMPLE_ANDROID_BINDERFS) += binderfs/
4 hw_breakpoint/ kfifo/ kdb/ hidraw/ rpmsg/ seccomp/ \ 5obj-$(CONFIG_SAMPLE_CONFIGFS) += configfs/
5 configfs/ connector/ v4l/ trace_printk/ \ 6obj-$(CONFIG_SAMPLE_CONNECTOR) += connector/
6 vfio-mdev/ vfs/ qmi/ binderfs/ pidfd/ 7subdir-y += hidraw
8obj-$(CONFIG_SAMPLE_HW_BREAKPOINT) += hw_breakpoint/
9obj-$(CONFIG_SAMPLE_KDB) += kdb/
10obj-$(CONFIG_SAMPLE_KFIFO) += kfifo/
11obj-$(CONFIG_SAMPLE_KOBJECT) += kobject/
12obj-$(CONFIG_SAMPLE_KPROBES) += kprobes/
13obj-$(CONFIG_SAMPLE_LIVEPATCH) += livepatch/
14subdir-y += pidfd
15obj-$(CONFIG_SAMPLE_QMI_CLIENT) += qmi/
16obj-$(CONFIG_SAMPLE_RPMSG_CLIENT) += rpmsg/
17subdir-$(CONFIG_SAMPLE_SECCOMP) += seccomp
18obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace_events/
19obj-$(CONFIG_SAMPLE_TRACE_PRINTK) += trace_printk/
20obj-$(CONFIG_VIDEO_PCI_SKELETON) += v4l/
21obj-y += vfio-mdev/
22subdir-$(CONFIG_SAMPLE_VFS) += vfs
diff --git a/samples/seccomp/Makefile b/samples/seccomp/Makefile
index 00e0b5e90bd0..009775b52538 100644
--- a/samples/seccomp/Makefile
+++ b/samples/seccomp/Makefile
@@ -1,6 +1,6 @@
1# SPDX-License-Identifier: GPL-2.0 1# SPDX-License-Identifier: GPL-2.0
2ifndef CROSS_COMPILE 2ifndef CROSS_COMPILE
3hostprogs-$(CONFIG_SAMPLE_SECCOMP) := bpf-fancy dropper bpf-direct user-trap 3hostprogs-y := bpf-fancy dropper bpf-direct user-trap
4 4
5HOSTCFLAGS_bpf-fancy.o += -I$(objtree)/usr/include 5HOSTCFLAGS_bpf-fancy.o += -I$(objtree)/usr/include
6HOSTCFLAGS_bpf-fancy.o += -idirafter $(objtree)/include 6HOSTCFLAGS_bpf-fancy.o += -idirafter $(objtree)/include
diff --git a/samples/vfs/Makefile b/samples/vfs/Makefile
index 4ac9690fb3c4..a3e4ffd4c773 100644
--- a/samples/vfs/Makefile
+++ b/samples/vfs/Makefile
@@ -1,5 +1,5 @@
1# List of programs to build 1# List of programs to build
2hostprogs-$(CONFIG_SAMPLE_VFS) := \ 2hostprogs-y := \
3 test-fsmount \ 3 test-fsmount \
4 test-statx 4 test-statx
5 5