summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.build
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-08-18 19:55:20 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2020-09-15 10:05:29 +0200
commit7f8c85d69c494e4da0653071e7803fc49ec8555e (patch)
tree94d75840863ac24b2093e739dbfc7010b0489745 /scripts/Makefile.build
parent7a206af1ed1a1bf89e7731ede9ef26667b40132d (diff)
downloadbarebox-7f8c85d69c494e4da0653071e7803fc49ec8555e.tar.gz
barebox-7f8c85d69c494e4da0653071e7803fc49ec8555e.tar.xz
kbuild: introduce hostprogs-always-y and userprogs-always-y
Linux commit faabed295cccc2aba2b67f2e7b309f2892d55004 You can use: hostprogs-always-y += foo as a shorthand for: hostprogs += foo always-y += foo Likewise, userprogs-always-y += foo as a shorthand for: userprogs += foo always-y += foo Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/Makefile.build')
-rw-r--r--scripts/Makefile.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index a3dfe261af..1614a1ac58 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -45,7 +45,7 @@ include $(if $(wildcard $(kbuild-dir)/Kbuild), $(kbuild-dir)/Kbuild, $(kbuild-di
include scripts/Makefile.lib
# Do not include host rules unless needed
-ifneq ($(hostprogs)$(hostprogs-y)$(hostprogs-m),)
+ifneq ($(hostprogs),)
include scripts/Makefile.host
endif