diff options
author | Ricky Zhou <rickyz@chromium.org> | 2016-10-13 10:29:14 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-11-01 08:57:42 -0700 |
commit | 0af04ba5640dd6318f117a9fcbfde886516a0220 (patch) | |
tree | fa2afd6f89ae11f9cd8cdb99c0224b80b5340eeb /samples | |
parent | 285fdfc5d9959a2104021b6bbdec39b8c26e99ef (diff) | |
download | op-kernel-dev-0af04ba5640dd6318f117a9fcbfde886516a0220.zip op-kernel-dev-0af04ba5640dd6318f117a9fcbfde886516a0220.tar.gz |
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')
-rw-r--r-- | samples/seccomp/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/seccomp/Makefile b/samples/seccomp/Makefile index ae7ff6f..bf7cc6b 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 |