imagebuilder: correctly export PACKAGE_DIR and PACKAGE_DIR_ALL
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 24 Oct 2024 18:32:42 +0000 (20:32 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 28 Oct 2024 23:07:52 +0000 (00:07 +0100)
Correctly export PACKAGE_DIR and PACKAGE_DIR_ALL so that they won't be
reset on internal call of rules.mk

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/imagebuilder/files/Makefile

index 7d01bc0e4201b234ee17f96ad5a2e37e40127dbf..024002666a75912030bf30f8f714c676faeff049 100644 (file)
@@ -83,9 +83,9 @@ help: FORCE
 
 
 # override variables from rules.mk
-PACKAGE_DIR:=$(TOPDIR)/packages
+export PACKAGE_DIR:=$(TOPDIR)/packages
 LISTS_DIR:=$(subst $(space),/,$(patsubst %,..,$(subst /,$(space),$(TARGET_DIR))))$(DL_DIR)
-PACKAGE_DIR_ALL:=$(TOPDIR)/packages
+export PACKAGE_DIR_ALL:=$(TOPDIR)/packages
 
 export OPKG_KEYS:=$(TOPDIR)/keys
 OPKG:=$(call opkg,$(TARGET_DIR)) \