$(host-progs) is thoroughly deprecated in favour of the newer
$(hostprogs-y).
Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]>
---
there's only one other reference to $(host-progs) in the entire
tree:
#
# arch/xtensa/boot/Makefile
#
...
$(bootdir-y): $(addprefix $(obj)/,$(subdir-y)) \
$(addprefix $(obj)/,$(host-progs))
$(Q)$(MAKE) $(build)=$(obj)/$@ $(MAKECMDGOALS)
and since that merely accesses the variable as opposed to setting it,
this change should be fine. in addition, the xtensa maintainer is
aware of this, and he can take care of that in his tree.
scripts/Makefile.build | 7 -------
scripts/Makefile.clean | 1 -
2 files changed, 8 deletions(-)
diff --git a/scripts/Makefile.build b/scripts/Makefile.build
index de9836e..5db4ac7 100644
--- a/scripts/Makefile.build
+++ b/scripts/Makefile.build
@@ -48,13 +48,6 @@ ifeq ($(KBUILD_NOPEDANTIC),)
endif
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),)
include scripts/Makefile.host
diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean
index 2c64710..eb915c1 100644
--- a/scripts/Makefile.clean
+++ b/scripts/Makefile.clean
@@ -42,7 +42,6 @@ subdir-ymn := $(addprefix $(obj)/,$(subdir-ymn))
__clean-files := $(extra-y) $(always) \
$(targets) $(clean-files) \
- $(host-progs) \
$(hostprogs-y) $(hostprogs-m) $(hostprogs-)
# as clean-files is given relative to the current directory, this adds
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA
http://crashcourse.ca
========================================================================
-
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html