Revert "tools: gnulib: fix broken install of .m4 files"
A more proper fix follows these reverts.
This reverts commit 78a8cfb577.
Signed-off-by: Michael Pratt <mcpratt@pm.me>
Link: https://github.com/openwrt/openwrt/pull/24136
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
committed by
Robert Marko
parent
7ff96bf05c
commit
773a46cc7e
@@ -20,10 +20,8 @@ endef
|
||||
define Host/Install
|
||||
$(call Host/Uninstall)
|
||||
$(INSTALL_DIR) $(1)/share/aclocal
|
||||
for m4 in $(HOST_BUILD_DIR)/m4/*.m4; do \
|
||||
$(INSTALL_DATA) $(HOST_BUILD_DIR)/m4/$$$$(basename $$$$m4) \
|
||||
$(1)/share/aclocal/gl_$$$$(basename $$$$m4); \
|
||||
done
|
||||
$(foreach m4,$(notdir $(wildcard $(HOST_BUILD_DIR)/m4/*.m4)),
|
||||
$(INSTALL_DATA) $(HOST_BUILD_DIR)/m4/$(m4) $(1)/share/aclocal/gl_$(m4))
|
||||
$(CP) $(HOST_BUILD_DIR)/ $(1)/share/gnulib/
|
||||
ln -sf ../share/gnulib/gnulib-tool $(STAGING_DIR_HOST)/bin/gnulib-tool
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user