build: export STAGING_DIR_HOST in toplevel make code
authorFelix Fietkau <nbd@nbd.name>
Sun, 28 Aug 2022 18:35:03 +0000 (20:35 +0200)
committerFelix Fietkau <nbd@nbd.name>
Mon, 5 Sep 2022 09:17:19 +0000 (11:17 +0200)
Fixes ncurses pkg-config check for menuconfig

Signed-off-by: Felix Fietkau <nbd@nbd.name>
include/toplevel.mk

index ce744bc92ccf6713adea67f3ad15a1622c9ca935..455fc9c4da0b3c65b43ee16799140ca2f61a508f 100644 (file)
@@ -60,6 +60,7 @@ endif
 
 SCAN_COOKIE?=$(shell echo $$$$)
 export SCAN_COOKIE
+export STAGING_DIR_HOST=$(TOPDIR)/staging_dir/host
 
 SUBMAKE:=umask 022; $(SUBMAKE)