aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* tools/mkimage: backport SOURCE_DATE_EPOCH for reproducible buildsFelix Fietkau2016-01-284-12/+88
| | | | | | | | | | | | | | | | This pulls in Paul Kocialkowski's SOURCE_DATE_EPOCH support patch for u-boot, which landed upstream circa July 2015. Note that this "host" u-boot repo is only used to compile the 'mkimage' utility, and isn't used to actually compile a bootloader for any target. This patch could be removed if/when the host u-boot package is updated to a contemporary version (but there doesn't seem to be any motivation/need to do so). Signed-off-by: bryan newbold <bnewbold@robocracy.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> [fix portability error, refresh patches] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48542 3c298f89-4303-0410-b956-a3cf2f4a3e73
* flock: do not use ccache, fixes build errorFelix Fietkau2016-01-211-0/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48447 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: compile flock before everything elseFelix Fietkau2016-01-201-1/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48413 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add support for TP-Link VR200vHauke Mehrtens2016-01-181-0/+12
| | | | | | | | | | This adds basic support for TP-Link VR200v. Currently the following parts are not working: FXO, Voice, DECT, WIFI (both) Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48328 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/cmake: update version to 3.4.1Felix Fietkau2016-01-101-4/+4
| | | | | | | | Update cmake version to 3.4.1, released in Dec 2015. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48188 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: move b43legacy firmware to a separate packageFelix Fietkau2016-01-101-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48184 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/e2fsprogs: remove outdated configure argsJohn Crispin2015-12-231-3/+0
| | | | | | | | | | | | removed upstream in 1.40.5: Don't build e2fsck statically by default anymore 7e8fe327b51051adcbb0d44169b1a933173ce1ff fixes: configure: WARNING: unrecognized options: --disable-shared, --enable-static, --enable-dynamic-e2fsck Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47978 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: allow mkfwimage2 to use - in partition namesJohn Crispin2015-12-231-1/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47975 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/squashfs4: refresh patchesFelix Fietkau2015-12-114-13/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47869 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: fix various compiler warningsJohn Crispin2015-12-117-2/+8
| | | | | | | | | mostly implicit defines due to missing includes plus one const that shouldn't be one. Signed-off-by: Felix Kaechele <felix@kaechele.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47865 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mktplinkfw: add missing exceeding bytes info to logsJohn Crispin2015-12-111-2/+2
| | | | | | | | Add the info on exceeding bytes also to the remaining log messages. Signed-off-by: Felix Kaechele <felix@kaechele.ca> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/squashfs: refresh patchesJohn Crispin2015-12-111-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47859 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/squashfs: add argument -fixed-time to set all timestampsJohn Crispin2015-12-112-0/+163
| | | | | | | | | -fixed-time <timestamp> set mkfs-timestamp and file-mtime to this timestamp. Reproducible builds requires the removal of all timestamp or setting all to a specific one. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47858 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils mkmerakifw: firmware generator for MR18John Crispin2015-12-112-0/+264
| | | | | | | | This patch adds firmware generation tool for Cisco's MR18 Signed-off-by: Thomas Hebb <tommyhebb@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mm-macros: update to 0.9.9Felix Fietkau2015-12-101-4/+3
| | | | | | | | | Update mm-macros (mm-common) to 0.9.9. Switch to use the @GNOME source download location. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47824 3c298f89-4303-0410-b956-a3cf2f4a3e73
* update mtd-utils to 1.5.2Hauke Mehrtens2015-12-056-104/+7
| | | | | | | | | | | | | - update mtd-utils to 1.5.2 (git a494d30ab1ae40cb7665680cadf5af3ca3830a73) - remove patches that went upstream - fixes build from scratch as of broken patches Signed-off-by: Sven Roederer <devel-sven@geroedel.de> [use the final version of 1.5.2 instead, fix header of jffs2_lzma_(de,)compress()] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47790 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: make-ext4fs: explicitely request C collation for sortingJo-Philipp Wich2015-12-021-3/+3
| | | | | | | | | Do not rely on the system default collaction when sorting directory entries but explicitely request "C" collation. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47689 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/scons: update to 2.4.1John Crispin2015-11-211-2/+2
| | | | | | | | Update scons to 2.4.1. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/cmake: update to 3.4.0John Crispin2015-11-213-6/+6
| | | | | | | | | Update cmake to 3.4.0. Refresh patches. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47568 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: add isl (used for graphite on GCC 5)Felix Fietkau2015-11-132-4/+37
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47464 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/e2fsprogs: update to 1.42.13Felix Fietkau2015-11-084-17/+15
| | | | | | | | | Update e2fsprogs to 1.42.13. Refresh and cleanup patches. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47426 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/quilt: fix build error during kernel_menuconfig on a cleaned envFelix Fietkau2015-11-071-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | When running "make kernel_menuconfig" right after "make clean", we error out with the following message: Makefile:22: recipe for target '.../build_dir/target-arm_cortex-a7_musl-1.1.10_eabi/linux-.../linux-3.18.18/.quilt_checked' failed make[2]: [.../build_dir/target-arm_cortex-a7_musl-1.1.10_eabi/linux-.../linux-3.18.18/.quilt_checked] Error 127 (ignored) The root cause of the problem is located in the OpenWrt specific quilt patch, which sets the quilt install directory to $STAGING_DIR/../host. However, on a clean environment (right after running "make clean"), $STAGING_DIR doesn't exist. The "quilt" executable doesn't find its different commands, errors out, and creates this message. We're fixing it by using $STAGING_DIR_HOST rather than $STAGING_DIR, which is absolute. It will work even if there is no target directory yet. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mm-macros: update to 0.9.8Felix Fietkau2015-11-061-4/+5
| | | | | | | | | Update mm-macros to 0.9.8. Add a secondary download location. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47393 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/scons: update to 2.4.0Felix Fietkau2015-11-061-4/+4
| | | | | | | | | Update scons to 2.4.0. Change mirror (as the previous one is missing the current version). Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47392 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: work around boot failures with squashfs on BCM6368Jonas Gorski2015-11-041-0/+2
| | | | | | | | | | | Due to the LWL/LWR SMP issue on BCM6368, booting with squash might fail if the rootfs is not word aligned. As a quick fix, work around it by ensuring this condition is always true. Reported-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47380 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/bison: update to 3.0.4Felix Fietkau2015-11-032-5/+4
| | | | | | | | | | Update bison to 3.0.4. Refresh patches. Drop the unnecessary PKG_CAT definition. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47370 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mpfr: update to 3.1.3Felix Fietkau2015-11-032-8/+8
| | | | | | | | | Update mpfr to version 3.1.3. Refresh patches. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47369 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mpc: update to 1.0.3Felix Fietkau2015-11-031-4/+4
| | | | | | | | | Update mpc version to 1.0.3. Change download location to @GNU. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47368 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/cmake: update to 3.3.2Felix Fietkau2015-10-313-17/+15
| | | | | | | | | Update cmake to 3.3.2 and refresh patches. Add a secondary download location. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47327 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/pkg-config: update to 0.29Felix Fietkau2015-10-303-49/+7
| | | | | | | | | | | | Release announcement: http://lists.freedesktop.org/archives/pkg-config/2015-September/001019.html Drop patches, as they have been implemented upstream. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by: Felix Fietkau <nbd@openwrt.org> [fix OSX compatibility] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47300 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/quilt: update to 0.64Felix Fietkau2015-10-303-20/+5
| | | | | | | | | | | Update quilt to version 0.64. Changelog: http://git.savannah.gnu.org/cgit/quilt.git/tree/NEWS?id=v0.64 Refresh patches. (scripts/inspect.in has been removed upstream) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47299 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/xz: update to 5.2.2Felix Fietkau2015-10-301-4/+5
| | | | | | | | | Update xz to version 5.2.2. Add a secondary download location. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47298 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: quilt: fix perl interpreter line (#20802)Jo-Philipp Wich2015-10-261-2/+58
| | | | | | | | | | When using '/usr/bin/env' in a shebang it is not possible to specify additional flags for the interpreter. Remove '-w' switches and add 'use warnings;' instead. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: scons: Add alternate download URLFlorian Fainelli2015-10-221-1/+2
| | | | | | | | | | | | | | | | sourceforge.net sometimes produces the following tarball file while being behind a HTTP proxy: We're sorry -- the Sourceforge site is currently in Disaster Recovery mode, and currently requires the use of javascript to function. Please check back later. Update to a regular FTP location that allows us to complete the download. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Bitmain Antminer S1 & S3 cleanupJohn Crispin2015-10-191-2/+7
| | | | | | | | | | | | Sets the LEDs to boardname:color:led-name Sets the LAN to eth0 Other corrections such as the Machine Name and HWIDs v2 corrects the profile names in the Makefile and changes tabs to spaces in the Makefile 'define Device/' like the other devices. Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47221 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: tplink-safeloader: add version 1.1 support to ↵John Crispin2015-10-191-4/+4
| | | | | | | | | | | | | | CPE210/220/510/520 The hardware is identical to version 1.0, add the new models to the support list. Also remove the empty line at the end of the support list, the current stock images don't have it either. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47212 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: tplink-safeloader: fix support-list format, clean up ↵John Crispin2015-10-191-17/+30
| | | | | | | | | | | vendor information The first 4 bytes of the support list and the vendor information are supposed to contain the length of these fields. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47211 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: tplink-safeloader: clean up codeJohn Crispin2015-10-191-11/+11
| | | | | | | | There is no reason for the internal functions not to be static. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47210 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/buffalo-enc: explicitly use signed char for checksum functionFelix Fietkau2015-10-121-1/+1
| | | | | | | | | ARM defaults to unsigned char and that breaks the calculation, as it relies on sign extension Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47186 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/buffalo-enc: add support for decrypting data with an offsetFelix Fietkau2015-10-121-3/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47185 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: firmware-utils: fix compiler warningsHauke Mehrtens2015-10-1115-29/+31
| | | | | | | | | This just fixes a lot of compiler warnings. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47181 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtools: build and install mmdJohn Crispin2015-10-111-1/+3
| | | | | | | | useful for making MS-DOS subdirectories Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47170 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add target TP-Link TD-W8980John Crispin2015-10-051-0/+5
| | | | | | | | | The device is similar to the TD-W8970, beside a different Atheros 2.4 GHz wireless chip and the additional, PCI connected, WAVE300 5 GHz wireless. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* quilt: add further relocatability fixesJo-Philipp Wich2015-09-292-4/+58
| | | | | | | | | Prevent quilt's build system from generating useless compat wrappers and hardcoded absolute utility paths to binaries in staging_dir/host/. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47070 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bison: replace the yacc script with one that does not hardcode the path ↵Felix Fietkau2015-09-262-0/+7
| | | | | | | | (fixes #20605) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/patch: enable parallel buildFelix Fietkau2015-09-261-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47049 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: add sdimage for mxsZoltan HERPAI2015-09-212-1/+38
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47020 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: fix PKG_MIRROR_MD5SUMFelix Fietkau2015-09-211-1/+1
| | | | | | | | The checksum doesn't match the file on mirror2.openwrt.org. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: avoid linking libm staticallyJo-Philipp Wich2015-09-171-10/+30
| | | | | | | | | Rework static linker flags to not link libm statically, this should fix the build on CentOS where libm.a is not provided by the libc devel package. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/make-ext4fs: prefer static linkingJo-Philipp Wich2015-09-141-4/+8
| | | | | | | | Link zlib statically on Linux systems. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46909 3c298f89-4303-0410-b956-a3cf2f4a3e73