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