diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-08-11 01:56:40 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-08-11 01:56:40 +0200 |
commit | 3fe519b21b33a395c2e3b01ee70289a0899014ee (patch) | |
tree | 984d81221053c6db1a1a7a841a6e72ad752bceff /scripts | |
parent | ff08974850158f4c4d815840f7c3e82a4aa12c34 (diff) | |
download | history-3fe519b21b33a395c2e3b01ee70289a0899014ee.tar.gz |
kbuild: Fix hostprogs-y
Allow the same target to be specified more than once without causing a warnign from make.
The same target may be specified twice when using the following pattern:
hostprogs-$(CONFIG_FOO) += program
hostprogs-$(CONFIG_BAR) += program
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.host | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile.host b/scripts/Makefile.host index 04a79033fbcea5..0a5d8cafa135b7 100644 --- a/scripts/Makefile.host +++ b/scripts/Makefile.host @@ -30,7 +30,7 @@ # libkconfig.so as the executable conf. # Note: Shared libraries consisting of C++ files are not supported -__hostprogs := $(hostprogs-y)$(hostprogs-m) +__hostprogs := $(sort $(hostprogs-y)$(hostprogs-m)) # hostprogs-y := tools/build may have been specified. Retreive directory obj-dirs += $(foreach f,$(__hostprogs), $(if $(dir $(f)),$(dir $(f)))) |