aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* dosfstools: switch to AC_CHECK_LIBDavid Bauer2023-01-162-0/+28
| | | | | | | | This fixes spurious build-errors on OpenWrt, where the AM_ICONV macro is undefined while invoking autoconfig. Later in the build, the ICONV LDOPTIONS are set to @LIBICONV@, failing the build. Signed-off-by: David Bauer <mail@david-bauer.net>
* dosfstools: refresh patchesDavid Bauer2023-01-161-12/+5
| | | | Signed-off-by: David Bauer <mail@david-bauer.net>
* tools/b43-tools: update to latest git HEADLinhui Liu2023-01-141-7/+4
| | | | | | 2fe10ea b43-fwdump: Fix forwarding of arguments to disassembler Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/xz: update to 5.4.1Linhui Liu2023-01-131-2/+2
| | | | | | | Release notes: https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;hb=HEAD Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/patchelf: update to 0.17.2Linhui Liu2023-01-131-2/+2
| | | | | | | | | | | | Changes from version 0.17.1 to version 0.17.2: - fix incorrect version in 0.17.1 Changes from version 0.17.0 to version 0.17.1: - Also pass STRIP to the tests - Fix Out-of-bounds read in the function modifySoname - Split segment size fix Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/llvm: update to 15.0.7Linhui Liu2023-01-131-2/+2
| | | | | | | Release Notes: https://discourse.llvm.org/t/llvm-15-0-7-release/67638 Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/mkimage: update to 2023.01Linhui Liu2023-01-135-1616/+4
| | | | | | | | | Remove upstreamed patches: - 020-tools-mtk_image-split-gfh-header-verification-into-a.patch - 021-tools-mtk_image-split-the-code-of-generating-NAND-he.patch - 022-tools-mtk_image-add-support-for-nand-headers-used-by.patch Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/mpc: use STAGING_DIR_HOST instead of hardcoding defaultChristian Marangi2023-01-091-2/+2
| | | | | | | Use STAGING_DIR_HOST to reference the staging dir for host tools instead of hardcoding it to the default location. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* libtool: use STAGING_DIR_HOST in relocatable patchChristian Marangi2023-01-091-25/+25
| | | | | | | | Instead of using STAGING_DIR and then go up one dir with '../' use directly STAGING_DIR_HOST env variable. This should produce cleaner symbolic links. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* autoconf: use STAGING_DIR_HOST in relocatable patchChristian Marangi2023-01-091-20/+20
| | | | | | | | Instead of using STAGING_DIR and then go up one dir with '../' use directly STAGING_DIR_HOST env variable. This should produce cleaner symbolic links. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* automake: use STAGING_DIR_HOST in relocatable patchChristian Marangi2023-01-092-6/+6
| | | | | | | | Instead of using STAGING_DIR and then go up one dir with '../' use directly STAGING_DIR_HOST env variable. This should produce cleaner symbolic links. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* tools/mpfr: update to 4.2.0Linhui Liu2023-01-073-80/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes from versions 4.1.* to version 4.2.0: - The "fondue savoyarde" release. - Binary compatible with MPFR 4.0.* and 4.1.*, though some minor changes in the behavior of the formatted output functions may be visible, regarded as underspecified behavior or bug fixes (see below). - New functions mpfr_cosu, mpfr_sinu, mpfr_tanu, mpfr_acosu, mpfr_asinu, mpfr_atanu and mpfr_atan2u. - New functions mpfr_cospi, mpfr_sinpi, mpfr_tanpi, mpfr_acospi, mpfr_asinpi, mpfr_atanpi and mpfr_atan2pi. - New functions mpfr_log2p1, mpfr_log10p1, mpfr_exp2m1, mpfr_exp10m1 and mpfr_compound_si. - New functions mpfr_fmod_ui, mpfr_powr, mpfr_pown, mpfr_pow_uj, mpfr_pow_sj and mpfr_rootn_si (mpfr_pown is actually a macro defined as an alias for mpfr_pow_sj). - Bug fixes. In particular, for the formatted output functions (mpfr_printf, etc.), the case where the precision consists only of a period has been fixed to be like ".0" as specified in the ISO C standard, and the manual has been corrected and clarified. The macros of the custom interface have also been fixed: they now behave like functions (except a minor limitation for mpfr_custom_init_set). Remove upstreamed: - 002-Fix-mpfr_custom_get_kind-macro-bug.patch Refresh patches: - 001-only_src.patch Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/xz: update to 5.4.0Linhui Liu2023-01-071-2/+2
| | | | | | | Release notes: https://git.tukaani.org/?p=xz.git;a=blob;f=NEWS;hb=HEAD Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/llvm: update to 15.0.6Linhui Liu2023-01-061-4/+2
| | | | | | | | | | | | | | | Release Notes: https://discourse.llvm.org/t/llvm-15-0-0-release/65099 https://discourse.llvm.org/t/llvm-15-0-1-released/65380 https://discourse.llvm.org/t/llvm-15-0-2-released/65695 https://discourse.llvm.org/t/llvm-15-0-3-released/66036 https://discourse.llvm.org/t/llvm-15-0-4-released/66337 https://discourse.llvm.org/t/llvm-15-0-5-release/66616 https://discourse.llvm.org/t/llvm-15-0-6-released/66899 Remove HOST_BUILD_PARALLEL as it's default now. Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools: Add gzip-libdeflate advanced compressorMarkus Stockhausen2023-01-022-0/+33
| | | | | | | | | | | | | | | | | Several devices provide U-Boot versions with only gzip compressed kernel support (e.g. Realtek switches). This compression method produces larger images than lzma. To save space on flash and avoid going the hard way with lzma-loader we can make use of enhanced gzip tool based on libdeflate compression library from https://github.com/ebiggers/libdeflate. It keeps 100% deflate/gzip compatibility while improving compression ratio. The image can be unpacked by the default inflate routines inside U-Boot. Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de> [Switched to v1.15 and made it work with cmake] Signed-off-by: Olliver Schinagl <oliver@schinagl.nl> Reviewed-by: Robert Marko <robimarko@gmail.com> Reviewed-by: Rosen Penev <rosenp@gmail.com> Reviewed-by: Sander Vanheule <sander@svanheule.net>
* tools: Improve diffability/maintainabilityOlliver Schinagl2022-12-241-5/+37
| | | | | | | | | | | | | | | | | | There's no purpose to squish multiple tools into a single line (and spread those out over multiple lines). It might look 'nice' in certain conditions, but it's annoying to maintain. For example, but not limited to: * adding/removing tools, causes hard to read diffs * Duplicates are harder to spot * Sorting can not be (easily?) automated With this proposed change, the above annoyances go away. Inserting a new tool can be done with a single line-change-diff, sorting can be done by any editor (in vi, select, :sort for example) and dupes are much easier to spot. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
* tools/xz: update to 5.2.10Nick Hainke2022-12-191-2/+2
| | | | | | Update to latest version. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/patchelf: update to 0.17.0Linhui Liu2022-12-181-5/+4
| | | | | | Update to the latest released version. Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/sed: Fix handling of symlinks of 128 charsHauke Mehrtens2022-12-181-0/+47
| | | | | | | | | | | If the absolute path a symlink is pointing to is 128 bytes long sed failed with an error message like this: "<path>/sedstbU8O: Not a directory" This fixes a problem building python seen in the build bot. This patch is on its way into upstream sed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools/libressl: update to 3.7.0Linhui Liu2022-12-181-2/+2
| | | | | | | | | Release notes: https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.6.0-relnotes.txt https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.6.1-relnotes.txt https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.7.0-relnotes.txt Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/bash: update to 5.2.15Linhui Liu2022-12-171-2/+2
| | | | | | Update to the latest released version. Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/mpc: update to 1.3.1Linhui Liu2022-12-171-2/+2
| | | | | | | | | | | | | | | | | Version 1.3.1 new features: Bug fix: It is again possible to include mpc.h without including stdio.h. Version 1.3.0 new features: New function: mpc_agm New rounding modes "away from zero", indicated by the letter "A" and corresponding to MPFR_RNDA on the designated real or imaginary part. New experimental ball arithmetic. New experimental function: mpc_eta_fund Bug fixes: mpc_asin for asin(z) with small |Re(z)| and tiny |Im(z)| mpc_pow_fr: sign of zero part of result when the base has up to sign the same real and imaginary part, and the exponent is an even positive integer mpc_fma: the returned int value was incorrect in some cases (indicating whether the rounded real/imaginary parts were smaller/equal/greater than the exact values), but the computed complex value was correct. Remove the unmaintained Makefile.vc; build files for Visual Studio are maintained independently by Brian Gladman. Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* tools/ccache: update to 4.7.4Linhui Liu2022-12-172-3/+3
| | | | | | | | Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_7_3 https://ccache.dev/releasenotes.html#_ccache_4_7_4 Signed-off-by: Linhui Liu <liulinhui36@gmail.com>
* firmware-utils: fix archive checksumSander Vanheule2022-12-151-1/+1
| | | | | | | | | PKG_SOURCE_DATE was modified after updating PKG_MIRROR_HASH, causing the latter to change. This results in a warning during builds and rejected downloads. Fixes: 232879a7b7f8 ("firmware-utils: bump to git HEAD") Signed-off-by: Sander Vanheule <sander@svanheule.net>
* firmware-utils: bump to git HEADSander Vanheule2022-12-151-3/+3
| | | | | | | | Adds support for building TP-Link CPE605v1 factory images bd856eff4850 tplink-safeloader: add TP-Link CPE605 v1 Support Signed-off-by: Sander Vanheule <sander@svanheule.net>
* tools/dosfstools: fix PKG_SOURCEStijn Tintel2022-12-141-2/+2
| | | | | | | | Both mirrors provided in the Makefile only serve gzipped tarballs. Fixes: #10871 Fixes: 9edfe7dd13d9 ("source: Switch to xz for packages and tools where possible") Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* tools/cmake: update to 3.25.1Hannu Nyman2022-12-064-5/+5
| | | | | | | | Update cmake to version 3.25.1 * refresh patches Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* e2fsprogs: Fix CVE-2022-1304Hauke Mehrtens2022-12-062-1/+51
| | | | | | | | | This fixes CVE-2022-1304: An out-of-bounds read/write vulnerability was found in e2fsprogs 1.46.5. This issue leads to a segmentation fault and possibly arbitrary code execution via a specially crafted filesystem. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools/xz: update to 5.2.9Nick Hainke2022-12-031-2/+2
| | | | | | Update to latest release. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/mpfr: update to 4.1.1Nick Hainke2022-11-273-4/+80
| | | | | | | | | | | | | | Changes: - Bug fixes - Improved manual formatting Refresh patches: - 001-only_src.patch Import patch fixing macro bug: - 002-Fix-mpfr_custom_get_kind-macro-bug.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/bash: update to 5.2.9Nick Hainke2022-11-261-2/+2
| | | | | | Update to latest release. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/patch: apply patch for EACCES on xattr copyThomas Weißschuh2022-11-202-1/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When compiling OpenWRT on a compressed btrfs volume the build fails in libtool. The file `libltdl/config/ltmain.m4sh` from `libtool-2.4.2.tar.xz` is missing write permissions, therefore patch falls back to copying the file and patching that. During this patch tries to preserve all file attribute on the new copy. However the attribute `btrfs.compression` is privileged and btrfs return EACCES. While patch ignores multiple other error codes during the copy of xattr copy it is not prepared for EACCES and aborts. EACCES should be ignored the same way as the other errors. Build log: ``` ... Applying ./patches/000-relocatable.patch using plaintext: patching file libltdl/config/general.m4sh patching file libtoolize.in patching file libtoolize.m4sh patching file libltdl/m4/libtool.m4 Applying ./patches/100-libdir-fixes.patch using plaintext: patching file libltdl/config/ltmain.m4sh File libltdl/config/ltmain.sh is read-only; trying to patch anyway patching file libltdl/config/ltmain.sh patch: setting attribute btrfs.compression for btrfs.compression: Permission denied Patch failed! Please fix ./patches/100-libdir-fixes.patch! ``` Link: https://lists.gnu.org/archive/html/bug-patch/2022-11/msg00000.html Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
* tools/sed: update to 4.9Nick Hainke2022-11-181-2/+2
| | | | | | | Release Notes: https://lists.gnu.org/archive/html/info-gnu/2022-11/msg00001.html Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/xz: update to 5.2.8Nick Hainke2022-11-161-2/+2
| | | | | | Update to latest release. Signed-off-by: Nick Hainke <vincent@systemli.org>
* mac80211: remove old legacy legacy driversFelix Fietkau2022-11-091-1/+1
| | | | | | | | | | | Get rid of drivers that are either limited to 802.11b/g or don't even support cfg80211/mac80211. Most of these are either limited to boards that we don't even support anymore because of firmware size, or were only used for custom hacks by a really small number of users in the past. Let's get rid of those to reduce the maintenance effort and the number of useless packages Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/fakeroot: update to 1.30.1Nick Hainke2022-11-052-5/+5
| | | | | | | | | | Release Notes: https://tracker.debian.org/news/1381350/accepted-fakeroot-1301-1-source-into-unstable/ Refresh patches: - 600-macOS.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/elfutils: update to 1.88Nick Hainke2022-11-051-2/+2
| | | | | | | Release Notes: https://sourceware.org/pipermail/elfutils-devel/2022q4/005561.html Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/mtd-utils: update to 2.1.5Nick Hainke2022-11-053-6/+6
| | | | | | | | | | | Release Notes: https://lore.kernel.org/buildroot/c0992bbb-9487-9a51-ea9f-39cf074b61ec@sigma-star.at/ Refresh patches: - 130-lzma_jffs2.patch - 320-mkfs.jffs2-SOURCE_DATE_EPOCH.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/mtools: update to 4.0.42Nick Hainke2022-11-051-2/+2
| | | | | | | Release Notes: https://lists.gnu.org/archive/html/info-mtools/2022-10/msg00000.html Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/ccache: update to 4.7.2Raihaan Shouhell2022-10-311-2/+2
| | | | | | | Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_7_2 Signed-off-by: Raihaan Shouhell <raihaanhimself@gmail.com>
* tools/ccache: update to 4.7.1Raihaan Shouhell2022-10-312-3/+3
| | | | | | | Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_7_1 Signed-off-by: Raihaan Shouhell <raihaanhimself@gmail.com>
* tools/ccache: update to 4.7Raihaan Shouhell2022-10-312-10/+10
| | | | | | | Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_7 Signed-off-by: Raihaan Shouhell <raihaanhimself@gmail.com>
* expat: update to 2.5.0Nick Hainke2022-10-311-2/+2
| | | | | | | | | Fixes CVE-2022-43680. Changes: https://github.com/libexpat/libexpat/blob/R_2_5_0/expat/Changes Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/mkimage: bring back removed patchesDaniel Golle2022-10-233-0/+1612
| | | | | | | | | | | | Patches for mtk_image supporting newer SoCs have been dropped in the process of updating mkimage to U-Boot 2022.10. While it is true that the patches have been merged upstream a while ago, they were not merged in time to be part of the U-Boot 2022.10 release. See also commit 537b423d9f ("uboot-mediatek: update to U-Boot 2022.10") which explicitly mentions that. Fixes: 6e245777bd ("tools/mkimage: update to 2022.10") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* tools/genext2fs: Add dependency to libtoolHauke Mehrtens2022-10-231-0/+1
| | | | | | | | This fixes the following build error: ./autogen.sh: line 13: aclocal: command not found Fixes: b6d29af9475f ("tools/genext2fs: update to 1.5.0") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools/genext2fs: update to 1.5.0Nick Hainke2022-10-225-638/+9
| | | | | | | | | | | | Update to latest version. Remove patches: - 100-c99_scanf.patch - 200-autoconf.patch - 300-blocksize-creator.patch - 400-byteswap_fix.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/genext2fs: switch to codeload.github.comNick Hainke2022-10-221-2/+2
| | | | | | | | | | | As written on the genext2fs.sourceforge.net page: "If you want bugfixes and nicer features though, you will have to grab the source from github and build it yourself." This commit switches the download from sourceforge to codeload.github.com. Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/dwarves: update to 1.24Nick Hainke2022-10-221-4/+6
| | | | | | | | | Release Notes: https://lwn.net/Articles/905738/ Switch to https "fedorapeople.org"-mirror. Use $(AUTORELEASE). Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/bash: update to 5.2Nick Hainke2022-10-221-2/+2
| | | | | | | Release Notes: https://lists.gnu.org/archive/html/bug-bash/2022-09/msg00056.html Signed-off-by: Nick Hainke <vincent@systemli.org>
* tools/zlib: update to 1.2.13Nick Hainke2022-10-221-5/+4
| | | | | | | | | Switch to "https github.com" for downloading source files. Release Announcements: https://github.com/madler/zlib/releases/tag/v1.2.13 Signed-off-by: Nick Hainke <vincent@systemli.org>