summaryrefslogtreecommitdiff
path: root/include/prereq-build.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/prereq-build.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/prereq-build.mk')
-rw-r--r--include/prereq-build.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index af4e8b5..2d3a1fa 100644
--- a/include/prereq-build.mk
+++ b/include/prereq-build.mk
@@ -7,7 +7,6 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/prereq.mk
-include $(INCLUDE_DIR)/host.mk
include $(INCLUDE_DIR)/host-build.mk
SHELL:=sh
@@ -123,9 +122,9 @@ $(eval $(call SetupHostCommand,getopt, \
getopt -o t --long test -- --test | grep '^ *--test *--'))
$(eval $(call SetupHostCommand,stat,Cannot find a file stat utility, \
- gnustat -c%s $(TMP_DIR)/.host.mk, \
- gstat -c%s $(TMP_DIR)/.host.mk, \
- stat -c%s $(TMP_DIR)/.host.mk))
+ gnustat -c%s $(TOPDIR)/Makefile, \
+ gstat -c%s $(TOPDIR)/Makefile, \
+ stat -c%s $(TOPDIR)/Makefile))
$(eval $(call SetupHostCommand,unzip,Please install 'unzip', \
unzip 2>&1 | grep zipfile, \