Merge pull request #813 from NeoRaider/staging-dir-host
authorHannu Nyman <hannu.nyman@iki.fi>
Tue, 4 Oct 2016 08:27:31 +0000 (11:27 +0300)
committerGitHub <noreply@github.com>
Tue, 4 Oct 2016 08:27:31 +0000 (11:27 +0300)
luci-base: fix luci-base host tool install on OpenWrt

modules/luci-base/Makefile

index 972a451..4fb278b 100644 (file)
@@ -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))