aboutsummaryrefslogtreecommitdiffstats
path: root/tools/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* tools: cbootimage: depend on automakeTomasz Maciej Nowak2019-04-071-1/+1
| | | | | | | Fix missing aclocal reported by buildbot. Fixes: 8595bb0 ("tools: add cbootimage for tegra") Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
* tools: add cbootimage-configs for tegraTomasz Maciej Nowak2019-04-061-1/+1
| | | | | | | This provides board configuraion tables for various Tegra boards needed by cbootimage tool to create flashable bootloader images. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
* tools: add cbootimage for tegraTomasz Maciej Nowak2019-04-061-0/+2
| | | | | | | | | | | | | | | | | Tegra BCT and bootable flash image generator/compiler >From documentation: This project provides a tool which compiles BCT (Boot Configuration Table) images to place into the boot flash of a Tegra-based device. The tool will either: a) Compile a textual representation of a BCT into a binary image. b) Generate an entire boot image from a previously compiled BCT and a bootloader binary. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
* tools: squashfskit4 should only depend on coreutils on non-linux systemsFelix Fietkau2019-03-031-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/squashfskit: fix version detection on non-linux systemAlexander Couzens2019-03-031-1/+1
| | | | | | | | | | | | gnu date is present in our staging_dir which means squashfskit will fail to build. Prevent also a race condition if coreutils is build after squashfskit. To prevent a race condition, depend on coreutils. Acked-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* tools: migrate from squashfs4 to squashfskit4Alexander Couzens2019-02-281-2/+2
| | | | | | | | | squashfskit is a fork of the squashfs-tools. squashfskit creates reproducible filesystems and includes many of the distro patches. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Tested-by: Paul Spooren <mail@aparcar.org>
* gemini: Generate harddisk image for DNS-313Linus Walleij2019-02-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | This makes OpenWrt build an Ext2+Ext4 partitioned image for the D-Link DNS-313 with two blank partitions, a boot partition on /dev/sda3 and a rootfs partition on /dev/sda4. This uses the methods already used in apm821xx including the tricks to convert the generated Ext2 filesystem partition to version 1 so that the firmware bootloader will properly recognize it. We patch a bit around the build files to make sure we get the rootfs size set and that genext2fs is properly built. Tested on the D-Link DNS-313. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [Fixing and tricksing] Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* tools/sed: fix incorrect dependency.Kuang Rufan2019-01-221-2/+3
| | | | | | sed shall depend on xz instead of xz depends on sed. Signed-off-by: Kuang Rufan <master@a1983.com.cn>
* tools: add zip utilityMathias Kresin2019-01-151-1/+1
| | | | | | | One image requires a zip compressed image, so add the zip util found in the packages feed, and extend it with some useful debian patches. Signed-off-by: Mathias Kresin <dev@kresin.me>
* tools: patch: Fix build by not modifing Makefile.amHauke Mehrtens2018-10-141-1/+0
| | | | | | | | | | | | | | A new test case was adding in one of the patches fixing a problem, this also included a change in the test/Makefile.am to add this test case. The build system detected a change in the Makefile.am and wants to regenerate the Makefile.in, but this fails because automake-1.15 is not installed yet. As automake depends on patch being build first, make sure we do not modify the Makefile.am. This fixes build problem seen by the build bots. Fixes: 4797dddfde6 ("patch: apply upstream cve fixes") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools: patch: make patch build depend on automakeHauke Mehrtens2018-10-141-0/+1
| | | | | | | | | | The Makefile.am changed and now patch wants to use automake to regenerate the Makefile.in. Make sure automake was build before we build patch. This fixes build problem seen by the build bots. Fixes: 4797dddfde6 ("patch: apply upstream cve fixes") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools: build squashfs (v3) for ath79Zoltan HERPAI2018-06-161-1/+2
| | | | | | | | | | | | | Certain Netgear and AVM devices use BE squashfs for the kernel image. As squashfs4 only supports creating LE images, add squashfs (v3) into the tools to be built for ath79. Trying to use an LE squashfs (thus trying to use squashfs4 only for building the image) for the kernel image results in the bootloader barfing and stopping. Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* tools/mtd-utils: update to version 2.0.2Hauke Mehrtens2018-04-281-1/+1
| | | | | | | | This version now uses autotools to configure the build system. They are also using the newly added zlib package. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* tools/zlib: move zlib build to toolsHauke Mehrtens2018-04-281-5/+9
| | | | | | | | | | | | | This allows us to link the other tools against our libz and we do not need the system zlib any more. Only the static linked library is copied to the staging directory so we have a statically linked library on all systems and not only on Linux. This also adds the new dependencies of the packages which are depending on zlib. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* tools/upx: Remove from repoDaniel Engberg2017-03-201-1/+0
| | | | | | Remove upx from repo, it hasn't been used for a very long time and serves little to no purpose. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* build: extend CONFIG_AUTOREMOVE to tools/Felix Fietkau2017-01-181-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove separate /install step for host buildsFelix Fietkau2017-01-181-40/+41
| | | | | | Reduces the number of recursive make invocations Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: remove obsolete yaffs toolFelix Fietkau2017-01-091-1/+1
| | | | | | This was added a long time ago and was apparently never used Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: reorganize dependencies, fix build after deleting staging dirFelix Fietkau2017-01-091-12/+15
| | | | | | | | | | | A lot of packages (especially those using libtool) depend on sed being available. xz fails on an incremental build pretty early if it's not there. Clean up handling if essential core tools (patch, tar, xz), build them in parallel and make them depend on sed Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove ubifs xz decompression supportFelix Fietkau2017-01-091-1/+1
| | | | | | | It has been unused, and less useful than squashfs for cases where flash space usage matters. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: make libressl build depend on pkg-configJo-Philipp Wich2017-01-051-0/+1
| | | | | | | Ensure that pkg-config is available before building libressl as we're going to need it for setting proper link flags in utilities requiring libcrypto. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: make cmake depend on libressl, one of its utilities uses itFelix Fietkau2017-01-051-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: build libressl on all systemsFelix Fietkau2017-01-051-4/+2
| | | | | | | Useful for having a more consistent build environment and finding API issues faster Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain: remove ppl/cloog, disable graphite for gcc 4.8Felix Fietkau2016-12-241-11/+1
| | | | | | | | graphite is disabled by default and it's not worth carrying ppl and cloog for supporting this feature on the old gcc 4.8, which is only used for ARC Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: add CHECK_ALL variable to allow make download/check to include not ↵Felix Fietkau2016-12-171-0/+5
| | | | | | selected packages Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: implement make check and make package/X/checkFelix Fietkau2016-12-171-0/+1
| | | | | | | | | | | | | | | | This is intended to be used for a wide array of package sanity checks. The first check that is implemented is for the hash of downloaded files. It checks: - Missing hash - Use of SHA256 instead of MD5 - dl/<file> hash not matching hash in makefile - deprecated MD5SUM variable The deprecated MD5SUM variable check is skipped for feeds/ until OpenWrt is updated as well Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: add missing dependency for dosfstoolsFelix Fietkau2016-10-121-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: do not apply ccache dependency to xzJo-Philipp Wich2016-10-061-1/+1
| | | | | | | Since XZ is needed to bootstrap building ccache we must not depend on it, so remove the dependency on ccache to avoid circular dependencies. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: make all tools depend on xzJo-Philipp Wich2016-10-061-0/+3
| | | | | | | Make all tools except tar (which is required to bootstrap xz-utils) and XZ itself depend on XZ, in order to be able to handle .tar.xz downloads. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: make mtools/dosfstools unconditionalFelix Fietkau2016-08-281-1/+1
| | | | | | The list of targets that need them are getting longer Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: build GNU date from coreutils on non-Linux systemsFelix Fietkau2016-08-231-0/+3
| | | | | | Required for reproducible builds in the kernel build system Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: Select dosfstools for archs38Alexey Brodkin2016-08-181-1/+1
| | | | | | | | | | | | | | | | | In commit df4f41261cf9 ("archs38: Introduce images for SD-cards") we introduced building of SD-card images for ARC HS38-based boards. While building images mkdosfs utility is used. On machines I used for testing mentioned change this utility was already installed so I didn't figure-out that requirement. But thanks to Lede's autobuilder this missing bit was highlighted, see failed build job here: http://phase1.builds.lede-project.org/builders/archs38%2Fsd/builds/0/steps/images/logs/stdio Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: John Crispin <john@phrozen.org> Cc: Jo-Philipp Wich <jo@mein.io>
* tools: bring back genext2fs for apm821xxFelix Fietkau2016-07-231-0/+1
| | | | | | | | This reverts commit 8c68c104eaba65273280c7a4727fbb10ab10f5af. It is used for apm821xx, which needs ext2 (not ext4) images for some devices. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: build b43 tools if the SDK was enabledFelix Fietkau2016-07-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: add kernel2minor utility for Mikrotik devicesSergey Sergeev2016-07-051-0/+1
| | | | | | | | This patch adds support of Mikrotik yaffs2 filesystem image for kernel file and tools/kernel2minor package. We neede this to boot kernel through RouterBoot on new Mikrotik NOR flash devices. Signed-off-by: Sergey Sergeev <adron@yapic.net>
* tools: build msdostools for omapAlexander Couzens2016-06-141-1/+1
| | | | | | | omap requires msdos partition to boot from sdcard. Prepare for upcoming full sdcard image generation. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* build: allow to build LEDE on latest MacOS XWaldemar Brodkorb2016-06-071-0/+5
| | | | | | | | | | | | | Latest Xcode doesn't include openssl anymore. To compile mkimage from u-boot source you need SSL headers on your host. This patch provides libressl host package for any Darwin compilation. Unfortunately openssl from MacPorts can not be used, as the installed headers in /opt/local are breaking GDB compilation. Tested with a RB532 image build and resulting kernel booted on a device via TFTP. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Felix Fietkau <nbd@nbd.name> [fixes, dependencies]
* tools: compile flock before everything elseFelix Fietkau2016-01-201-1/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48413
* mac80211: move b43legacy firmware to a separate packageFelix Fietkau2016-01-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48184
* tools: add isl (used for graphite on GCC 5)Felix Fietkau2015-11-131-4/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47464
* tools: add sdimage for mxsZoltan Herpai2015-09-211-1/+1
| | | | | | | | | This tool is used for SD card generation on Freescale i.MX23/i.MX28 platforms. These CPU's ROM need a tiny header of front of a boot stream. Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 47020
* tools: add tar host build, required for --sort=name which was only added in ↵Felix Fietkau2015-09-111-0/+3
| | | | | | | | the latest version Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46876
* tools: drop circular dependency between patch and ccache, build patch ↵Felix Fietkau2015-07-201-1/+1
| | | | | | | | without ccache (fixes #20132) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46434
* tools: add expat library (to be used by gdb)Felix Fietkau2015-07-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46297
* all: replace genext2fs with make_ext4fsJo-Philipp Wich2015-04-201-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45517
* tools: build ccache when building the sdk (fixes #13949)Felix Fietkau2015-04-031-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45266
* tools: replace ipkg-utils with a reduced ipkg-build variant in scripts/Felix Fietkau2015-03-291-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45129
* tools: build mtools and dosfstools for mxsZoltan Herpai2015-03-271-1/+1
| | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 45055
* tools: add back and update mm-macros, it is required for libsigc++Felix Fietkau2015-03-201-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44905
* tools: remove leftover dependency lineFelix Fietkau2015-03-171-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44870