mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-18 21:28:02 +00:00
build: add required exports for dependency tracking
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37387
This commit is contained in:
parent
18840ae808
commit
5d1c80f002
@ -54,7 +54,10 @@ ifneq ($(PKG_NAME),toolchain)
|
|||||||
@( \
|
@( \
|
||||||
rm -f $(PKG_INFO_DIR)/$(1).missing; \
|
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))"; \
|
$(SCRIPT_DIR)/gen-dependencies.sh "$$(IDIR_$(1))"; \
|
||||||
) | while read FILE; do \
|
) | while read FILE; do \
|
||||||
grep -q "$$$$FILE" $(PKG_INFO_DIR)/$(1).provides || \
|
grep -q "$$$$FILE" $(PKG_INFO_DIR)/$(1).provides || \
|
||||||
|
2
rules.mk
2
rules.mk
@ -14,7 +14,7 @@ endif
|
|||||||
include $(TOPDIR)/include/debug.mk
|
include $(TOPDIR)/include/debug.mk
|
||||||
include $(TOPDIR)/include/verbose.mk
|
include $(TOPDIR)/include/verbose.mk
|
||||||
|
|
||||||
TMP_DIR:=$(TOPDIR)/tmp
|
export TMP_DIR:=$(TOPDIR)/tmp
|
||||||
|
|
||||||
GREP_OPTIONS=
|
GREP_OPTIONS=
|
||||||
export GREP_OPTIONS
|
export GREP_OPTIONS
|
||||||
|
Loading…
Reference in New Issue
Block a user