Skip to content

Commit

Permalink
samples/seccomp: Fix hostprogs variable
Browse files Browse the repository at this point in the history
In f6041c1, a separate SAMPLES_SECCOMP option was added. This changed
hostprogs-y to hostprogs-m, so adjust it.

Signed-off-by: Ricky Zhou <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
  • Loading branch information
rickyz authored and kees committed Nov 1, 2016
1 parent 285fdfc commit 0af04ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/seccomp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0af04ba

Please sign in to comment.