Skip to content

Commit b97652b

Browse files
committed
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. Signed-off-by: Masahiro Yamada <[email protected]>
1 parent bcf637f commit b97652b

File tree

3 files changed

+0
-16
lines changed

3 files changed

+0
-16
lines changed

scripts/Makefile.build

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ obj-y :=
1515
obj-m :=
1616
lib-y :=
1717
lib-m :=
18-
always :=
1918
always-y :=
2019
always-m :=
2120
targets :=

scripts/Makefile.clean

-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ __clean-files := \
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

-12
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,6 @@ asflags-y += $(EXTRA_AFLAGS)
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)

0 commit comments

Comments
 (0)