luci-base: revert removal of HOST_BUILD_DIR definition
authorHannu Nyman <hannu.nyman@iki.fi>
Thu, 26 Dec 2019 18:18:18 +0000 (20:18 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Thu, 26 Dec 2019 18:22:48 +0000 (20:22 +0200)
PR #3352 removed the luasrcdiet subpackage definition from
luci-base Makefile, and it also removed the HOST_BUILD_DIR
definition, which looked like it was related to only luasrcdiet,
but apparently that HOST_BUILD_DIR is needed also for the main
luci-base package.

Fixes #3433

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
modules/luci-base/Makefile

index ca7de0bb2faf145ce749585634d308dd9fbb196a..5019646611cdeeccba071198931c4622dcb753d3 100644 (file)
@@ -16,6 +16,8 @@ LUCI_DEPENDS:=+lua +luci-lib-nixio +luci-lib-ip +rpcd +libubus-lua +luci-lib-jso
 
 PKG_LICENSE:=MIT
 
+HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)
+
 include $(INCLUDE_DIR)/host-build.mk
 
 define Package/luci-base/conffiles