]> git.hungrycats.org Git - linux/commitdiff
kbuild: Warn on obsolete export-objs use
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Sat, 8 Feb 2003 08:00:46 +0000 (02:00 -0600)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Sat, 8 Feb 2003 08:00:46 +0000 (02:00 -0600)
Setting export-objs is not necessary anymore, so warn on encountering it
to prevent it from creeping back in ;)

Also, make the error when we find someone still using O_TARGET non-fatal,
so that people sharing stuff between 2.4 and 2.5 don't have more hassle
than necessary.

scripts/Makefile.build

index e91e06970d2345f6dc78a26876587290af550ac6..9628a6416d252b881d1f1e639db246eb9e943302 100644 (file)
@@ -15,8 +15,12 @@ include $(obj)/Makefile
 
 include scripts/Makefile.lib
 
+ifdef export-objs
+$(warning kbuild: $(obj)/Makefile - Usage of export-objs is obsolete in 2.5. Please fix!)
+endif
+
 ifdef O_TARGET
-$(error kbuild: $(obj)/Makefile - Usage of O_TARGET := $(O_TARGET) is obsolete in 2.5. Please fix!)
+$(warning kbuild: $(obj)/Makefile - Usage of O_TARGET := $(O_TARGET) is obsolete in 2.5. Please fix!)
 endif
 
 ifdef L_TARGET