diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2003-03-10 00:47:49 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2003-03-10 00:47:49 +0100 |
commit | 0be6a9a0863c2c1a99f0747c6283450b699dcaf9 (patch) | |
tree | 724a6ae04bfd7ed1ac6682d26986c123736b1c46 /usr | |
parent | 196114799714b39ee7f4fddef379dfe0ad6886f5 (diff) | |
download | history-0be6a9a0863c2c1a99f0747c6283450b699dcaf9.tar.gz |
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 'usr')
-rw-r--r-- | usr/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/Makefile b/usr/Makefile index f50927e58c279e..58a915ee7fe551 100644 --- a/usr/Makefile +++ b/usr/Makefile @@ -25,10 +25,10 @@ quiet_cmd_cpio = CPIO $@ $(obj)/initramfs_data.cpio: $(obj)/gen_init_cpio $(initramfs-y) FORCE $(call if_changed,cpio) -targets += $(obj)/initramfs_data.cpio +targets += initramfs_data.cpio $(obj)/initramfs_data.cpio.gz: $(obj)/initramfs_data.cpio FORCE $(call if_changed,gzip) -targets += $(obj)/initramfs_data.cpio.gz +targets += initramfs_data.cpio.gz |