diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-08-16 01:54:22 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2004-08-16 01:54:22 +0200 |
commit | a82bae6ec6eb34d0b25eb5d26fcf300d2a7fd27f (patch) | |
tree | 6aa8b5502d3e0e4f2813f848402819b11101e9ce /scripts | |
parent | 49105c09277b20aa6a250a9d66df01869b1489d9 (diff) | |
download | history-a82bae6ec6eb34d0b25eb5d26fcf300d2a7fd27f.tar.gz |
kbuild: Allow external modules to use host-progs with no warning
Only warn if $(host-progs) and $(hostptogs-y) are not equal.
This allows external modules to use:
hostprogs-y := file ...
host-progs := $(hostprogs-y)
This is backwards compatible and will not warn.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 9312926161fe70..c48adfe03a7311 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -15,9 +15,11 @@ include $(obj)/Makefile include scripts/Makefile.lib ifdef host-progs +ifneq ($(hostprogs-y),$(host-progs)) $(warning kbuild: $(obj)/Makefile - Usage of host-progs is deprecated. Please replace with hostprogs-y!) hostprogs-y += $(host-progs) endif +endif # Do not include host rules unles needed ifneq ($(hostprogs-y)$(hostprogs-m),) |