summaryrefslogtreecommitdiff
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2003-03-10 00:47:49 +0100
committerSam Ravnborg <sam@mars.ravnborg.org>2003-03-10 00:47:49 +0100
commit0be6a9a0863c2c1a99f0747c6283450b699dcaf9 (patch)
tree724a6ae04bfd7ed1ac6682d26986c123736b1c46 /scripts/Makefile
parent196114799714b39ee7f4fddef379dfe0ad6886f5 (diff)
kbuild: Use targets := to tell kbuild about additional targets
EXTRA_TARGETS served several purposes before: 1) List targets to be build (built-in only) 2) Inform kbuild of targets within the makefile Mixing the above are causing confusion, so for now on targets := is used to inform kbuild about targets in a Makefile - that it otherwise did not know about. kbuild uses the "targets :=" information to: a) read the dependency file .target.cmd b) delete the target file during make clean
Diffstat (limited to 'scripts/Makefile')
-rw-r--r--scripts/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Makefile b/scripts/Makefile
index 3b00318d0bc6..cf1ba16eb69c 100644
--- a/scripts/Makefile
+++ b/scripts/Makefile
@@ -32,4 +32,4 @@ quiet_cmd_elfconfig = MKELF $@
$(obj)/elfconfig.h: $(obj)/empty.o $(obj)/mk_elfconfig FORCE
$(call if_changed,elfconfig)
-targets += $(obj)/elfconfig.h
+targets += elfconfig.h