aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-28 18:26:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-28 18:26:21 +0000
commitfcf0aa5ab719ccbd74893e5445c2b28cecc105a9 (patch)
tree5ca29be44bf55c8eeabe69bc20b54f423094555c
parent74304a4323198b46e6e1a6606e12ca79e7f4ba26 (diff)
downloadupstream-fcf0aa5ab719ccbd74893e5445c2b28cecc105a9.tar.gz
upstream-fcf0aa5ab719ccbd74893e5445c2b28cecc105a9.tar.bz2
upstream-fcf0aa5ab719ccbd74893e5445c2b28cecc105a9.zip
make sure tmp/info gets created
SVN-Revision: 6749
-rw-r--r--Makefile2
-rw-r--r--include/scan.mk1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bcbfd561b9..9b358c3b7a 100644
--- a/Makefile
+++ b/Makefile
@@ -45,9 +45,11 @@ ifeq ($(FORCE),)
endif
tmp/.pkginfo: FORCE
+ @mkdir -p tmp/info
@$(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="pkginfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPS="$(shell ls include/package*.mk) include/kernel.mk" SCAN_EXTRA=""
tmp/.targetinfo: FORCE
+ @mkdir -p tmp/info
@$(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="targetinfo" SCAN_DIR="target/linux" SCAN_NAME="target" SCAN_DEPS="$(shell ls include/kernel*.mk)" SCAN_EXTRA=""
tmpinfo-clean: FORCE
diff --git a/include/scan.mk b/include/scan.mk
index a7f74ecec8..3229523ea4 100644
--- a/include/scan.mk
+++ b/include/scan.mk
@@ -28,7 +28,6 @@ ifneq ($(SCAN_EXTRA),)
SCAN_STAMP=tmp/info/.scan-$(SCAN_TARGET)-$(shell ls $(SCAN_EXTRA) 2>/dev/null | (md5sum || md5) 2>/dev/null | cut -d' ' -f1)
$(SCAN_STAMP):
rm -f tmp/info/.scan-$(SCAN_TARGET)-*
- mkdir -p $(shell dirname $@)
touch $@
endif