From: Ricky Zhou Date: Thu, 13 Oct 2016 17:29:14 +0000 (-0700) Subject: samples/seccomp: Fix hostprogs variable X-Git-Tag: v4.10-rc1~116^2~37^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0af04ba5640dd6318f117a9fcbfde886516a0220;p=thirdparty%2Fkernel%2Flinux.git 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 Signed-off-by: Kees Cook --- diff --git a/samples/seccomp/Makefile b/samples/seccomp/Makefile index ae7ff6f24f36c..bf7cc6b0dc199 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