summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* squashfs4: Add support for LZMA Magic to unsquashfsjogo2011-10-191-0/+72
| | | | | | | | Some vendor firmwares use a different super block magic to indicate LZMA compression. This patches adds support for detecting this and enable extraction for those firmware's root filesystems. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28489 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools]: add upx, but make it build only for ppc nowkaloz2011-10-123-1/+192
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28428 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for TL-WR703N v1juhosg2011-09-211-0/+9
| | | | | | Patch-by: dongyuqi <729650915@qq.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28278 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for TL-WR743ND v1juhosg2011-09-211-0/+9
| | | | | | Signed-off-by: Paul Fertser <fercerpav@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28270 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for TL-WR740N v3juhosg2011-09-211-0/+9
| | | | | | Signed-off-by: Martin Raykov <martin.raykov@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28268 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] mkimage/getline.h - Mac OS X 10.7 (Lion) fixlars2011-08-051-0/+22
| | | | | | | | | | This mends mkimage for getline() in Mac OS X 10.7. Signed-off-by: Joe Roback <openwrt-devel at roback.cc> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27917 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] host/include/getline.h - Mac OS X 10.7 (Lion) fixlars2011-08-051-1/+1
| | | | | | | | | | | | | | | | | | Apple has finally updated their version of Libc, and it now includes getline(). \o/ The following patch fixes OpenWRT getline.h to not redefine it for 10.7. The one caveat is, the includes (at least stdio.h) are needed before the #ifdef so that __DARWIN_C_LEVEL could be properly defined (it is not a compiler built-in define like __linux__ or __APPLE__). This one fixes the host/include/getline.h. The next patch will mend the mkimage package. Signed-off-by: Joe Roback <openwrt-devel at roback.cc> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/quilt: fix spurious calls to the configure and Makefile targets (#8462)nbd2011-08-011-0/+18
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27869 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [include] autotools.mk: implement PKG_FIXUP:=patch-libtooljow2011-08-013-0/+401
| | | | | | | | | This change allows to apply OpenWrt, Buildroot and OE libtool fixes to packages which fail badly at autoreconf. The fixup covers the common libtool versions 1.5, 2.2 and 2.4 and automatically determines the correct version to use. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* quilt: make it possible to override the path to getopt (based on patch from ↵nbd2011-07-311-1/+4
| | | | | | #9842) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* squashfs4: fix a compile error on big-endian systems (patch from #9842)nbd2011-07-311-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* squashfs4: add missing include for freebsd (patch from #9842)nbd2011-07-311-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* pkg-config: fix prefixnbd2011-07-241-1/+1
| | | | | | | | | | | | | | | | Now: % PATH=./staging_dir/host/bin:$PATH STAGING_PREFIX=/test PKG_CONFIG_PATH=$(echo staging_dir/target-*/usr/lib/pkgconfig) ./staging_dir/host/bin/pkg-config --cflags lua -I/test//include After applying the patch: % PATH=./staging_dir/host/bin:$PATH STAGING_PREFIX=/test PKG_CONFIG_PATH=$(echo staging_dir/target-*/usr/lib/pkgconfig) ./staging_dir/host/bin/pkg-config --cflags lua -I/test/include I guess that there sould not be '//' but only one '/'. Signed-off-by: Luka Perkov < openwrt ->-to->- lukaperkov.net > git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27744 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: rename the devname variable in mkwrgimg to avoid a clash ↵nbd2011-07-081-4/+4
| | | | | | with a BSD stdlib function git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add yet another buffalo tooljuhosg2011-07-062-0/+180
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27475 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: allow to create buffalo image from two filesjuhosg2011-07-062-17/+111
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: allow to create buffalo tags w/o hw versionjuhosg2011-07-061-1/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add new firmware tool for the DIR-300-B1 boardjuhosg2011-07-042-0/+241
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27438 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: always build mpc, now that older gcc versions have been eliminated, ↵nbd2011-07-021-2/+1
| | | | | | fixes #9642 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27363 3c298f89-4303-0410-b956-a3cf2f4a3e73
* padjffs2: fix a compiler warning that makes the build fail because of -Werrornbd2011-07-021-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27361 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools: create a new tool for more efficient jffs2 paddingjuhosg2011-07-024-1/+207
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27355 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a portable version of sys/sysmacros.h and and let the kernel use the ↵nbd2011-07-022-1/+58
| | | | | | host include dir, fixes x86 builds on non-gnu systems git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27346 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move mkelfimage from tools/ to package/ as it needs a proper i386 toolchain ↵nbd2011-07-023-35/+1
| | | | | | - make the package hidden so that it is automatically built without having to be selected git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27345 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools/mkimage]: use u-boot 2011.06 as sourcekaloz2011-07-011-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: fix build on big endian systemshauke2011-06-211-1/+1
| | | | | | | This closes #9446 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27255 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: fix buffalo csum calculationjuhosg2011-06-132-2/+4
| | | | | | Also print an error message if decryption fails. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27167 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add support for hd_id tag into mkdniimgjuhosg2011-05-311-4/+13
| | | | | | Signed-off-by: Mark Mentovai <mark@moxienet.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/firmware-utils: add buffalo specific fw toolsjuhosg2011-05-315-0/+1177
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools]blogic2011-05-173-1/+35
| | | | | | | | * adds mkelfimage git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26918 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Add firmware helpers for T-Home Speedport W 303Vflorian2011-05-113-0/+379
| | | | | | | | | Add two helpers for generating correctly tagged images for the T-Home Speedport W 303V Typ B as well as xor'd ones as required by CFE. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26877 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] quilt: fix building with dashjow2011-05-021-2/+6
| | | | | | | | | `test x == x` gives a syntax error with dash (standard in Debian). The modified patch reflects the current upstream: http://git.savannah.gnu.org/cgit/quilt.git/commit/?id=38df0b210c3df67f3e784af92232ae1946b98ecd git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26804 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: Move the OpenWrt rootfs length fieldcshore2011-04-154-35/+2
| | | | | | | | | | | | | | | | Dual image capable CFEs store an image sequence at the same place as currently OpenWrt stores the actual rootfs length, so it will get overwritten when flashing through such a CFE. To prevent this from happening, move the rootfs length field to the next four bytes, thus completely using the reserved1 field. Since the reserved1 field is now completely in use, it does not make sense to allow it to be set from the imagetag utility, so remove the option. Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] ipkg-utils: use (g)stat instead of "du -b" to find package size, ↵jow2011-04-131-1/+1
| | | | | | fixes Darwin compat (#9214) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26642 3c298f89-4303-0410-b956-a3cf2f4a3e73
* missing-macros: add GTKDOC_REBASE macro needed by some newer packagesjow2011-04-122-2/+3
| | | | | | | Signed-off-by: Jochen Friedrich <jochen@scram.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26620 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils: fix endianness bugs in firmware generation program.hauke2011-04-091-12/+29
| | | | | | | | | Should make it work on big endian systems again, I do not have such a system. This closes #9093. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26543 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make the build system a bit more silent without V=99nbd2011-04-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26460 3c298f89-4303-0410-b956-a3cf2f4a3e73
* m4: update to version 1.4.16hauke2011-04-031-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26439 3c298f89-4303-0410-b956-a3cf2f4a3e73
* xz: update to version 5.0.2hauke2011-04-033-139/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26438 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lzma-old: do not install $(STAGING_DIR_HOST)/bin/lzmanbd2011-04-031-4/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26423 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/squashfs4: update to version 4.2 (adds support for xz compression)nbd2011-04-0311-2378/+1027
| | | | | | Based on a patch by Jonas Gorski git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26422 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/cmake: update to version 2.8.4acoul2011-03-241-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26283 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] ipkg-utils: utilize the tar -p flag to preserve permissions (#7667)jow2011-03-211-0/+12
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26258 3c298f89-4303-0410-b956-a3cf2f4a3e73
* firmware-utils/mktplinkfw: add support for the TP-Link TL-WA901ND v2 boardjuhosg2011-03-131-0/+9
| | | | | | Patch-by: Jonathan Benett <jbscience87@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/xz: add some upstream patchesacoul2011-03-102-0/+137
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26018 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] package xfce-macros, required for autoreconf in xfce4 packagesjow2011-03-092-1/+34
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25974 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [tools] bison: fix compilation with stub intl headerjow2011-03-041-0/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25869 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/xz: update to version 5.0.1acoul2011-03-031-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25847 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mklibs: fix some long standing libpthread symbol link issues, mostly related ↵nbd2011-02-282-3/+65
| | | | | | to weak function overrides between libgcc, libc and libpthread git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25795 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mklibs: properly fix library linking - the relinking in some instances used ↵nbd2011-02-281-16/+24
| | | | | | static libraries instead of shared ones with the same name, that led to some nasty symbol conflicts and pic issues. fix this by always using the full path to the libraries and also fix the libc vs libpthread linking order git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25793 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/e2fsprogs: move uuid/uuid.h into a subdirectory, it conflicts with a ↵nbd2011-02-203-0/+6
| | | | | | system header file with the same name on darwin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25598 3c298f89-4303-0410-b956-a3cf2f4a3e73