diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-07-18 11:18:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-07-18 11:18:37 +0000 |
commit | 5d1c80f002deca1bce4bbbe0cb0c0d5cf9b70d8c (patch) | |
tree | 5903fffc20730b605dc3f5ba92427ed75b9e3a46 | |
parent | 18840ae8081fbac61b3d1ed4bdaefac46c1d3892 (diff) | |
download | upstream-5d1c80f002deca1bce4bbbe0cb0c0d5cf9b70d8c.tar.gz upstream-5d1c80f002deca1bce4bbbe0cb0c0d5cf9b70d8c.tar.bz2 upstream-5d1c80f002deca1bce4bbbe0cb0c0d5cf9b70d8c.zip |
build: add required exports for dependency tracking
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37387
-rw-r--r-- | include/package-ipkg.mk | 5 | ||||
-rw-r--r-- | rules.mk | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 73fed05b17..696de156cf 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 || \ @@ -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 |