kbuild: introduce hostprogs-always-y and userprogs-always-y
[linux-block.git] / samples / watch_queue / Makefile
index 792b22f593cfa7379511dc1c4306ea469b1b9f9b..c0db3a6bc524d6347e5e125a89fbd040bf6682a6 100644 (file)
@@ -1,5 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0-only
-userprogs := watch_test
-always-y := $(userprogs)
+userprogs-always-y += watch_test
 
 userccflags += -I usr/include