kbuild: remove deprecated 'always' and 'hostprogs-y/m'
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 21 Feb 2021 16:53:56 +0000 (01:53 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 24 Feb 2021 06:12:06 +0000 (15:12 +0900)
These have no more user in the upstream code. The use of them has been
warned for a while for external modules. The migration is finished.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/Makefile.build
scripts/Makefile.clean
scripts/Makefile.lib

index 4c058f1..3a07c46 100644 (file)
@@ -15,7 +15,6 @@ obj-y :=
 obj-m :=
 lib-y :=
 lib-m :=
-always :=
 always-y :=
 always-m :=
 targets :=
index d9e0cea..22a8172 100644 (file)
@@ -34,9 +34,6 @@ __clean-files := \
        $(hostprogs-always-y) $(hostprogs-always-m) $(hostprogs-always-) \
        $(userprogs-always-y) $(userprogs-always-m) $(userprogs-always-)
 
-# deprecated
-__clean-files  += $(always) $(hostprogs-y) $(hostprogs-m) $(hostprogs-)
-
 __clean-files   := $(filter-out $(no-clean-files), $(__clean-files))
 
 # clean-files is given relative to the current directory, unless it
index 6f248ff..d5ec386 100644 (file)
@@ -4,18 +4,6 @@ asflags-y  += $(EXTRA_AFLAGS)
 ccflags-y  += $(EXTRA_CFLAGS)
 cppflags-y += $(EXTRA_CPPFLAGS)
 ldflags-y  += $(EXTRA_LDFLAGS)
-ifneq ($(always),)
-$(warning 'always' is deprecated. Please use 'always-y' instead)
-always-y   += $(always)
-endif
-ifneq ($(hostprogs-y),)
-$(warning 'hostprogs-y' is deprecated. Please use 'hostprogs' instead)
-hostprogs  += $(hostprogs-y)
-endif
-ifneq ($(hostprogs-m),)
-$(warning 'hostprogs-m' is deprecated. Please use 'hostprogs' instead)
-hostprogs  += $(hostprogs-m)
-endif
 
 # flags that take effect in current and sub directories
 KBUILD_AFLAGS += $(subdir-asflags-y)