statx: Add a system call to make enhanced file info available
[sfrench/cifs-2.6.git] / samples / statx / Makefile
diff --git a/samples/statx/Makefile b/samples/statx/Makefile
new file mode 100644 (file)
index 0000000..1f80a3d
--- /dev/null
@@ -0,0 +1,10 @@
+# kbuild trick to avoid linker error. Can be omitted if a module is built.
+obj- := dummy.o
+
+# 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