openwrt/tools
Sebastian Kemper a22c54e39f tools/libtool: fix hard-coded paths
libtoolize hardcodes some paths. This is fine when building libtool and
then using it (for example in OpenWrt's buildroot). But when using an
SDK the paths are most likely different.

For example, when building util-linux within an SDK we're greeted with
the following message:

  libtoolize: error: $pkgauxdir is not a directory: '/path/to/openwrt/staging_dir/host/share/libtool/build-aux'

This is because staging_dir/host/bin/libtoolize contains the following
hard-coded paths from when the SDK was built in the first place:

  prefix="/path/to/openwrt/staging_dir/host"
  datadir="/path/to/openwrt/staging_dir/host/share"
  pkgauxdir="/path/to/openwrt/staging_dir/host/share/libtool/build-aux"
  pkgltdldir="/path/to/openwrt/staging_dir/host/share/libtool"
  aclocaldir="/path/to/openwrt/staging_dir/host/share/aclocal"

This commits updates 000-relocatable.patch to correct the paths,
relative to "$STAGING_DIR_HOST".

Ref: 96e05e2e3 ("libtool: Revert "libtool: bump to 2.4.6"")
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
[adapted to older libtool version before bumping, use STAGING_DIR_HOST]
Signed-off-by: Michael Pratt <mcpratt@pm.me>
2023-03-13 22:53:41 +01:00
..
7z tools: bump 7z package to 22.01 2022-07-31 15:29:39 +02:00
autoconf tools/autoconf: bump to 2.71 2023-03-13 22:53:41 +01:00
autoconf-archive tools/autoconf-archive: bump to 2022.09.03 2023-03-13 22:53:41 +01:00
automake tools/automake: bump to 1.16.5 2023-03-13 22:53:41 +01:00
b43-tools tools/b43-tools: update to latest git HEAD 2023-01-14 09:36:02 +08:00
bash tools/bash: update to 5.2.15 2022-12-17 20:26:51 +01:00
bc tools/bc: update to 1.07.1 2022-10-22 22:50:37 +02:00
bison tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
cbootimage treewide: update email address of Tomasz Maciej Nowak 2020-11-24 15:39:07 +01:00
cbootimage-configs treewide: update email address of Tomasz Maciej Nowak 2020-11-24 15:39:07 +01:00
ccache Remove ccache wrappers 2023-03-05 17:48:31 +01:00
cmake tools/cmake: remove rpath ldflag 2023-02-09 02:53:36 +01:00
coreutils tools/coreutils: update to 9.1 2023-02-05 21:55:20 +01:00
cpio tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
dosfstools dosfstools: switch to AC_CHECK_LIB 2023-01-16 18:29:04 +01:00
dwarves tools/dwarves: update to 1.24 2022-10-22 22:53:24 +02:00
e2fsprogs tools/e2fsprogs: update to 1.47.0 2023-02-12 16:45:29 +01:00
elftosb treewide: clean up download hashes 2016-12-16 22:39:22 +01:00
elfutils tools/elfutils: update to 1.89 2023-03-12 13:53:49 +01:00
expat expat: update to 2.5.0 2022-10-31 21:27:48 +01:00
fakeroot Revert "tools/fakeroot: update to 1.30.1" 2023-02-12 01:02:22 +01:00
findutils tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
firmware-utils firmware-utils: bump to git HEAD 2023-02-03 12:13:50 +01:00
flex tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
flock tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
genext2fs tools/genext2fs: update to 1.5.0 2022-10-22 22:53:24 +02:00
gengetopt tools/gengetopt: Update to 2.23 2019-07-08 16:42:26 +02:00
gmp tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
include build: fix kernel 5.4 on macos 2020-03-14 13:20:06 +00:00
isl tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
kernel2minor tools: kernel2minor: update to latest version 2018-07-12 18:15:33 +02:00
libdeflate libdeflate: Avoid circular dependencies 2023-01-17 21:01:54 +01:00
liblzo tools/liblzo: add liblzo library 2023-01-16 23:51:10 +00:00
libressl tools/libressl: update to 3.7.0 2022-12-18 16:34:47 +01:00
libtool tools/libtool: fix hard-coded paths 2023-03-13 22:53:41 +01:00
llvm-bpf tools/llvm: update to 15.0.7 2023-01-13 22:07:13 +01:00
lz4 tools/lz4: add lz4 binaries 2023-01-16 23:51:10 +00:00
lzma tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
lzma-old treewide: unify OpenWrt hosted source via @OPENWRT 2021-02-05 12:00:24 -10:00
lzop tools/lzop: add lzop binaries 2023-01-16 23:51:10 +00:00
m4 tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
make-ext4fs make_ext4fs: Update to version 2020-01-05 2020-01-05 20:04:37 +01:00
meson tools/meson: backport WSL2 fix 2022-10-02 16:05:32 +02:00
missing-macros treewide: remove empty default cases 2020-09-17 12:46:19 +02:00
mkimage tools/mkimage: update to 2023.01 2023-01-13 14:49:52 +00:00
mklibs tools/mklibs: update to 0.1.45 2022-03-01 00:08:08 +01:00
mpc tools/mpc: use STAGING_DIR_HOST instead of hardcoding default 2023-01-09 21:33:19 +01:00
mpfr tools/mpfr: update to 4.2.0 2023-01-07 17:17:59 +01:00
mtd-utils tools/mtd-utils: update to 2.1.5 2022-11-05 14:07:46 +00:00
mtools tools/mtools: update to 4.0.42 2022-11-05 14:07:46 +00:00
ninja tools/ninja: update to 1.11.1 2023-01-24 23:13:25 +01:00
padjffs2 tools: drop PKG_VERSION for purely local packages 2020-07-23 10:54:33 +02:00
patch tools/patch: apply patch for EACCES on xattr copy 2022-11-20 18:44:43 +01:00
patch-image rb532: drop target 2020-09-02 16:29:22 +02:00
patchelf tools/patchelf: update to 0.17.2 2023-01-13 22:08:17 +01:00
pkgconf tools/pkgconf: add PKG_CPE_ID 2023-02-05 22:39:17 +01:00
quilt tools/quilt: update to 0.67 2022-02-25 14:12:39 +01:00
sdimage tools/sdimage: Fix build with host Linux headers < 3.18 2018-12-16 14:03:35 +01:00
sed tools/sed: Fix handling of symlinks of 128 chars 2022-12-18 21:40:58 +01:00
sparse tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
squashfs3-lzma tools/squashfs: rename to squashfs3-lzma 2023-02-18 21:11:36 +01:00
squashfs4 tools/squashfs4: fix PKG_MIRROR_HASH 2023-02-25 19:01:53 +00:00
sstrip tools/sstrip: update to 3.2 2021-09-20 15:21:17 +02:00
tar tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
xz tools/xz: update to 5.4.1 2023-01-13 22:09:12 +01:00
zip tools: add Host/Uninstall where possible 2022-10-20 00:33:22 +02:00
zlib tools/zlib: update to 1.2.13 2022-10-22 22:53:24 +02:00
zstd tools/zstd: update to 1.5.4 2023-02-18 17:38:01 +01:00
Makefile tools/squashfs4: add new tool for squashfs4 images 2023-02-20 07:34:03 +01:00