summaryrefslogtreecommitdiffstats
path: root/samples/vfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/vfs/Makefile')
-rw-r--r--samples/vfs/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/samples/vfs/Makefile b/samples/vfs/Makefile
new file mode 100644
index 000000000000..4ac9690fb3c4
--- /dev/null
+++ b/samples/vfs/Makefile
@@ -0,0 +1,10 @@
+# List of programs to build
+hostprogs-$(CONFIG_SAMPLE_VFS) := \
+ test-fsmount \
+ test-statx
+
+# Tell kbuild to always build the programs
+always := $(hostprogs-y)
+
+HOSTCFLAGS_test-fsmount.o += -I$(objtree)/usr/include
+HOSTCFLAGS_test-statx.o += -I$(objtree)/usr/include