diff options
author | Ricky Zhou <rickyz@chromium.org> | 2016-10-13 13:29:14 -0400 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-11-01 11:57:42 -0400 |
commit | 0af04ba5640dd6318f117a9fcbfde886516a0220 (patch) | |
tree | fa2afd6f89ae11f9cd8cdb99c0224b80b5340eeb /samples/seccomp | |
parent | 285fdfc5d9959a2104021b6bbdec39b8c26e99ef (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/Makefile | 4 |
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) | |||
36 | HOSTLOADLIBES_bpf-fancy += $(MFLAG) | 36 | HOSTLOADLIBES_bpf-fancy += $(MFLAG) |
37 | HOSTLOADLIBES_dropper += $(MFLAG) | 37 | HOSTLOADLIBES_dropper += $(MFLAG) |
38 | endif | 38 | endif |
39 | always := $(hostprogs-y) | 39 | always := $(hostprogs-m) |
40 | else | 40 | else |
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. |
45 | ifndef CONFIG_MIPS | 45 | ifndef CONFIG_MIPS |
46 | always := $(hostprogs-y) | 46 | always := $(hostprogs-m) |
47 | endif | 47 | endif |
48 | endif | 48 | endif |