lede/tools
Stijn Tintel 0dc61a0d37 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: ad79b9271949 ("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-08-24 10:58:46 +08:00
..
7z tools: bump 7z package to 22.01 2022-08-02 10:03:45 +08:00
autoconf update source 2017-09-06 19:19:45 +08:00
autoconf-archive tools/autoconf-archive: update to 2021.02.19 2022-03-02 16:59:10 +00:00
automake automake: always use correct path for aclocal.real 2022-07-15 10:05:30 +08:00
b43-tools Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
bash tools: build bash on macOS and use it for ipkg-build 2022-08-24 10:53:47 +08:00
bc tools: use https for bc mirrors 2022-02-24 17:18:35 +00:00
bison tools/bison: update to 3.8.2 2022-03-03 11:04:47 +00:00
cbootimage add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
cbootimage-configs add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
ccache tools/ccache: update to 4.5.1 2022-03-02 16:59:37 +00:00
cmake tools/cmake: update to 3.24.1 2022-08-24 10:41:21 +08:00
coreutils tools/coreutils: enable ginstall utility 2022-07-15 10:01:30 +08:00
cpio add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
dosfstools Merge branch 'master' of https://github.com/lede-project/source 2018-01-09 14:38:15 +08:00
dwarves tools/dwarves: add host package 2022-08-24 10:57:28 +08:00
e2fsprogs tools/e2fsprogs: update to 1.46.4 2022-03-03 11:06:23 +00:00
elftosb update source 2017-09-06 19:19:45 +08:00
elfutils tools/elfutils: only build required components 2022-08-24 10:58:46 +08:00
expat pacakge: add luci-app-ipsec-server 2022-03-07 20:29:29 +08:00
fakeroot tools/fakeroot: update to 1.27 2022-03-03 11:13:57 +00:00
findutils tools/findutils: update to 4.9.0 2022-03-03 11:07:21 +00:00
firmware-utils firmware-utils: update to git HEAD 2022-07-29 10:07:31 +08:00
flex Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
flock add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
genext2fs update source 2017-09-06 19:19:45 +08:00
gengetopt Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
gmp x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
include x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
isl tools/isl: update to 0.25 2022-08-24 10:38:35 +08:00
kernel2minor sync with OpenWrt trunk 2018-09-07 13:43:55 +08:00
libressl tools/libressl: disable assembly code for all hosts 2022-08-03 10:32:18 +08:00
libtool tools/libtool: update to 2.4.2 2021-11-30 10:08:31 +08:00
llvm-bpf toolchain: add llvm-bpf 2022-04-07 01:01:05 +08:00
lzma add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
lzma-old add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
m4 tools/m4: update to 1.4.19 (#8067) 2021-10-18 15:01:48 +08:00
make-ext4fs Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
meson tools/meson: update to 0.61.2 2022-02-26 16:10:01 +00:00
missing-macros add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
mkimage mkimage: fix segfault on MacOS arm64 M1/M2 2022-07-11 02:21:47 +08:00
mklibs add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
mm-macros Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
mpc x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
mpfr add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
mtd-utils add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
mtools mtools: update to 4.0.40 2022-08-04 10:15:23 +08:00
ninja tools/ninja: update to 1.11.0 (#9608) 2022-06-19 02:08:31 +08:00
padjffs2 add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
patch Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
patch-image x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
patchelf add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
pkgconf x64: fix grub2 booting 2021-06-15 17:58:07 +08:00
quilt tools/quilt: update to 0.67 2022-02-26 05:48:55 +00:00
sdimage Merge branch master of https://github.com/coolsnowwolf/lede 2019-01-03 19:29:28 +08:00
sed Sync to snapshot kernel 5.4 version 2020-07-02 23:30:56 +08:00
sparse add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
squashfs squashfs: Fix compile with GCC 10 2020-06-19 17:09:24 +08:00
squashfskit4 add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
sstrip add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
tar tools/tar: update to 1.34 2022-03-03 11:09:43 +00:00
ucl ucl: add Apple M1 configsub fix 2022-03-29 15:10:52 +08:00
upx upx: fix host build (#3339) 2020-03-01 14:05:09 +08:00
xxd add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
xz tools/xz: update to 5.2.6 2022-08-24 10:38:15 +08:00
zip ramips: mt7621: add support for Netgear R6800 2019-12-13 08:25:54 -08:00
zlib sync with OpenWrt v18.06.1 stable new R8.1 version 2018-08-23 17:40:23 +08:00
zstd add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
Makefile tools/elfutils: depend on m4 2022-08-24 10:57:42 +08:00