summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-28 18:26:21 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-03-28 18:26:21 +0000
commit0fa6819d01b85c618e090974216a3be8a319611c (patch)
treee7ba97e0a3fef6815caef3d9aed3098f5a9df239
parent130f029a0cbe63cc7ccfb2bb4940382d9f8d20c4 (diff)
make sure tmp/info gets created
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6749 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--Makefile2
-rw-r--r--include/scan.mk1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bcbfd561b..9b358c3b7 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 a7f74ecec..3229523ea 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