forked from coolsnowwolf/lede
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
elfutils: sync upstream (coolsnowwolf#8652)
* elfutils: enable host build frr 8.0 needs host libelf dev add option for host build tested on x86, ramips, kirkwood Signed-off-by: Lucian Cristian <[email protected]> [changed commit author's email] Signed-off-by: Christian Lamparter <[email protected]> * elfutils: update to 0.186 Upstreamed patches (deleted): 0001-ppc_initreg.c-Incliude-asm-ptrace.h-for-pt_regs-defi.patch - https://sourceware.org/git/?p=elfutils.git;a=commitdiff;h=8382833a257b57b0d288be07d2d5e7af6c102869 110-no-cdefs.patch - https://sourceware.org/git/?p=elfutils.git;a=commitdiff;h=d390548df1942e98a1d836269a5e41ba52e121f1 Auto-refreshed: 006-Fix-build-on-aarch64-musl.patch 101-no-fts.patch Manually updated and refreshed: 005-build_only_libs.patch 003-libintl-compatibility.patch 100-musl-compat.patch Disabled _obstack_free check (via configure vars) Signed-off-by: Sergey V. Lobanov <[email protected]> * elfutils: Add missing musl-fts dependency libdw depends on libfts.so when building with the musl-libc library, add this missing dependency. Fixes: 6835ea1 ("elfutils: update to 0.186") Signed-off-by: Florian Fainelli <[email protected]> Co-authored-by: Lucian Cristian <[email protected]> Co-authored-by: Sergey V. Lobanov <[email protected]> Co-authored-by: Florian Fainelli <[email protected]>
- Loading branch information
1 parent
5afa82e
commit b0c25b7
Showing
7 changed files
with
39 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,12 @@ | |
include $(TOPDIR)/rules.mk | ||
|
||
PKG_NAME:=elfutils | ||
PKG_VERSION:=0.182 | ||
PKG_VERSION:=0.186 | ||
PKG_RELEASE:=1 | ||
|
||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 | ||
PKG_SOURCE_URL:=https://sourceware.org/$(PKG_NAME)/ftp/$(PKG_VERSION) | ||
PKG_HASH:=ecc406914edf335f0b7fc084ebe6c460c4d6d5175bfdd6688c1c78d9146b8858 | ||
PKG_HASH:=7f6fb9149b1673d38d9178a0d3e0fb8a1ec4f53a9f4c2ff89469609879641177 | ||
|
||
PKG_MAINTAINER:=Luiz Angelo Daros de Luca <[email protected]> | ||
PKG_LICENSE:=GPL-3.0-or-later | ||
|
@@ -26,6 +26,7 @@ PKG_BUILD_DEPENDS:=!USE_GLIBC:argp-standalone | |
|
||
include $(INCLUDE_DIR)/package.mk | ||
include $(INCLUDE_DIR)/nls.mk | ||
include $(INCLUDE_DIR)/host-build.mk | ||
|
||
define Package/elfutils/Default | ||
SECTION:=libs | ||
|
@@ -43,7 +44,7 @@ endef | |
|
||
define Package/libdw | ||
$(call Package/elfutils/Default) | ||
DEPENDS:=+libelf +libbz2 | ||
DEPENDS:=+libelf +libbz2 +USE_MUSL:musl-fts | ||
TITLE+= (libdw) | ||
endef | ||
|
||
|
@@ -60,13 +61,25 @@ else | |
CONFIGURE_ARGS += --disable-nls | ||
endif | ||
|
||
HOST_CONFIGURE_ARGS += \ | ||
--disable-debuginfod \ | ||
--disable-libdebuginfod \ | ||
--without-lzma \ | ||
--without-zstd | ||
|
||
CONFIGURE_ARGS += \ | ||
--program-prefix=eu- \ | ||
--disable-debuginfod \ | ||
--disable-libdebuginfod \ | ||
--without-lzma \ | ||
--without-zstd | ||
|
||
HOST_CONFIGURE_VARS += \ | ||
ac_cv_search__obstack_free=yes | ||
|
||
CONFIGURE_VARS += \ | ||
ac_cv_search__obstack_free=yes | ||
|
||
TARGET_CFLAGS += -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral | ||
|
||
define Build/InstallDev | ||
|
@@ -97,6 +110,7 @@ define Package/libelf/install | |
endef | ||
|
||
# these lines need to be ordered by dependency because of ABI versioning | ||
$(eval $(call HostBuild)) | ||
$(eval $(call BuildPackage,libelf)) | ||
$(eval $(call BuildPackage,libdw)) | ||
$(eval $(call BuildPackage,libasm)) |
29 changes: 0 additions & 29 deletions
29
...age/libs/elfutils/patches/0001-ppc_initreg.c-Incliude-asm-ptrace.h-for-pt_regs-defi.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.