aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-08-28 20:35:03 +0200
committerFelix Fietkau <nbd@nbd.name>2022-09-05 11:17:19 +0200
commitfaf2b2193e28ecf4237c263ce58897cb9170d477 (patch)
treeb1b9fdef719b84586af7370119973f229867217a
parentf32085fc0b87049491b07e198d924d738a1a2834 (diff)
downloadupstream-faf2b2193e28ecf4237c263ce58897cb9170d477.tar.gz
upstream-faf2b2193e28ecf4237c263ce58897cb9170d477.tar.bz2
upstream-faf2b2193e28ecf4237c263ce58897cb9170d477.zip
build: export STAGING_DIR_HOST in toplevel make code
Fixes ncurses pkg-config check for menuconfig Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--include/toplevel.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/toplevel.mk b/include/toplevel.mk
index ce744bc92c..455fc9c4da 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -60,6 +60,7 @@ endif
SCAN_COOKIE?=$(shell echo $$$$)
export SCAN_COOKIE
+export STAGING_DIR_HOST=$(TOPDIR)/staging_dir/host
SUBMAKE:=umask 022; $(SUBMAKE)