kbuild: introduce hostprogs-always-y and userprogs-always-y
[sfrench/cifs-2.6.git] / samples / seccomp / Makefile
index 75916c23e4161bdee68ea27fa7091996d131f273..c85ae0ed8342a4648fa1b1b3c09495b8a7014a7c 100644 (file)
@@ -1,8 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
-userprogs := bpf-fancy dropper bpf-direct user-trap
+userprogs-always-y += bpf-fancy dropper bpf-direct user-trap
 
 bpf-fancy-objs := bpf-fancy.o bpf-helper.o
 
 userccflags += -I usr/include
-
-always-y := $(userprogs)