From: Matthias Schiffer Date: Mon, 3 Oct 2016 22:34:30 +0000 (+0200) Subject: luci-base: fix luci-base host tool install on OpenWrt X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=refs%2Fpull%2F813%2Fhead luci-base: fix luci-base host tool install on OpenWrt OpenWrt doesn't provide an argument to Host/Install like LEDE does; use HOST_BUILD_PREFIX instead, which is available on both. Signed-off-by: Matthias Schiffer --- diff --git a/modules/luci-base/Makefile b/modules/luci-base/Makefile index 972a451c6..4fb278b56 100644 --- a/modules/luci-base/Makefile +++ b/modules/luci-base/Makefile @@ -37,9 +37,9 @@ define Host/Compile endef define Host/Install - $(INSTALL_DIR) $(1)/bin - $(INSTALL_BIN) src/po2lmo $(1)/bin/po2lmo - $(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/LuaSrcDiet.lua $(1)/bin/LuaSrcDiet + $(INSTALL_DIR) $(HOST_BUILD_PREFIX)/bin + $(INSTALL_BIN) src/po2lmo $(HOST_BUILD_PREFIX)/bin/po2lmo + $(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/LuaSrcDiet.lua $(HOST_BUILD_PREFIX)/bin/LuaSrcDiet endef $(eval $(call HostBuild))