summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-03-10 22:11:21 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-04-09 11:04:35 +0200
commitd2b07919ac2ffe94053ac6eef6bf4367b86dc139 (patch)
treecb290fde0558e58fcb7f0c9d3dbda4e01416368d
parentf840a2b28cf37c63f529fece9e58bed457e684c7 (diff)
downloadbuildroot-novena-d2b07919ac2ffe94053ac6eef6bf4367b86dc139.tar.gz
buildroot-novena-d2b07919ac2ffe94053ac6eef6bf4367b86dc139.zip
target/common: do not use IMAGE
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--target/common.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/common.mk b/target/common.mk
index c7eff7435..cebe8c34a 100644
--- a/target/common.mk
+++ b/target/common.mk
@@ -31,8 +31,8 @@ FAKEROOT_SCRIPT = $(BUILD_DIR)/_fakeroot.fs
define ROOTFS_TARGET_INTERNAL
-$(IMAGE).$(1): $(ROOTFS_$(2)_DEPENDENCIES) host-fakeroot makedevs $(if $(BR2_TARGET_ROOTFS_$(2)_LZMA),host-lzma)
- @$(call MESSAGE,"Generating root filesystem image $(IMAGE).$(1)")
+$(BINARIES_DIR)/rootfs.$(1): $(ROOTFS_$(2)_DEPENDENCIES) host-fakeroot makedevs $(if $(BR2_TARGET_ROOTFS_$(2)_LZMA),host-lzma)
+ @$(call MESSAGE,"Generating root filesystem image rootfs.$(1)")
$(foreach hook,$(ROOTFS_$(2)_PRE_GEN_HOOKS),$(call $(hook))$(sep))
rm -f $(FAKEROOT_SCRIPT)
touch $(BUILD_DIR)/.fakeroot.00000
@@ -56,7 +56,7 @@ ifeq ($$(BR2_TARGET_ROOTFS_$(2)_LZMA),y)
$(LZMA) -9 -c $$@ > $$@.lzma
endif
-$(1)-root: $(IMAGE).$(1)
+$(1)-root: $(BINARIES_DIR)/rootfs.$(1)
ifeq ($$(BR2_TARGET_ROOTFS_$(2)),y)
TARGETS += $(1)-root
@@ -65,4 +65,4 @@ endef
define ROOTFS_TARGET
$(call ROOTFS_TARGET_INTERNAL,$(1),$(call UPPERCASE,$(1)))
-endef \ No newline at end of file
+endef