Skip to content

Commit

Permalink
tools/missing-macros: install files from HOST_BUILD_DIR instead of src
Browse files Browse the repository at this point in the history
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 46bcbe4)
[ rebased on top of openwrt-23.05 ]
Signed-off-by: Christian Marangi <[email protected]>
  • Loading branch information
Ansuel committed May 22, 2024
1 parent d1fc2ea commit 9897724
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/missing-macros/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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))

0 comments on commit 9897724

Please sign in to comment.