[openwrt/openwrt] elfutils: remove host build from target package

LEDE Commits lede-commits at lists.infradead.org
Sat Mar 13 21:33:52 GMT 2021


ldir pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/29e2be69c4689f3438340f23a6eb5649516f0c6d

commit 29e2be69c4689f3438340f23a6eb5649516f0c6d
Author: Tony Ambardar <itugrok at yahoo.com>
AuthorDate: Tue Jan 26 14:37:04 2021 -0800

    elfutils: remove host build from target package
    
    Commit f4da28c301 ("elfutils: Add host build") supplied a libelf host
    library to fix a glib2 host build error, but this need was later removed
    by b6212c8769 ("glib2: don't use libelf during host build").
    
    More importantly, there are already two sources for libelf host libraries:
    OpenWRT build prerequisites [1] and tools/libelf. A third is not needed.
    
    Ref [1]: https://openwrt.org/docs/guide-developer/build-system/install-buildsystem#prerequisites
    
    Signed-off-by: Tony Ambardar <itugrok at yahoo.com>
---
 package/libs/elfutils/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/package/libs/elfutils/Makefile b/package/libs/elfutils/Makefile
index aa6743e688..dd0b8ecdde 100644
--- a/package/libs/elfutils/Makefile
+++ b/package/libs/elfutils/Makefile
@@ -25,7 +25,6 @@ PKG_USE_MIPS16:=0
 PKG_BUILD_DEPENDS:=!USE_GLIBC:argp-standalone
 
 include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/nls.mk
 
 define Package/elfutils/Default
@@ -99,4 +98,3 @@ endef
 $(eval $(call BuildPackage,libelf))
 $(eval $(call BuildPackage,libdw))
 $(eval $(call BuildPackage,libasm))
-$(eval $(call HostBuild))



More information about the lede-commits mailing list