mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-23 15:12:50 +00:00
make sure tmp/info gets created
SVN-Revision: 6749
This commit is contained in:
parent
74304a4323
commit
fcf0aa5ab7
2
Makefile
2
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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user