samples/seccomp: Fix hostprogs variable
[sfrench/cifs-2.6.git] / samples / seccomp / Makefile
index ae7ff6f24f36ca41aa430e63c60768ba1553607f..bf7cc6b0dc199c2d5316734fb38c9ce1e21bdef3 100644 (file)
@@ -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