summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/prctl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Documentation/prctl/Makefile')
-rw-r--r--kernel/Documentation/prctl/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/kernel/Documentation/prctl/Makefile b/kernel/Documentation/prctl/Makefile
new file mode 100644
index 000000000..2948b7b12
--- /dev/null
+++ b/kernel/Documentation/prctl/Makefile
@@ -0,0 +1,8 @@
+# List of programs to build
+hostprogs-$(CONFIG_X86) := disable-tsc-ctxt-sw-stress-test disable-tsc-on-off-stress-test disable-tsc-test
+# Tell kbuild to always build the programs
+always := $(hostprogs-y)
+
+HOSTCFLAGS_disable-tsc-ctxt-sw-stress-test.o += -I$(objtree)/usr/include
+HOSTCFLAGS_disable-tsc-on-off-stress-test.o += -I$(objtree)/usr/include
+HOSTCFLAGS_disable-tsc-test.o += -I$(objtree)/usr/include