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

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
1515 obj-m :=
1616 lib-y :=
1717 lib-m :=
18−always :=
1918 always-y :=
2019 always-m :=
2120 targets :=
scripts/Makefile.clean+0−3
@@ -34,9 +34,6 @@ __clean-files := \ · 33 unmodified lines
3434 $(hostprogs-always-y) $(hostprogs-always-m) $(hostprogs-always-) \
3535 $(userprogs-always-y) $(userprogs-always-m) $(userprogs-always-)
3636
37−# deprecated
38−__clean-files += $(always) $(hostprogs-y) $(hostprogs-m) $(hostprogs-)
39−
4037 __clean-files := $(filter-out $(no-clean-files), $(__clean-files))
4138
4239 # 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
44 ccflags-y += $(EXTRA_CFLAGS)
55 cppflags-y += $(EXTRA_CPPFLAGS)
66 ldflags-y += $(EXTRA_LDFLAGS)
7−ifneq ($(always),)
8−$(warning 'always' is deprecated. Please use 'always-y' instead)
9−always-y += $(always)
10−endif
11−ifneq ($(hostprogs-y),)
12−$(warning 'hostprogs-y' is deprecated. Please use 'hostprogs' instead)
13−hostprogs += $(hostprogs-y)
14−endif
15−ifneq ($(hostprogs-m),)
16−$(warning 'hostprogs-m' is deprecated. Please use 'hostprogs' instead)
17−hostprogs += $(hostprogs-m)
18−endif
197
208 # flags that take effect in current and sub directories
219 KBUILD_AFLAGS += $(subdir-asflags-y)