diff options
author | Sam Ravnborg <sam@neptun.(none)> | 2007-09-30 14:34:36 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@neptun.(none)> | 2007-10-12 15:20:32 -0400 |
commit | 836caba77c290a62743fa9c5a69ed9605ec9cb28 (patch) | |
tree | 09ac98064c9effcb9ea3f4bfdcd89b4d918ff242 /scripts/Makefile.build | |
parent | 5e54d5e5fbc1f7237930af8466caf3cefd13b9bd (diff) |
kbuild: kill backward compatibility checks
These checks has been present for several kernel releases (> 5).
So lets just get rid of them.
With this we no longer check for use of:
EXTRA_TARGETS, O_TARGET, L_TARGET, list-multi, export-objs
There were three remaining in-tree users of O_TARGET in some
unmaintained sh64 code - mail sent to the maintainer + list.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/Makefile.build')
-rw-r--r-- | scripts/Makefile.build | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index e74a837690e5..8ef1d61ec228 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build | |||
@@ -55,31 +55,6 @@ _dummy := $(shell [ -d $(obj) ] || mkdir -p $(obj)) | |||
55 | _dummy := $(foreach d,$(obj-dirs), $(shell [ -d $(d) ] || mkdir -p $(d))) | 55 | _dummy := $(foreach d,$(obj-dirs), $(shell [ -d $(d) ] || mkdir -p $(d))) |
56 | endif | 56 | endif |
57 | 57 | ||
58 | |||
59 | ifdef EXTRA_TARGETS | ||
60 | $(warning kbuild: $(obj)/Makefile - Usage of EXTRA_TARGETS is obsolete in 2.6. Please fix!) | ||
61 | endif | ||
62 | |||
63 | ifdef build-targets | ||
64 | $(warning kbuild: $(obj)/Makefile - Usage of build-targets is obsolete in 2.6. Please fix!) | ||
65 | endif | ||
66 | |||
67 | ifdef export-objs | ||
68 | $(warning kbuild: $(obj)/Makefile - Usage of export-objs is obsolete in 2.6. Please fix!) | ||
69 | endif | ||
70 | |||
71 | ifdef O_TARGET | ||
72 | $(warning kbuild: $(obj)/Makefile - Usage of O_TARGET := $(O_TARGET) is obsolete in 2.6. Please fix!) | ||
73 | endif | ||
74 | |||
75 | ifdef L_TARGET | ||
76 | $(error kbuild: $(obj)/Makefile - Use of L_TARGET is replaced by lib-y in 2.6. Please fix!) | ||
77 | endif | ||
78 | |||
79 | ifdef list-multi | ||
80 | $(warning kbuild: $(obj)/Makefile - list-multi := $(list-multi) is obsolete in 2.6. Please fix!) | ||
81 | endif | ||
82 | |||
83 | ifndef obj | 58 | ifndef obj |
84 | $(warning kbuild: Makefile.build is included improperly) | 59 | $(warning kbuild: Makefile.build is included improperly) |
85 | endif | 60 | endif |