aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* 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> SVN-Revision: 47010
* 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> SVN-Revision: 46989
* 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> SVN-Revision: 46909
* 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> SVN-Revision: 46908
* 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> SVN-Revision: 46907
* 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> SVN-Revision: 46876
* 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. SVN-Revision: 46661
* 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> SVN-Revision: 46603
* 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> SVN-Revision: 46469
* 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> SVN-Revision: 46458
* 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> SVN-Revision: 46434
* 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> SVN-Revision: 46424
* 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> SVN-Revision: 46378
* 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> SVN-Revision: 46364
* tools: add expat library (to be used by gdb)Felix Fietkau2015-07-102-1/+26
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46297
* 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> SVN-Revision: 46236
* 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> SVN-Revision: 46175
* 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> SVN-Revision: 46132
* ccache: upgrade to version 3.1.11Luka Perkov2015-06-231-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 46114
* 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> SVN-Revision: 46046
* 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> SVN-Revision: 46044
* 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> SVN-Revision: 46030
* firmware-tools/ptgen: use stdint types for struct pteFelix Fietkau2015-06-141-7/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45957
* 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> SVN-Revision: 45956
* 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> SVN-Revision: 45908
* 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> SVN-Revision: 45887
* 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> SVN-Revision: 45881
* firmware-utils: asustrx: support setting firmware versionRafał Miłecki2015-05-271-2/+12
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45791
* 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> SVN-Revision: 45773
* tools/mtd-utils: upgrade to latest gitImre Kaloz2015-05-2613-632/+180
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45760
* 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> SVN-Revision: 45713
* 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> SVN-Revision: 45703
* 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> SVN-Revision: 45644
* 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> SVN-Revision: 45628
* tools/pkg-config: fix compile on musl hostsImre Kaloz2015-05-041-0/+24
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45605
* tools/autoconf: fix compile on musl hostsImre Kaloz2015-05-041-0/+24
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45604
* tools/sed: fix compile on musl hostsImre Kaloz2015-05-041-0/+24
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45603
* make-ext4fs: avoid using libc internal declarationsJo-Philipp Wich2015-05-011-3/+3
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45591
* tools: drop unused genext2fsJo-Philipp Wich2015-04-205-687/+0
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 45518
* all: replace genext2fs with make_ext4fsJo-Philipp Wich2015-04-202-1/+37
| | | | | | 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-2915-353/+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
* 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> SVN-Revision: 44972
* 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> SVN-Revision: 44971
* dosfstools: switch back to release tarballs, update patches to the latest ↵Felix Fietkau2015-03-2216-1853/+2508
| | | | | | | | | | sent upstream This fixes non applying patches on buildbots. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 44936
* tools: add back and update mm-macros, it is required for libsigc++Felix Fietkau2015-03-202-1/+33
| | | | | | 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
* tools: remove a bunch of unused automake macrosFelix Fietkau2015-03-177-509/+1
| | | | | | | | | The feeds that use them have been unmaintained for a long time, and something similar can easily be added as a regular host build package. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44869
* toolchain: remove leftovers from old llvm-gcc experimentsFelix Fietkau2015-03-151-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44783