build: set TMPDIR for opkg calls

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-07-22 13:04:11 +02:00
parent c792c7512c
commit 653cb2594d

View file

@ -37,6 +37,7 @@ endif
opkg = \ opkg = \
IPKG_NO_SCRIPT=1 \ IPKG_NO_SCRIPT=1 \
IPKG_INSTROOT=$(1) \ IPKG_INSTROOT=$(1) \
TMPDIR=$(1)/tmp \
$(STAGING_DIR_HOST)/bin/opkg \ $(STAGING_DIR_HOST)/bin/opkg \
--offline-root $(1) \ --offline-root $(1) \
--force-depends \ --force-depends \