diff --git a/openwrt/include/package.mk b/openwrt/include/package.mk index 7ae95f8fe8..5a9ba861af 100644 --- a/openwrt/include/package.mk +++ b/openwrt/include/package.mk @@ -11,6 +11,7 @@ else endif include $(INCLUDE_DIR)/prereq.mk +include $(INCLUDE_DIR)/host.mk define shvar V_$(subst .,_,$(subst -,_,$(subst /,_,$(1)))) diff --git a/openwrt/rules.mk b/openwrt/rules.mk index 73611029a3..b9859dbd3f 100644 --- a/openwrt/rules.mk +++ b/openwrt/rules.mk @@ -6,7 +6,6 @@ # -include $(TOPDIR)/.config -include $(TOPDIR)/include/host.mk include $(TOPDIR)/include/verbose.mk export SHELL=/usr/bin/env bash -c '. $(TOPDIR)/include/shell.sh; eval "$$2"' --