diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-08-18 19:55:20 +0900 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-09-15 10:05:29 +0200 |
commit | 7f8c85d69c494e4da0653071e7803fc49ec8555e (patch) | |
tree | 94d75840863ac24b2093e739dbfc7010b0489745 /scripts/basic | |
parent | 7a206af1ed1a1bf89e7731ede9ef26667b40132d (diff) | |
download | barebox-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/basic')
-rw-r--r-- | scripts/basic/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/basic/Makefile b/scripts/basic/Makefile index 290dd27d28..eeb6a38c55 100644 --- a/scripts/basic/Makefile +++ b/scripts/basic/Makefile @@ -2,5 +2,4 @@ # # fixdep: used to generate dependency information during build process -hostprogs := fixdep -always-y := $(hostprogs) +hostprogs-always-y += fixdep |