[openwrt/openwrt] tools/missing-macros: install files from HOST_BUILD_DIR instead of src

LEDE Commits lede-commits at lists.infradead.org
Wed May 22 02:58:15 PDT 2024


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/46bcbe42236bbe058eaeb89a0d1a4f22926cfdf9

commit 46bcbe42236bbe058eaeb89a0d1a4f22926cfdf9
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Wed May 22 11:53:52 2024 +0200

    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.
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 tools/missing-macros/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/missing-macros/Makefile b/tools/missing-macros/Makefile
index edbcb84302..15a1cc9b97 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/
 	$(LN) makeinfo $(STAGING_DIR_HOST)/bin/texi2any
 	$(LN) makeinfo $(STAGING_DIR_HOST)/bin/texi2pdf
 	$(LN) makeinfo $(STAGING_DIR_HOST)/bin/texi2dvi




More information about the lede-commits mailing list