summaryrefslogtreecommitdiff
path: root/samples/seccomp
diff options
context:
space:
mode:
authorRicky Zhou <rickyz@chromium.org>2016-10-13 20:29:14 +0300
committerKees Cook <keescook@chromium.org>2016-11-01 18:57:42 +0300
commit0af04ba5640dd6318f117a9fcbfde886516a0220 (patch)
treefa2afd6f89ae11f9cd8cdb99c0224b80b5340eeb /samples/seccomp
parent285fdfc5d9959a2104021b6bbdec39b8c26e99ef (diff)
downloadlinux-0af04ba5640dd6318f117a9fcbfde886516a0220.tar.xz
samples/seccomp: Fix hostprogs variable
In f6041c1d, a separate SAMPLES_SECCOMP option was added. This changed hostprogs-y to hostprogs-m, so adjust it. Signed-off-by: Ricky Zhou <rickyz@chromium.org> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'samples/seccomp')
-rw-r--r--samples/seccomp/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/seccomp/Makefile b/samples/seccomp/Makefile
index ae7ff6f24f36..bf7cc6b0dc19 100644
--- a/samples/seccomp/Makefile
+++ b/samples/seccomp/Makefile
@@ -36,13 +36,13 @@ HOSTLOADLIBES_bpf-direct += $(MFLAG)
HOSTLOADLIBES_bpf-fancy += $(MFLAG)
HOSTLOADLIBES_dropper += $(MFLAG)
endif
-always := $(hostprogs-y)
+always := $(hostprogs-m)
else
# MIPS system calls are defined based on the -mabi that is passed
# to the toolchain which may or may not be a valid option
# for the host toolchain. So disable tests if target architecture
# is MIPS but the host isn't.
ifndef CONFIG_MIPS
-always := $(hostprogs-y)
+always := $(hostprogs-m)
endif
endif