From 0be6a9a0863c2c1a99f0747c6283450b699dcaf9 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Mon, 10 Mar 2003 00:47:49 +0100 Subject: 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 --- usr/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/Makefile') diff --git a/usr/Makefile b/usr/Makefile index f50927e58c27..58a915ee7fe5 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 -- cgit v1.2.3