summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Marangi2024-05-22 09:53:52 +0000
committerChristian Marangi2024-05-22 09:59:59 +0000
commit9897724adaaefdbd4da0067dced23efa9c536643 (patch)
tree016442ba645d298471ca2941c67ddcbe0dbebf12
parentd1fc2ea8c78db13a07c129296453454f72108bec (diff)
downloadopenwrt-9897724adaaefdbd4da0067dced23efa9c536643.tar.gz
tools/missing-macros: install files from HOST_BUILD_DIR instead of src
Install files from HOST_BUILD_DIR instead of src. These files are now correctly copied to HOST_BUILD_DIR and can be referenced from there. (cherry picked from commit 46bcbe42236bbe058eaeb89a0d1a4f22926cfdf9) [ rebased on top of openwrt-23.05 ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--tools/missing-macros/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/missing-macros/Makefile b/tools/missing-macros/Makefile
index 1e423621bd..0b1d568cbd 100644
--- a/tools/missing-macros/Makefile
+++ b/tools/missing-macros/Makefile
@@ -20,9 +20,9 @@ endef
define Host/Install
$(INSTALL_DIR) $(STAGING_DIR_HOST)/share/aclocal
- $(INSTALL_DATA) ./src/m4/*.m4 $(STAGING_DIR_HOST)/share/aclocal/
+ $(INSTALL_DATA) $(HOST_BUILD_DIR)/m4/*.m4 $(STAGING_DIR_HOST)/share/aclocal/
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
- $(INSTALL_BIN) ./src/bin/* $(STAGING_DIR_HOST)/bin/
+ $(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/* $(STAGING_DIR_HOST)/bin/
endef
$(eval $(call HostBuild))