openwrt/tools
Stijn Tintel f64bd4b6ce tools/elfutils: only build required components
Building all of the components results in strip being installed in
staging_dir/host/bin. This strip binary will take precedence over
binutils strip that is installed in the toolchain directory.

This will not work on host systems that do not have libdw installed, as
we do not set HOST_LDFLAGS to override rpath to staging_dir/host/lib.
However, rather than overriding rpath, we should just avoid using
elfutils strip entirely.

Override the SUBDIRS variable in the Makefile to only build and install
the libraries we require for dwarves and frr.

Fixes the following build failure in toolchain/gdb:
strip: error while loading shared libraries: libdw.so.1: cannot open shared object file: No such file or directory

Fixes: ad79b92719 ("elfutils: move host build to tools")
Reported-by: Dominick Grift <dominick.grift@defensec.nl>
Reported-by: Lucian Cristian <lucian.cristian@gmail.com>
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-05-19 02:36:48 +03:00
..
autoconf
autoconf-archive tools/autoconf-archive: update to 2021.02.19 2021-09-20 15:21:17 +02:00
automake
b43-tools
bash tools: build bash on macOS and use it for ipkg-build 2022-01-27 13:38:48 +01:00
bc tools: use https for bc mirrors 2022-02-24 15:36:28 +01:00
bison tools/bison: update to 3.8.2 2021-10-05 20:59:41 +02:00
cbootimage
cbootimage-configs
ccache tools/ccache: update to 4.6 2022-03-13 19:24:13 +01:00
cmake tools/cmake: fix download url 2022-04-09 15:56:04 +02:00
coreutils tools/coreutils: build chown 2022-01-27 13:38:48 +01:00
cpio tools/cpio: fix compilation with clang 2021-11-20 21:08:25 +01:00
dosfstools tools: SOURCE_DATE_EPOCH handling for mkfs.fat 2022-03-31 00:56:34 +01:00
dwarves tools/dwarves: add host package 2022-05-18 13:32:06 +03:00
e2fsprogs tools/e2fsprogs: update to 1.46.4 2021-09-20 15:21:17 +02:00
elftosb
elfutils tools/elfutils: only build required components 2022-05-19 02:36:48 +03:00
expat tools/expat: enable DTD 2022-03-13 10:10:30 +01:00
fakeroot tools/fakeroot: update to 1.28 2022-03-13 19:24:13 +01:00
findutils tools/findutils: update to 4.9.0 2022-03-01 00:08:08 +01:00
firmware-utils firmware-utils: bump to git HEAD 2022-04-27 20:29:37 +02:00
flex
flock
genext2fs
gengetopt
gmp
include
isl tools/isl: update the download URL 2021-10-21 20:37:20 +01:00
kernel2minor
libressl tools/libressl: update to version 3.4.2 2022-03-01 00:08:08 +01:00
libtool libtool: Revert "libtool: bump to 2.4.6" 2021-09-23 13:39:11 +02:00
llvm-bpf tools/llvm-bpf: move tarball packing to target/llvm-bpf 2021-11-22 12:00:40 +01:00
lzma treewide: unify OpenWrt hosted source via @OPENWRT 2021-02-05 12:00:24 -10:00
lzma-old treewide: unify OpenWrt hosted source via @OPENWRT 2021-02-05 12:00:24 -10:00
m4 tools/m4: update to 1.4.19 2021-09-20 15:21:17 +02:00
make-ext4fs
meson tools/meson: update to 0.61.4 2022-04-09 15:56:04 +02:00
missing-macros
mkimage tools/mkimage: update to 2022.01 2022-03-01 00:08:08 +01:00
mklibs tools/mklibs: update to 0.1.45 2022-03-01 00:08:08 +01:00
mpc
mpfr
mtd-utils
mtools mtools: update to version 4.0.39 2022-04-15 01:18:28 +01:00
ninja tools: build ninja before ccache to fix the build order 2021-06-12 14:33:57 +02:00
padjffs2
patch
patch-image
patchelf tools/patchelf: bump to use latest master 2021-02-15 07:12:51 +01:00
pkgconf tools/pkgconf: add PKG_CONFIG_EXTRAARGS for additional arguments 2021-10-24 18:00:49 +02:00
quilt tools/quilt: update to 0.67 2022-02-25 14:12:39 +01:00
sdimage
sed
sparse tools/sparse: update to 0.6.4 2021-09-20 15:21:17 +02:00
squashfs
squashfskit4 tools/squashfskit4: fix compilation under big endian 2021-06-20 18:59:36 -10:00
sstrip tools/sstrip: update to 3.2 2021-09-20 15:21:17 +02:00
tar tools/tar: update to 1.34 2021-09-05 21:26:48 +02:00
xxd tools/xxd: fix source URL 2021-03-01 16:39:17 +00:00
xz
zip tools: zip: make encrypted archives reproducible 2022-03-09 15:38:23 +09:00
zlib tools/zlib: bump to latest stable release 1.2.12 (CVE-2018-25032) 2022-03-28 09:27:56 +02:00
zstd tools/zstd: update to 1.5.2 2022-03-01 00:08:08 +01:00
Makefile tools/elfutils: depend on m4 2022-05-18 16:17:35 +03:00