build: add required exports for dependency tracking
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37387 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
de904cbdf8
commit
61b763d414
|
@ -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 || \
|
||||
|
|
Loading…
Reference in New Issue