Commit Graph

561 Commits (8213a8e8f587a550c9b82abaf3d092220b28ebb4)

Author SHA1 Message Date
Jo-Philipp Wich 5a89b069c8 tools/ipkg-utils: calculate installed size from embedded data.tar.gz, makes opkg space checking more precise
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-16 22:16:49 +00:00
Jo-Philipp Wich 2703d41901 [tools] mklibs: import missing symbol workaround from Freetz project (#7590)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:49:41 +00:00
Gabor Juhos 619a487ff3 firmware-utils/mkdniimg: don't use NA region by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:37:09 +00:00
Gabor Juhos 1222152a82 firmware-utils/wndr3700: allow to specify image magic via command line
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-14 10:37:04 +00:00
Alexandros C. Couloumbis 9c1e174ded tools/mkimage: fix r24887
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 14:27:53 +00:00
Alexandros C. Couloumbis ba26e4c4db tools/qemu: fix FreeBSD compile issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 12:59:43 +00:00
Alexandros C. Couloumbis 0f02b1885e tools/mkimage: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-03 12:30:19 +00:00
Jo-Philipp Wich c97b524b65 [tools] missing-macros: add as-unaligned-access.m4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-02 01:23:44 +00:00
Jo-Philipp Wich aec2bdb65a [tools] missing-macros: add as-compiler-flag.m4 and as-version.m4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-02 01:14:45 +00:00
Jo-Philipp Wich b9a0138f59 [tools] revert r24851, it breaks compilation on many hosts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-01 15:51:12 +00:00
Hauke Mehrtens 91c00969b4 tools: add some missing dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-01 15:18:57 +00:00
Felix Fietkau 167332ea2e tools/mkimage: remove the broken portability patch, it is no longer necessary with the new version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-30 15:48:32 +00:00
Alexandros C. Couloumbis 9ac43f0eb1 tools/e2fsprogs: update to version 1.41.14
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-29 17:38:48 +00:00
Jo-Philipp Wich 58361fdf99 [tools] missing-macros: add as-ac-expand.m4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-29 09:39:09 +00:00
Daniel Dickinson ec103967cb Added OpenWRT-specific field to imagetag so that we can record the real root length, so that when the CRC fixup is applied and the root length is recorded as zero we can still calculate the rootfs mtd partition size.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-26 04:18:13 +00:00
Gabor Juhos 605dc51087 ar71xx: add support for TL-WR740N v1
Same as TL-WR741ND but with different hardware ID and without
detachable antenna.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-23 12:42:16 +00:00
Imre Kaloz 93ecf94d98 [tools/mkimage]: use u-boot v2010.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24809 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-23 00:07:58 +00:00
Jo-Philipp Wich bc23e272b6 [tools] missing-macros: extend fake-gtk-doc-check.m4 (fixes autoreconf in orbit2), provide fake-intltool.m4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 09:33:06 +00:00
Jo-Philipp Wich ffa78426d4 [tools] missing-macros: add xmms.m4, from libflac
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24784 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 08:04:33 +00:00
Jo-Philipp Wich 8d2db5e858 [tools] missing-macros: add missing serial numbers, split acc.m4 into mfx_acc.m4, mfx_cppflags.m4 and mfx_limits.m4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 01:21:06 +00:00
Jo-Philipp Wich fe6e7150c3 [tools] missing-macros: fix a bunch of underquoted definition warnings in various 3rd party macros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 01:03:17 +00:00
Jo-Philipp Wich 33b2fbc6d8 [tools] missing-macros: add more m4 macros from gettext, ossp-js, libmikmod, libdnet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 00:38:21 +00:00
Jo-Philipp Wich c5ad6f017e [tools] missing-macros: add acc.m4, used by ucl and lzo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 00:11:47 +00:00
Jo-Philipp Wich 7ec016fe57 [tools] add missing makefile in previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 00:03:15 +00:00
Jo-Philipp Wich 1d0bd7a31d [tools] package mm-common, this provides missing m4 macros for glibmm, gtkmm, cairomm and other Gnome C++ bindings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-22 00:02:36 +00:00
Jo-Philipp Wich 0a60d4f2af [tools] introduce missing-macros meta package, this will supply needed m4 macros which are used but not shipped by various packages in feeds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-21 23:50:41 +00:00
Jo-Philipp Wich 8a05d522c6 [tools] libtool: extend all ltmain.m4sh patches to cover ltmain.sh as well, prevent configure from embedding host library paths
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-21 22:37:54 +00:00
Jo-Philipp Wich 77e6133954 [tools] libtool: strip unsave directories from relink command, nuke every -L that looks like /usr/lib or /lib
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-20 19:43:57 +00:00
Hauke Mehrtens a22fbebb05 e2fsprogs: add two compile fixes.
Thank you Joe Roback for reporting and fixing compiling on Darwin.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 11:43:45 +00:00
Hauke Mehrtens b1ea33a4f8 tools: fix dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24693 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-19 00:05:17 +00:00
Jo-Philipp Wich 24fdafc304 [tools] the mpfr dependencies accidentally got broken up, fix it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 19:59:04 +00:00
Hauke Mehrtens 8f28f4bf39 e2fsprogs: update to version 1.41.13
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 19:47:11 +00:00
Hauke Mehrtens 18a4a92b1c tools: add missing dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 19:46:39 +00:00
Hauke Mehrtens 53561f6994 cloog: libtools has to be run
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 19:34:55 +00:00
Hauke Mehrtens 7aa038b3c1 ppl: go back to version 0.10.2
GCC 4.5 needs ppl in version 0.10.2. The patch makes it compile with gmp 5.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 19:34:04 +00:00
Jo-Philipp Wich 39140aae07 [tools] make libtool a tool build and let autoconf depend on it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-18 18:07:53 +00:00
Gabor Juhos 82e2bf1f16 firmware-utils/mkzynfw: fix available flash space calculation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 20:34:31 +00:00
Jo-Philipp Wich d4fe3146b7 [tools] build flex on the host, some pakcages need it in the newest version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-17 02:41:16 +00:00
Jo-Philipp Wich 03000283da [tools] mpfr: reenable HOST_FIXUP, it *should* work okay now after r24570
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-15 00:39:14 +00:00
Jo-Philipp Wich 7a8254a581 [tools] mpfr: disable host fixup for now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 23:07:30 +00:00
Jo-Philipp Wich d9df1e57f5 [tools] reorder dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 21:02:31 +00:00
Jo-Philipp Wich c9b8a4cad3 [tools] mpfr: use autoreconf host fixup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-13 21:01:34 +00:00
Florian Fainelli 30ce14b5fc Revert "[tools] sstrip: Correct include path to really get endian.h" (#8447)
This reverts commit ac0f793ae985db73caf99916336569c211a759f8.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 14:53:24 +00:00
Daniel Dickinson 92e7214121 [tools] Makefile: Put lzma before squashfs so compile of squashfs4 succeeds (depends on lzma)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 05:50:47 +00:00
Daniel Dickinson b30b5da762 [tools] sstrip: Correct include path to really get endian.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 05:02:41 +00:00
Daniel Dickinson 4755039901 Revert "[tools] sstrip: Was missing include of <byteswap.h>"
This reverts commit bcb48716d097c16834f222c267c73e847f4a8dd0.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 04:59:51 +00:00
Daniel Dickinson 7a97921bce [tools] sstrip: Was missing include of <byteswap.h>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-12 04:57:07 +00:00
Hauke Mehrtens 96a66fe17b ppl: update to new version.
The old version is not compatible with gmp 5.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 23:55:39 +00:00
Felix Fietkau a19ac0ab21 tools/xz: do not overwrite the lzma binary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 21:29:53 +00:00
Hauke Mehrtens d67ccddfcf qemu: update qemu to version 0.13.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 16:08:10 +00:00
Felix Fietkau 9c8f1a4da5 add a host package for xz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 13:20:19 +00:00
Jo-Philipp Wich 7ffb9a20d6 [tools] remove obsolete stamp dep after r24474
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 03:18:31 +00:00
Jo-Philipp Wich 1e0decbb96 [buildroot] rework aclocal handling, packages have issues writing through the symlink so keep the host aclocal as include path for now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 03:15:10 +00:00
Jo-Philipp Wich aefe068d06 [tools] fix xorg-macros dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 20:25:52 +00:00
Jo-Philipp Wich a887f2be57 [tools] turn util-macros into tools/xorg-macros host build, provides global xorg m4 macros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 20:23:48 +00:00
Gabor Juhos ec84d57d10 firmware-utils/mktplinkfw: add support for the TL-MR3220 v1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 17:57:43 +00:00
Jo-Philipp Wich 2356a41233 [tools] automake: rework patch; only skip when the directories does not exist, this preserves error cases like missing access permissions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 16:10:07 +00:00
Jo-Philipp Wich 1998779bd6 [tools] automake: use symlinks instead of hardlinks to link aclocal versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 16:03:27 +00:00
Jo-Philipp Wich d47f844c99 [tools] automake: skip over not existing m4 macro directories, don't fail
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 16:01:33 +00:00
Felix Fietkau b7cd143d1c make $(STAGING_DIR)/host/share/aclocal a symlink to $(STAGING_DIR_HOST)/share/aclocal
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 15:20:44 +00:00
Jo-Philipp Wich dde3336f0d [tools] revert r24406
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 12:58:15 +00:00
Jo-Philipp Wich 9ea2482194 [tools] revert r24407, its already packaged in the xorg feed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 10:44:58 +00:00
Jo-Philipp Wich ea9e5d72aa [tools] package xorg-macros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 10:01:45 +00:00
Jo-Philipp Wich b69485d99f [tools] pkg-config: install pkg.m4 to aclocal/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 09:35:16 +00:00
Alexandros C. Couloumbis 3596666f1a tools/mpfr: update to version 3.0.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 13:31:57 +00:00
Alexandros C. Couloumbis 0120169471 tools/mpc: update to version 0.8.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 13:30:30 +00:00
Alexandros C. Couloumbis 1290953f06 tools/gmp: update to version 5.0.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24380 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 13:28:57 +00:00
Alexandros C. Couloumbis 1a4f1b6584 tools/cloog: update to version 0.15.10
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 12:21:36 +00:00
Alexandros C. Couloumbis be65dbc90a tools/ccache: update to version 3.1.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24377 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-09 12:12:40 +00:00
Alexandros C. Couloumbis 9bd6dcb9ba tools/automake: add symbolic links upto version 1.11.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 17:38:09 +00:00
Alexandros C. Couloumbis abf928b1d8 tools/mklibs: revert r24282
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 13:21:09 +00:00
Alexandros C. Couloumbis 97954f6e48 tools/mklibs: update to version 0.1.30
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 12:32:04 +00:00
Alexandros C. Couloumbis 5620baa9b4 tools/bison: update to version 2.4.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 12:21:08 +00:00
Alexandros C. Couloumbis 785469737d tools/m4: update to version 1.4.15
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 12:16:40 +00:00
Alexandros C. Couloumbis 166a469b0b tools/autoconf: update to version 2.68
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 12:14:50 +00:00
Alexandros C. Couloumbis 23c1a14e56 tools/automake: update to version 1.11.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 12:11:47 +00:00
Hauke Mehrtens d0757421a7 brcm47xx: Add edimax PS1208mfg support
Thank you clemvangelis for the patches. (closes #7672)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-02 21:27:54 +00:00
Alexandros C. Couloumbis d5634c554b tools/pkg-config: update to version 0.25
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-25 18:56:19 +00:00
Alexandros C. Couloumbis 62c721aac1 tools/e2fsprogs: fix freebsd compile issue
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 14:00:36 +00:00
Alexandros C. Couloumbis 0dd88d0a3b tools/mtd-utils: update to mtd-utils-20101124
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 12:05:06 +00:00
Alexandros C. Couloumbis 28ab38511e tools/e2fsprogs: update to e2fsprogs-1.41.12
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 11:59:51 +00:00
Felix Fietkau 8fdb4f5787 e2fsprogs: fix libuuid installation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 21:56:15 +00:00
Felix Fietkau a5256107f1 e2fsprogs: clean up the makefile and install libuuid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 14:26:06 +00:00
Imre Kaloz 00da58c6ae remove 2.6.25 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 13:43:32 +00:00
Imre Kaloz 276290e86b [tools]: add e2fsprogs to tools and use that instead of libuuid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-22 11:26:45 +00:00
Daniel Dickinson caefcca898 [tools/firmware-utils] imagetag: Significantly updated brcm63xx imagetag writing tool.
* Rewrote commandline parsing code using gengetopt
		- We now get long options
		- We have more options including use of the info section for 
			board information (e.g. to add the same boardid but
			different GPIOs on different routers)
	* Added back the ability to write stock images (this is useful, for example,
		when copying the firmware from the in-memory flash, and then being
		able to create an image that will let you revert to/test stock firmware
	* Fixed copying of CRCs to use memcpy instead of strncpy (strncpy stops at 0)
	* Added ability to use all sections of the imagetag, including custom magic 
	 	signatures (e.g. for the Telsey router I'm adding soon), info sections,
		and reserved sections
	* Added putting the router type (as defined in the image generating Makefile)
		into the info1 section and the filesystem type in the info2 section.
		This will be used by mtd (when I add the code) to return the name of
		image used to flash this router.  (As requested by Jo, as well as being
		useful for same boardid different board scenario described above).



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-16 06:46:53 +00:00
Daniel Dickinson 2d31577125 [tools] brcm63xx: imagetag: Fixed occaisonal wrong CRC in image due to using strncpy to copy the CRC into the imagetag. strncpy stops copying after a 00 byte, memcpy doesn't.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-15 04:08:09 +00:00
Alexandros C. Couloumbis 5d1ac2fb37 target/linux/orion: create subtargets (closes #8154)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 22:10:11 +00:00
Michael Büsch 73753aef90 ensure an empty BUILD_DIR variable is passed down u-boot's makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-03 18:26:26 +00:00
Felix Fietkau d582572b08 add a stripped down (and portable) version of flock to the host tools
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-29 13:39:18 +00:00
Alexandros C. Couloumbis 5a604e9538 tools/mtd-utils: add two upstream patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-15 07:52:37 +00:00
Jo-Philipp Wich fe82ccb835 [tools] quilt: pass PATH and FIND to configure (FreeBSD compatibility)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-07 11:33:54 +00:00
Jo-Philipp Wich 568fd53c83 [tools] reenable squashfs4 for ar71xx, it needs both old and new
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-06 22:34:35 +00:00
Jo-Philipp Wich 4b56e28bbb [tools] ipkg-utils: don't fail if conffiles do not exist, resolve them instead and silently skip not existing files.
This prepares support for sysupgrade hints using to build the keepfile list.
Subsequent commits will rely on this feature - a rebuild of tools/ipkg-utils is necessary!


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 19:18:15 +00:00
Imre Kaloz 961a7ea9c6 Toto, we don't support Linux 2.4 anymore..
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 14:15:46 +00:00
Imre Kaloz 9cf7ac1199 [tools]: simplify old squashfs/lzma selection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 14:14:12 +00:00
Alexandros C. Couloumbis 5923e0e180 tools/sed: update to sed-4.2.1 (also tested on FreeBSD/AMD64)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-05 13:51:54 +00:00
Jo-Philipp Wich 8affb49069 [tools] mtd-utils: refresh patches again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 12:15:04 +00:00
Alexandros C. Couloumbis 8d6ec9e470 tools/mtd-utils: fix build issue under freebsd. update to latest git tree. (thanks loswillios & larsc)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 12:03:21 +00:00
Alexandros C. Couloumbis 1ac30b66a6 tools/mtd-utils: kill 132-revert-zlib-cleanup.patch. it's wrong.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-03 11:12:36 +00:00
Lars-Peter Clausen 59c8c4fac7 [tools] libuuid: Use libuuid from util-linux-ng instead of e2fsprogs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 23:18:46 +00:00
Jo-Philipp Wich 500055a6ad [tools] mtd-utils: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 16:42:57 +00:00
Jo-Philipp Wich ec5439f204 tools/mtd-utils: fix compilation on OS X
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-02 10:18:34 +00:00
Alexandros C. Couloumbis 5dab71a402 tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin) build issues.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-01 16:39:08 +00:00
Gabor Juhos 4cda300019 firmware-utils/mktplinkfw: add support for the TL-MR3420 v1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:54:02 +00:00
Gabor Juhos 64a74c52e0 firmware-utils/mktplinkfw: add support for the TL-WR841N v7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-27 14:53:51 +00:00
Jo-Philipp Wich b6bac9b907 [tools] mtd-utils: revert r23075
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-15 23:50:31 +00:00
Jo-Philipp Wich 7b30153bd9 [tools] mtd-utils: do not rely on host kernel headers, redefine the integer types instead (#7950)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-15 22:45:54 +00:00
Jo-Philipp Wich 940f4bb307 [package] revert r23048 for now until Darwin compile issues have been sorted out (#7934)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23057 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-13 18:50:41 +00:00
Alexandros C. Couloumbis a1044e4906 tools/mtd-utils: update to version git-20100912
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-13 07:39:44 +00:00
Felix Fietkau 607146b4f2 fix build error in tools on darwin on newer macs (patch by dirtyfreebooter)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-05 16:16:59 +00:00
Michael Büsch ef67285052 Zcomax device firmware tool endianness fix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-04 05:40:56 +00:00
Gabor Juhos 42a913f817 tools/firmware-utils: new tool for the Zcomax devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-03 18:14:40 +00:00
Felix Fietkau e3b691c96c add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-01 17:51:36 +00:00
Andy Boyett e78e58e4de [tools] qemu: add dependency on libuuid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22757 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 09:16:49 +00:00
Andy Boyett 9d6ca18739 [tools] qemu: fix build failure on some systems. Closes #7767
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-21 17:02:09 +00:00
Andy Boyett 461fc7d3a9 [tools] quilt: needs autoconf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-14 22:58:55 +00:00
Florian Fainelli 0a46a65d59 [tools] update wrt350nv2 builder to v2.3 (#7580)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-10 15:19:06 +00:00
Andy Boyett df7283d7f0 [tools] qemu: build qemu-img for packaging vmdk and vdi images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-09 04:22:34 +00:00
Hauke Mehrtens c9d8571734 brcm47xx: Add new image generation and fix leds/reset button on WNR834B V2
Thank you realopty for the patch.
tools/firmware-utils/src/mkchkimg.c is from http://www.myopenrouter.com/download/10611/mkchkimg/

This closes #7702.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 20:21:32 +00:00
Jo-Philipp Wich 02d0ada4d2 [tools] sed: fix compilation on FreeBSD/AMD64
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-06 00:19:34 +00:00
Hauke Mehrtens 43aabdf185 mostly revert commit r22396
CFE does not boot images generated with these checksums because of 
wrong checksum.

After flashing then with tftp to my Asus wl500-GPv1 the following messages 
are show:
Null Rescue Flag.
Boot program checksum is invalid
Hello!! Enter Rescue Mode: (Check error)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-30 21:19:49 +00:00
Michael Büsch ff71f10390 firmware-utils/trx: Endianness fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-29 18:14:10 +00:00
Hauke Mehrtens 4dbe40188f firmware-utils: The option -F was not detected.
This was missing in r22396

This fixes build of brcm47xx


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22398 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 18:16:32 +00:00
Alexandros C. Couloumbis 369fae1a4c tools/quilt: fix openSUSE/patch-2.6.1.81 issue (closes #7635)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 17:21:30 +00:00
Markus Wigge 520b6d0ce0 fix CRC32 calculation for sysupgrade
* reduce image size for CRC calculation by fs_mark size

sysupgrade sometimes failed for me and I noticed that it was due
to incorrect CRC values in trx-header after performing it.
It seems that the fs_mark was completely included in the calculation
and that it was nevertheless modified by sysupgrade while appending
the jffs data.
This only occurs for the first boot after sysupgrade as the flashmap
driver recalculates the CRC to an even smaller area when it boots.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-27 15:37:37 +00:00
Jo-Philipp Wich 5cc9f1ca06 [tools] squashfs4: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 03:09:10 +00:00
Jo-Philipp Wich 1f704a6e49 [tools] yaffs2: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 02:59:14 +00:00
Jo-Philipp Wich ed24f5548a [tools] mkimage: fix compilation on FreeBSD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-22 02:43:44 +00:00
Felix Fietkau 3031cf083a squashfs4: backport an upstream change to fix the file mode check to allow setuid/setgid binaries (thx, ermo) - fixes #7653
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-21 17:31:16 +00:00
Gabor Juhos 61c81bfbe9 tools/firmware-utils: enhance mktplinkfw utility
Attached patch enhances the mktplinkfw utility:
1. existing firmware files in TP-Link format can now be inspected, showing eg. the used offsets
2. optionally the kernel and rootfs parts can be extracted (saves calculations for dd)
3. when generating firmwares, kernel entry point, load address and rootfs offset can be overwritten (for experienced users)

Patch-by: Pieter "Fate" Hollants <pieter@hollants.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:51:59 +00:00
Gabor Juhos b76444287b firmware-utils/mktplinkfw: add support for the TL-WA901ND
Patch-by: Pieter "Fate" Hollants <pieter@hollants.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 14:49:04 +00:00
Markus Wigge 785ebf7bf3 preset stable and try* flags for TRX2 headers
* changed addpattern.c to preset the stable and try flags used in TRXv2 images
to dupe CFE and pretend a stable image.
* changed trx.c to calculate TRXv2 CRC with stable and try flags set to 0xFF
like CFE does on startup
* fixed compile warnings in trx.c by explicit casting



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 10:40:22 +00:00
Markus Wigge 54ffe62ded fixed trx version to handling
I forgot to write the right trx version to the actual header...


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 17:35:20 +00:00
Florian Fainelli e2ca235a69 [tools] remove whitespaces in imagetag tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-20 11:58:40 +00:00
Florian Fainelli fa8999e464 Revert r21806 there are no users of it yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 21:49:03 +00:00
Florian Fainelli b39b1b61a9 [tools] add hcsmakeimage, for cable modems/routers based on bcm33xx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21806 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-14 21:47:21 +00:00
Florian Fainelli 0be9ece4bc [tools] fix mktitanimg segfault on 64-bits hosts (#7443)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:01 +00:00
Florian Fainelli efe0f8bd76 [tools] add mktitanimg to create Titan (AR7-based) images (#6632)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-06 19:16:43 +00:00
Felix Fietkau b7fae73a93 libelf: get rid of CRLF encoding in the makefile (thx, danimo)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-03 00:44:49 +00:00
Felix Fietkau 55de6aeeb9 get rid of CRLF encoding in various files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-16 00:20:17 +00:00
Gabor Juhos 2923f9f5a6 firmware-utils/mkzynfw: add support for the NBG460N board
Adding NBG460N/550N/550NH boards to mkzynfw.

Signed-off-by: Michael Kurz <michi.kurz@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 09:20:36 +00:00
Gabor Juhos 3574cdbc0a firmware-utils/mkzynfw: don't use next_offset twice (closes #7273)
The test if a file can fit in an image considers the current offset
twice. So a image that would fit is too big.

Thanks-to: Michael Kurz <michi.kurz@googlemail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 09:20:34 +00:00
Felix Fietkau 262cd87b5b mkimage fails to build on some systems if sed is not installed, add a dependency to fix parallel build issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-27 21:57:32 +00:00
Gabor Juhos ff8218d3a3 tools/firmware-utils: add size check to the mkplanexfw tool
Also pad the image to a 64K boundary.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:28:07 +00:00
Alexandros C. Couloumbis a7b74ea0ec tools: update gmp to 4.3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 20:11:08 +00:00
Alexandros C. Couloumbis e3d7298718 tools: update quilt to 0.48
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 19:54:53 +00:00
Alexandros C. Couloumbis 016d4161e6 tools: update cloog to 0.15.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-21 17:21:29 +00:00
Florian Fainelli 919f5d8ee5 [toolchain] fix graphite options with gcc-4.5, add libelf for LTO, fix mbsd_multi patch, patch from Bernhard Loos
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-20 16:18:08 +00:00
Alexandros C. Couloumbis bf4dbc7f29 add gcc-4.5.0 preliminary support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21033 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-19 15:43:08 +00:00