aboutsummaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* xz: update to version 5.2.1Hauke Mehrtens2015-08-171-2/+2
| | | | | | | | | | | | Backport of 46603. 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/branches/chaos_calmer@46681 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Backport support for Onion OmegaJohn Crispin2015-08-031-0/+6
| | | | | | | | | | | | Backport of r46458 to CC 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/branches/chaos_calmer@46548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: drop circular dependency between patch and ccache, build patch ↵Felix Fietkau2015-07-262-1/+4
| | | | | | | | | | without ccache (fixes #20132) Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r46434 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* v3: CC : ar71xx: Backport Support for the Bitmain Antminer S3John Crispin2015-07-241-0/+1
| | | | | | | | Backport of r46236 to CC : add support for the Bitmain Antminer S3 Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46445 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> Backport of r46046 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46056 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> Backport of r46044 git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46054 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
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44936 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44905 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: remove leftover dependency lineFelix Fietkau2015-03-171-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44870 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44869 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: remove leftovers from old llvm-gcc experimentsFelix Fietkau2015-03-151-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44783 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dosfstools: fix build on OS XFelix Fietkau2015-03-151-0/+1849
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44763 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dosfstools: update to v3.0.27Felix Fietkau2015-03-151-7/+15
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44762 3c298f89-4303-0410-b956-a3cf2f4a3e73
* patch: bump GNU patch to 2.7.5Felix Fietkau2015-03-151-3/+3
| | | | | | | | | Bump GNU patch in tools from 2.7.1 to 2.7.5. Change download URL to use @GNU alias. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44760 3c298f89-4303-0410-b956-a3cf2f4a3e73
* disable silent-rules by defaultMirko Vogt2015-03-121-1/+4
| | | | | | | | | | | | OpenWrt hides verbose output by default, regardless of automake silent-rules being en-/disabled. If we enable verbose output for package builds (V=s) however, we'd like to see as most as possible. Signed-off-by: Mirko Vogt <mirko@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44685 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Do not use $(V) - force AM_V=1Mirko Vogt2015-03-121-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Projects using silent-rules might otherwise fail to compile. This is due to the following resulting Makefile code: AM_V_P = $(am__v_P_$(V)) am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) am__v_P_0 = false am__v_P_1 = : Automake directly uses $(V) for variable name expansion which fails if $(V) is set to sth. else other than '0' or '1'. This patch forces automake to not take $(V) into account but to always use the default config for verbosity. A better approach would be to actually take $(V) into account, however not just pass it through (AM_V='$(V)') but set AM_V to 0 if $V=0 / unset and to 1 otherwise. This plan however is foiled due to my frustration about automake as well as my lack of m4 skills. automake bug report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20077 Signed-off-by: Mirko Vogt <mirko@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: do not align squashfs rootfs startJonas Gorski2015-02-274-94/+124
| | | | | | | | | | | | | We do not need to align the start of read only rootfs's to erase blocks. This allows us to write the squashfs rootfs directly behind the kernel, potentially freeing up one erase block. We still need to align for jffs2, so add a flag for imagetag to optionally align the rootfs start. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44556 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: imagetag: use cyg_crc32 instead of duplicating codeJonas Gorski2015-02-272-47/+5
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44554 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: TL-WA7210n v2 supportJohn Crispin2015-02-241-0/+6
| | | | | | | | | | This patch adds support for TP-Link TL-WA7210n[0] [0] http://www.tplink.com/en/products/details/?model=TL-WA7210N Signed-off-by: Hendrik Frenzel <hfrenzel@scunc.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44526 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mtools: fix build errors on mac os x (#19064)Felix Fietkau2015-02-241-0/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/patchelf: fix portability issue breaking mac os x builds (#18998)Felix Fietkau2015-02-191-0/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44493 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: add patchelf host buildJo-Philipp Wich2015-02-102-1/+28
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44376 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: remove static linking supportJo-Philipp Wich2015-02-0628-40/+20
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44285 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: Fix cmake build on FreeBSD 10.1Jo-Philipp Wich2015-02-051-0/+44
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44281 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: Fix mkimage build on FreeBSD 10.1Jo-Philipp Wich2015-02-051-0/+14
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44280 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: Fix mpfr build on FreeBSD 10.1Jo-Philipp Wich2015-02-052-1/+11
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44279 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: Fix xz build on FreeBSD 10.1Jo-Philipp Wich2015-02-051-0/+11
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44278 3c298f89-4303-0410-b956-a3cf2f4a3e73