aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* 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
* tools/mtd-utils: prefer static linkingJo-Philipp Wich2015-09-142-1/+29
| | | | | | | | | | - Add patch for optional static linking preference - Prefer static linking on Linux systems - Enable verbose compiler messages when building with V=c Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46908 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/xz: disable shared libraryJo-Philipp Wich2015-09-141-0/+4
| | | | | | | | | Force a static build of the xz utilities in order to avoid the dependency on a shared liblzma.so which might collide with the distro version. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46907 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: add tar host build, required for --sort=name which was only added in ↵Felix Fietkau2015-09-113-0/+50
| | | | | | | | the latest version Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46876 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add header version 2 support for mktplinkfwJohn Crispin2015-08-171-4/+21
| | | | | | | | | | | | | | | | Signed-off-by: Weijie Gao <hackpascal@gmail.com> This patch adds header version 2 option for mktplinkfw. The version 2 header is used for AR/QCA firmwares and is not the same as the header generated by mktplinkfw2. Instead, it is nearly the same as version 1 header except for the header version and the RSA signature. The header version 2 support is used for newer TP-Link routers which have only a 64kb bootloader part, e.g. TL-WDR6500 v2. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46661 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: xz: update to version 5.2.1Hauke Mehrtens2015-08-151-2/+2
| | | | | | | | | | This adds support for symbol versioning which is needed on CentOs/RedHat 7 to fix #20134. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils mktplinkfw: print amount of exceeding bytesJohn Crispin2015-07-241-10/+11
| | | | | | | | This is very useful for trimming images towards 4 MiB flash size. Signed-off-by: Stephan Maka <stephan@spaceboyz.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Onion OmegaJohn Crispin2015-07-241-0/+6
| | | | | | | | | | | | This patch adds support for the Onion Omega. https://onion.io/omega Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Acked-by: Boken Lin <bl@onion.io> Tested-by: Jacky Huang <huangfangcheng@163.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46458 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: drop circular dependency between patch and ccache, build patch ↵Felix Fietkau2015-07-202-1/+4
| | | | | | | | without ccache (fixes #20132) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46434 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mkimage: cross compile fix: pass HOST_*FLAGS in to uboot's makefileFelix Fietkau2015-07-191-2/+2
| | | | | | | | | | The HOST_*FLAGS are for compiling programs which will run on the machine that is running the build. Setting these flags is frequently required for unusual cross-compiles. Signed-off-by: Lawrence D'Anna <larry@elder-gods.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46424 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/e2fsprogs: add a darwin-compat patchFelix Fietkau2015-07-151-0/+22
| | | | | | | | | On darwin we need to import stdint to get these integer typedefs. Patch by: Lawrence D'Anna <larry@elder-gods.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46378 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ccache: Make ccache aware of OpenWRT provided GCC patch.Felix Fietkau2015-07-142-20/+37
| | | | | | | | | | | | | | | | The OpenWRT GCC patch, 910-mbsd_multi.patch adds an extra option to gcc that depends on an environment variable. Standard ccache is unaware of this option and therefor can produce stdout from gcc that doesn't correspond to what you would get if you actually do a direct compilation with gcc. This commit adds a patch to ccache to make it aware of the new option and removes the feature from the ccache package to use the host system's installed ccache binary. Signed-off-by: Karl Vogel <karl.vogel@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46364 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: add expat library (to be used by gdb)Felix Fietkau2015-07-102-1/+26
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46297 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add Support for the Bitmain Antminer S3John Crispin2015-07-071-0/+1
| | | | | | | | | | This patch adds support for the Bitmain Antminer S3 Cryptocurrency Miner http://wiki.openwrt.org/toh/bitmain/s3 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46236 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scons: change md5sum to new releaseHauke Mehrtens2015-07-041-1/+1
| | | | | | | | | | | | The developers of scons found a bug in the packaging of their release and just replaced the already released version with a new one without changing the version number. This breaks the download script because it also has a new md5sum. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46175 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: scons: update to version 2.3.5Hauke Mehrtens2015-06-251-2/+2
| | | | | | | | | This brings scons to the most recent version. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46132 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ccache: upgrade to version 3.1.11Luka Perkov2015-06-231-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46114 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for TL-WR720N-v4.John Crispin2015-06-181-0/+6
| | | | | | | | | | The hardware should be almost the same as TL-WR720N-v3. WiFi and LAN networks were tested by "Lo Yuk Fai <loyukfai@gmail.com>". Failsafe and slider switch were tested by "Wong min <alpha080@gmail.com>". Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46046 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add Support for the Bitmain Antminer S1John Crispin2015-06-181-0/+6
| | | | | | | | | | | This patch adds support for the Bitmain Antminer S1 Cryptocurrency Miner http://wiki.openwrt.org/toh/bitmain/s1 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> Acked-by: James Hilliard <james.hilliard1@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46044 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libtool: passthrough -fstack-protector* to linkerSteven Barth2015-06-181-0/+12
| | | | | | | | on some platforms this is needed for gcc to link libssp Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46030 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-tools/ptgen: use stdint types for struct pteFelix Fietkau2015-06-141-7/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-tools/ptgen: fix endianness conversion for PTE .start, .length field.Felix Fietkau2015-06-141-4/+4
| | | | | | | | They are of 32-bit little endian integers. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bc: add download mirrorsHauke Mehrtens2015-06-061-1/+4
| | | | | | | | | | | | | | Add three download mirrors for 'bc', as the Makefile currently defines only one download location. @GNU can not be used, as the most recent version of 'bc' is not available at the general GNU mirrors, and can only be found at the "gnu-alpha" mirrors. Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45908 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gmp: disable assembly to fix build on systems that use PIE binariesFelix Fietkau2015-06-041-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45887 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: Allow changing the CRC32 poly value in mkbrnimgJohn Crispin2015-06-031-7/+13
| | | | | | | | | | | | | | VGV7519 is currently the only device with brnboot support. It seems to be happy with 0x2083b8ed as CRC32 poly. However, VGV7510KW22 fails to validate the checksum - it requires 0x04c11db7 instead. I have built an brnboot image manually on the command line, once with the old code and then with the new code but passing the old CRC32 poly value. Both resulted in a brnboot image with the same sha1sum. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45881 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: asustrx: support setting firmware versionRafał Miłecki2015-05-271-2/+12
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45791 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: asustrx: new tool for TRX format with Asus tailRafał Miłecki2015-05-272-0/+247
| | | | | | | | Asus devices use TRX format with some extra data at the end. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45773 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mtd-utils: upgrade to latest gitImre Kaloz2015-05-2613-632/+180
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45760 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: gengetopt: Disable doc and tests buildsFlorian Fainelli2015-05-221-0/+13
| | | | | | | | | | Simply disable the build of the "doc" and "tests" directories to speed up the build and avoid the potential for errors coming from external tools being used (e.g: source-highlight installed on a non-standard location). Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45713 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/mkimage: backport gcc5 compatibility, patchHauke Mehrtens2015-05-191-0/+93
| | | | | | | | | | | | | | | | | | | | | | Fedora 22 includes gcc5 by default build leads to error: include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc5.h: No such file or directory backport upstream patch: "Add linux/compiler-gcc5.h to fix builds with gcc5" id: 478b02f1a7043b673565075ea5016376f3293b23 Issue was reported at https://forum.openwrt.org/viewtopic.php?id=56853 & replicated in a VM created, flashed and tested ar71xx image successfully as test Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45703 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mktplinkfw: add flag to ignore size limit (used for initramfs images)Felix Fietkau2015-05-081-3/+13
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45644 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: host/include/getline.h: fix FreeBSD 8.0+ supportImre Kaloz2015-05-081-1/+5
| | | | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/pkg-config: fix compile on musl hosts Imre Kaloz2015-05-041-0/+24
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45605 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/autoconf: fix compile on musl hosts Imre Kaloz2015-05-041-0/+24
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/sed: fix compile on musl hostsImre Kaloz2015-05-041-0/+24
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make-ext4fs: avoid using libc internal declarationsJo-Philipp Wich2015-05-011-3/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45591 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: drop unused genext2fsJo-Philipp Wich2015-04-205-687/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45518 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all: replace genext2fs with make_ext4fsJo-Philipp Wich2015-04-202-1/+37
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45517 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: build ccache when building the sdk (fixes #13949)Felix Fietkau2015-04-031-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45266 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: replace ipkg-utils with a reduced ipkg-build variant in scripts/Felix Fietkau2015-03-2915-353/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: build mtools and dosfstools for mxsZoltan HERPAI2015-03-271-1/+1
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* automake: portability fixesJo-Philipp Wich2015-03-243-5/+59
| | | | | | | | | | | | | The rework of the host tools discovery caused automake to embed absolute paths to staging_dir/host/bin/perl into the shebang of the generated automake executables. Switch to the portable "/usr/bin/env perl" and enable global warnings through "$^W" instead of the "-w" interpreter argument. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* autoconf: portability fixesJo-Philipp Wich2015-03-243-22/+84
| | | | | | | | | | | | | The rework of the host tools discovery caused autoconf to embed absolute paths to staging_dir/host/bin/perl into the shebang of the generated autoconfig executables. Switch to the portable "/usr/bin/env perl" and enable global warnings through "$^W" instead of the "-w" interpreter argument. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44971 3c298f89-4303-0410-b956-a3cf2f4a3e73