kbuild: remove deprecated host-progs variable
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 9 Aug 2018 05:19:31 +0000 (14:19 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 9 Aug 2018 12:51:17 +0000 (21:51 +0900)
The host-progs has been kept as an alias of hostprogs-y for a long time
(at least since the beginning of Git era), with the clear prompt:
  Usage of host-progs is deprecated. Please replace with hostprogs-y!

Enough time for the migration has passed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/boot/Makefile
scripts/Makefile.build
scripts/Makefile.clean

index 53e4178711e6952a4709ba01e6db8534489c9213..dc9e0ba7122cad1e982ac33eb5c9d60d9a1db48a 100644 (file)
@@ -30,8 +30,7 @@ Image: boot-elf
 zImage: boot-redboot
 uImage: $(obj)/uImage
 
-boot-elf boot-redboot: $(addprefix $(obj)/,$(subdir-y)) \
-                      $(addprefix $(obj)/,$(host-progs))
+boot-elf boot-redboot: $(addprefix $(obj)/,$(subdir-y))
        $(Q)$(MAKE) $(build)=$(obj)/$@ $(MAKECMDGOALS)
 
 OBJCOPYFLAGS = --strip-all -R .comment -R .note.gnu.build-id -O binary
index 514ed63ff5710789fda060eb06cf10813a4124ad..1adaac4e10d8f78ae571ba115729d51727db8fd1 100644 (file)
@@ -53,13 +53,6 @@ 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 unless needed
 ifneq ($(hostprogs-y)$(hostprogs-m)$(hostlibs-y)$(hostlibs-m)$(hostcxxlibs-y)$(hostcxxlibs-m),)
 include scripts/Makefile.host
index 17ef94c635cd5dcfd23c355576a351730076dd73..0b80e3207b20d8d6e5e5ae45e2ed923285d4a5d7 100644 (file)
@@ -38,7 +38,6 @@ subdir-ymn    := $(addprefix $(obj)/,$(subdir-ymn))
 
 __clean-files  := $(extra-y) $(extra-m) $(extra-)       \
                   $(always) $(targets) $(clean-files)   \
-                  $(host-progs)                         \
                   $(hostprogs-y) $(hostprogs-m) $(hostprogs-) \
                   $(hostlibs-y) $(hostlibs-m) $(hostlibs-) \
                   $(hostcxxlibs-y) $(hostcxxlibs-m)