From 14aa5ee54f33d05a0bd01f21635e095ba07f83ec Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 20 Dec 2009 22:27:35 +0100 Subject: [PATCH] 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 --- package/mtd/mtd-utils/mtd.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/mtd/mtd-utils/mtd.mk b/package/mtd/mtd-utils/mtd.mk index ddae44ea1c..6647373914 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) -- 2.30.2