summaryrefslogtreecommitdiff
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2002-11-22 23:15:42 +0100
committerSam Ravnborg <sam@mars.ravnborg.org>2002-11-22 23:15:42 +0100
commit80fee71cbb24e2e0f26b284e57d703dd98993133 (patch)
tree70147451e7690ccf89b6d0d862c71da49bc6eb85 /scripts/Makefile.lib
parent996fdfdc65a5adfb6442f899c3a9eeba39c48361 (diff)
kbuild: Introduced build-targets
build-targets is used to list targets that is always built. This allowed misuse of EXTRA_TARGETS to be deleted. built-in.o is now only created for directories defining a obj-* variable, avoiding this for scripts and lxdialog One Makefile needed a dummy obj- statement
Diffstat (limited to 'scripts/Makefile.lib')
-rw-r--r--scripts/Makefile.lib1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index dd074686c2e7..0f8c58e0996c 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -92,6 +92,7 @@ host-cshobjs := $(sort $(foreach m,$(host-cshlib),$($(m:.so=-objs))))
# Add subdir path
EXTRA_TARGETS := $(addprefix $(obj)/,$(EXTRA_TARGETS))
+build-targets := $(addprefix $(obj)/,$(build-targets))
obj-y := $(addprefix $(obj)/,$(obj-y))
obj-m := $(addprefix $(obj)/,$(obj-m))
export-objs := $(addprefix $(obj)/,$(export-objs))