summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/prctl
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Documentation/prctl')
-rw-r--r--kernel/Documentation/prctl/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/Documentation/prctl/Makefile b/kernel/Documentation/prctl/Makefile
index 2948b7b12..44de3080c 100644
--- a/kernel/Documentation/prctl/Makefile
+++ b/kernel/Documentation/prctl/Makefile
@@ -1,3 +1,4 @@
+ifndef CROSS_COMPILE
# 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
@@ -6,3 +7,4 @@ 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
+endif