summaryrefslogtreecommitdiff
path: root/include/scan.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-02-20 14:24:54 +0100
committerFelix Fietkau <nbd@nbd.name>2017-02-26 13:31:44 +0100
commit9467ce42da7fbcec1a4b5b8e08e2dcea3c67aa96 (patch)
treec3d4f2ab3090a91a89fd731a2499aa341e3cc1e8 /include/scan.mk
parentbe206eba3a57128695a00f490767e5c136e43ab7 (diff)
downloadmtk-20170518-9467ce42da7fbcec1a4b5b8e08e2dcea3c67aa96.zip
mtk-20170518-9467ce42da7fbcec1a4b5b8e08e2dcea3c67aa96.tar.gz
mtk-20170518-9467ce42da7fbcec1a4b5b8e08e2dcea3c67aa96.tar.bz2
build: get rid of host.mk
Defined required host related variables in toplevel.mk instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/scan.mk')
-rw-r--r--include/scan.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/scan.mk b/include/scan.mk
index 92f2dc3..86d9576 100644
--- a/include/scan.mk
+++ b/include/scan.mk
@@ -3,8 +3,6 @@ TMP_DIR:=$(TOPDIR)/tmp
all: $(TMP_DIR)/.$(SCAN_TARGET)
-include $(TOPDIR)/include/host.mk
-
SCAN_TARGET ?= packageinfo
SCAN_NAME ?= package
SCAN_DIR ?= package
@@ -12,6 +10,8 @@ TARGET_STAMP:=$(TMP_DIR)/info/.files-$(SCAN_TARGET).stamp
FILELIST:=$(TMP_DIR)/info/.files-$(SCAN_TARGET)-$(SCAN_COOKIE)
OVERRIDELIST:=$(TMP_DIR)/info/.overrides-$(SCAN_TARGET)-$(SCAN_COOKIE)
+export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH)
+
ifeq ($(IS_TTY),1)
define progress
printf "\033[M\r$(1)" >&2;