summaryrefslogtreecommitdiffstats
path: root/samples/seccomp
diff options
context:
space:
mode:
authorRicky Zhou <rickyz@chromium.org>2016-10-13 13:29:14 -0400
committerKees Cook <keescook@chromium.org>2016-11-01 11:57:42 -0400
commit0af04ba5640dd6318f117a9fcbfde886516a0220 (patch)
treefa2afd6f89ae11f9cd8cdb99c0224b80b5340eeb /samples/seccomp
parent285fdfc5d9959a2104021b6bbdec39b8c26e99ef (diff)
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)
36HOSTLOADLIBES_bpf-fancy += $(MFLAG) 36HOSTLOADLIBES_bpf-fancy += $(MFLAG)
37HOSTLOADLIBES_dropper += $(MFLAG) 37HOSTLOADLIBES_dropper += $(MFLAG)
38endif 38endif
39always := $(hostprogs-y) 39always := $(hostprogs-m)
40else 40else
41# MIPS system calls are defined based on the -mabi that is passed 41# MIPS system calls are defined based on the -mabi that is passed
42# to the toolchain which may or may not be a valid option 42# to the toolchain which may or may not be a valid option
43# for the host toolchain. So disable tests if target architecture 43# for the host toolchain. So disable tests if target architecture
44# is MIPS but the host isn't. 44# is MIPS but the host isn't.
45ifndef CONFIG_MIPS 45ifndef CONFIG_MIPS
46always := $(hostprogs-y) 46always := $(hostprogs-m)
47endif 47endif
48endif 48endif