From: Peter Korsgaard Date: Sun, 20 Dec 2009 21:27:35 +0000 (+0100) Subject: mtd-utils: move phony dependencies to toplevel mtd-host target X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14aa5ee54f33d05a0bd01f21635e095ba07f83ec;p=buildroot.git 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 --- 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)