History

kbuild: remove deprecated 'always' and 'hostprogs-y/m'

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.

Masahiro Yamada committed 5 years ago

Commit b97652b1 parent bcf637f3 files · +0 −16Browse files

Showing the changes to scripts (3 of 3 files). Show all

Unified · Split

3 files
  1. scripts/Makefile.build +0 −1
  2. scripts/Makefile.clean +0 −3
  3. scripts/Makefile.lib +0 −12
scripts/Makefile.build+0−1
@@ -15,7 +15,6 @@ obj-y := · 14 unmodified lines
15obj-m :=15obj-m :=
16lib-y :=16lib-y :=
17lib-m :=17lib-m :=
18always :=
19always-y :=18always-y :=
20always-m :=19always-m :=
21targets :=20targets :=
scripts/Makefile.clean+0−3
@@ -34,9 +34,6 @@ __clean-files := \ · 33 unmodified lines
34 $(hostprogs-always-y) $(hostprogs-always-m) $(hostprogs-always-) \34 $(hostprogs-always-y) $(hostprogs-always-m) $(hostprogs-always-) \
35 $(userprogs-always-y) $(userprogs-always-m) $(userprogs-always-)35 $(userprogs-always-y) $(userprogs-always-m) $(userprogs-always-)
36 36
37# deprecated
38__clean-files += $(always) $(hostprogs-y) $(hostprogs-m) $(hostprogs-)
39
40__clean-files := $(filter-out $(no-clean-files), $(__clean-files))37__clean-files := $(filter-out $(no-clean-files), $(__clean-files))
41 38
42# clean-files is given relative to the current directory, unless it39# clean-files is given relative to the current directory, unless it
scripts/Makefile.lib+0−12
@@ -4,18 +4,6 @@ asflags-y += $(EXTRA_AFLAGS) · 3 unmodified lines
4ccflags-y += $(EXTRA_CFLAGS)4ccflags-y += $(EXTRA_CFLAGS)
5cppflags-y += $(EXTRA_CPPFLAGS)5cppflags-y += $(EXTRA_CPPFLAGS)
6ldflags-y += $(EXTRA_LDFLAGS)6ldflags-y += $(EXTRA_LDFLAGS)
7ifneq ($(always),)
8$(warning 'always' is deprecated. Please use 'always-y' instead)
9always-y += $(always)
10endif
11ifneq ($(hostprogs-y),)
12$(warning 'hostprogs-y' is deprecated. Please use 'hostprogs' instead)
13hostprogs += $(hostprogs-y)
14endif
15ifneq ($(hostprogs-m),)
16$(warning 'hostprogs-m' is deprecated. Please use 'hostprogs' instead)
17hostprogs += $(hostprogs-m)
18endif
19 7
20# flags that take effect in current and sub directories8# flags that take effect in current and sub directories
21KBUILD_AFLAGS += $(subdir-asflags-y)9KBUILD_AFLAGS += $(subdir-asflags-y)