From: Felix Fietkau Date: Thu, 18 Jul 2013 11:18:37 +0000 (+0000) Subject: build: add required exports for dependency tracking X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5d1c80f002deca1bce4bbbe0cb0c0d5cf9b70d8c;p=openwrt%2Fstaging%2Frmilecki.git build: add required exports for dependency tracking Signed-off-by: Felix Fietkau SVN-Revision: 37387 --- diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 73fed05b173..696de156cfa 100644 --- a/include/package-ipkg.mk +++ b/include/package-ipkg.mk @@ -54,7 +54,10 @@ ifneq ($(PKG_NAME),toolchain) @( \ rm -f $(PKG_INFO_DIR)/$(1).missing; \ ( \ - export READELF=$(TARGET_CROSS)readelf XARGS="$(XARGS)"; \ + export \ + READELF=$(TARGET_CROSS)readelf \ + OBJCOPY=$(TARGET_CROSS)objcopy \ + XARGS="$(XARGS)"; \ $(SCRIPT_DIR)/gen-dependencies.sh "$$(IDIR_$(1))"; \ ) | while read FILE; do \ grep -q "$$$$FILE" $(PKG_INFO_DIR)/$(1).provides || \ diff --git a/rules.mk b/rules.mk index 2e9e20d919f..5ed8000e052 100644 --- a/rules.mk +++ b/rules.mk @@ -14,7 +14,7 @@ endif include $(TOPDIR)/include/debug.mk include $(TOPDIR)/include/verbose.mk -TMP_DIR:=$(TOPDIR)/tmp +export TMP_DIR:=$(TOPDIR)/tmp GREP_OPTIONS= export GREP_OPTIONS