summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-12-20 22:27:35 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2009-12-20 22:27:35 +0100
commit14aa5ee54f33d05a0bd01f21635e095ba07f83ec (patch)
treed9b6ae0347897db5ac394ff6bcdabc224690e221
parent20788aef4d8a7c6ca9774bb01c8226f30f0b403a (diff)
downloadbuildroot-novena-14aa5ee54f33d05a0bd01f21635e095ba07f83ec.tar.gz
buildroot-novena-14aa5ee54f33d05a0bd01f21635e095ba07f83ec.zip
mtd-utils: move phony dependencies to toplevel mtd-host target
Real targets shouldn't have phony dependencies, as make otherwise always consider them out of date. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/mtd/mtd-utils/mtd.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/mtd/mtd-utils/mtd.mk b/package/mtd/mtd-utils/mtd.mk
index ddae44ea1..664737391 100644
--- a/package/mtd/mtd-utils/mtd.mk
+++ b/package/mtd/mtd-utils/mtd.mk
@@ -34,7 +34,7 @@ $(MTD_HOST_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE)
touch $@
-$(MKFS_JFFS2): $(MTD_HOST_DIR)/.unpacked host-lzo
+$(MKFS_JFFS2): $(MTD_HOST_DIR)/.unpacked
CC="$(HOSTCC)" CROSS= LDFLAGS=-L$(HOST_DIR)/usr/lib \
$(MAKE) CFLAGS='-I$(HOST_DIR)/usr/include -I./include' \
LINUXDIR=$(LINUX_DIR) BUILDDIR=$(MTD_HOST_DIR) \
@@ -46,7 +46,7 @@ $(SUMTOOL): $(MTD_HOST_DIR)/.unpacked
LINUXDIR=$(LINUX_DIR) BUILDDIR=$(MTD_HOST_DIR) \
-C $(MTD_HOST_DIR) sumtool
-mtd-host: $(MKFS_JFFS2) $(SUMTOOL)
+mtd-host: host-lzo $(MKFS_JFFS2) $(SUMTOOL)
mtd-host-source: $(DL_DIR)/$(MTD_SOURCE)