Commit 0af04ba5 authored by Ricky Zhou's avatar Ricky Zhou Committed by Kees Cook

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: default avatarRicky Zhou <rickyz@chromium.org>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent 285fdfc5
...@@ -36,13 +36,13 @@ HOSTLOADLIBES_bpf-direct += $(MFLAG) ...@@ -36,13 +36,13 @@ HOSTLOADLIBES_bpf-direct += $(MFLAG)
HOSTLOADLIBES_bpf-fancy += $(MFLAG) HOSTLOADLIBES_bpf-fancy += $(MFLAG)
HOSTLOADLIBES_dropper += $(MFLAG) HOSTLOADLIBES_dropper += $(MFLAG)
endif endif
always := $(hostprogs-y) always := $(hostprogs-m)
else else
# MIPS system calls are defined based on the -mabi that is passed # MIPS system calls are defined based on the -mabi that is passed
# to the toolchain which may or may not be a valid option # to the toolchain which may or may not be a valid option
# for the host toolchain. So disable tests if target architecture # for the host toolchain. So disable tests if target architecture
# is MIPS but the host isn't. # is MIPS but the host isn't.
ifndef CONFIG_MIPS ifndef CONFIG_MIPS
always := $(hostprogs-y) always := $(hostprogs-m)
endif endif
endif endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment