X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=Makefile;h=181c33b180f2016f6e1ce33c96b53791980ce940;hb=ab9fd528ae6380d78e5b6c4a6a18a2cc7c1cc785;hp=ab97eacc9d2bfe9618e9282bcd8f2a4903d02c08;hpb=454021581f630d5d04afeb8ff6581c1bda295c87;p=openwrt%2Fopenwrt.git diff --git a/Makefile b/Makefile index ab97eacc9d..181c33b180 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,7 @@ $(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the OpenWrt dir world: +DISTRO_PKG_CONFIG:=$(shell which -a pkg-config | grep -E '\/usr' | head -n 1) export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH) ifneq ($(OPENWRT_BUILD),1) @@ -99,9 +100,12 @@ diffconfig: FORCE mkdir -p $(BIN_DIR) $(SCRIPT_DIR)/diffconfig.sh > $(BIN_DIR)/config.buildinfo -prepare: .config $(tools/stamp-compile) $(toolchain/stamp-compile) +buildinfo: FORCE $(_SINGLE)$(SUBMAKE) -r diffconfig buildversion feedsversion +prepare: .config $(tools/stamp-compile) $(toolchain/stamp-compile) + $(_SINGLE)$(SUBMAKE) -r buildinfo + world: prepare $(target/stamp-compile) $(package/stamp-compile) $(package/stamp-install) $(target/stamp-install) FORCE $(_SINGLE)$(SUBMAKE) -r package/index $(_SINGLE)$(SUBMAKE) -r checksum