kbuild: Use targets := to tell kbuild about additional targets
authorSam Ravnborg <sam@mars.ravnborg.org>
Sun, 9 Mar 2003 23:47:49 +0000 (00:47 +0100)
committerSam Ravnborg <sam@mars.ravnborg.org>
Sun, 9 Mar 2003 23:47:49 +0000 (00:47 +0100)
commit0be6a9a0863c2c1a99f0747c6283450b699dcaf9
tree724a6ae04bfd7ed1ac6682d26986c123736b1c46
parent196114799714b39ee7f4fddef379dfe0ad6886f5
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
20 files changed:
arch/alpha/boot/Makefile
arch/arm/boot/Makefile
arch/arm/boot/compressed/Makefile
arch/i386/boot/Makefile
arch/i386/boot/compressed/Makefile
arch/ia64/boot/Makefile
arch/ppc/boot/images/Makefile
arch/ppc64/boot/Makefile
arch/s390/boot/Makefile
arch/s390x/boot/Makefile
arch/sparc/boot/Makefile
arch/sparc64/boot/Makefile
arch/um/sys-i386/util/Makefile
arch/um/util/Makefile
arch/x86_64/boot/Makefile
arch/x86_64/boot/compressed/Makefile
scripts/Makefile
scripts/Makefile.clean
scripts/Makefile.lib
usr/Makefile