X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2db90bec770409e09a07d27f34494636be131ba8..d1ca5112f809c744af5f76ddd901880287bc98d3:/target/sdk/files/Makefile diff --git a/target/sdk/files/Makefile b/target/sdk/files/Makefile index 184a1f9e4..ebd30bf32 100644 --- a/target/sdk/files/Makefile +++ b/target/sdk/files/Makefile @@ -42,16 +42,16 @@ define stamp tmp/info/.stamp-$(1)-$(shell ls $(2)/*/Makefile $(5) | (md5sum || md5) 2>/dev/null | cut -d' ' -f1) endef -STAMP=$(call stamp,pkginfo,package) +STAMP=$(call stamp,packageinfo,package) $(STAMP): @mkdir -p tmp/info - @rm -f tmp/info/.stamp-pkginfo* + @rm -f tmp/info/.stamp-packageinfo* @touch $@ define filedep $(foreach FILE,$(shell ls package/*/Makefile), -tmp/.pkginfo: $(FILE) +tmp/.packageinfo: $(FILE) $(FILE): @true ) @@ -59,12 +59,12 @@ endef $(eval $(filedep)) -tmp/.pkginfo: $(STAMP) +tmp/.packageinfo: $(STAMP) @echo -n Collecting package info... - @$(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="pkginfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPS="" + @$(NO_TRACE_MAKE) -s -f include/scan.mk SCAN_TARGET="packageinfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPS="" package/%: FORCE - @$(NO_TRACE_MAKE) -s tmp/.pkginfo + @$(NO_TRACE_MAKE) -s tmp/.packageinfo $(MAKE) -C package $(patsubst package/%,%,$@) SDK=1 download: FORCE @@ -76,7 +76,7 @@ world: FORCE cd package; \ find . -maxdepth 2 -name Config.in | \ sed -e 's,/Config.in,,g' | \ - xargs -r -n1 make compile -C; \ + xargs -n1 $(MAKE) compile -C; \ ) clean: FORCE