Commit Graph

817 Commits (90d0f5654ac7ee13b1706e8824014bef7eba5b09)

Author SHA1 Message Date
Felix Fietkau 3c515ed365 tools/pkg-config: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:17:37 +00:00
Felix Fietkau 1324b21325 tools/libtool: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:17:34 +00:00
Felix Fietkau bce62e6dc3 tools/sed: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:17:31 +00:00
Felix Fietkau baa4134e9f tools/m4: bypass a time consuming configure test
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:17:28 +00:00
Felix Fietkau 6c0d4736f4 tools/m4: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:17:24 +00:00
Gabor Juhos a8d5a0ca4d tools/firmware-utils: add a new tool for TEW-712BR firmware generation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 20:15:34 +00:00
John Crispin 9f3a4fd1bc [tools] tools/firmware-utils/ptgen option to use MB rounding
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:22:38 +00:00
Gabor Juhos 7660d3dd5b tools/firmware-utils: add tool for DIR-651-H1 firmware generation
Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33204 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-17 17:56:02 +00:00
Jo-Philipp Wich 9785b126a5 [tools] wrt350nv2-builder: don't use internal zlib macro OF() in ioapi.h, it breaks with new zlib releases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 10:33:43 +00:00
Jo-Philipp Wich 3cd5af40b3 [tools] convert remaining tools to $(HOST_STATIC_LINKING) (#12012)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 13:27:49 +00:00
Jo-Philipp Wich 8cd7b032c1 xz: update to 5.0.4
Signed-off-by: Jonh Wendell <jonh.wendell@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:48:49 +00:00
Jo-Philipp Wich 9b26b9a2c2 tools/ppl: fix automake error due to use of obsolete directory name
I recently experienced this:

configure.ac:1101: the top level
interfaces/Prolog/Ciao/Makefile.am:168: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/GNU/Makefile.am:167: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/SICStus/Makefile.am:71: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/SWI/Makefile.am:187: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/XSB/Makefile.am:186: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/YAP/Makefile.am:176: `pkglibdir' is not a legitimate directory for `DATA'
make[4]: *** [Makefile.in] Error 1

Found this on google:
http://bugs.mysql.com/bug.php?id=63898

And used this to fix it:
fgrep -rlZ pkglib_DATA --include Makefile.am . | xargs -0 sed -i 's/pkglib_DATA/pkgdata_DATA/g'

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:46:47 +00:00
Jo-Philipp Wich f120a60729 [tools] use HOST_STATIC_LINKING instead of hardcoding -static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:34:30 +00:00
Jo-Philipp Wich 06d0aa1fb6 [tools] sed: disable further SELinux features
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 22:38:09 +00:00
Jo-Philipp Wich 85d7e4c409 [tools] sed: unconditionally disable SELinux, NLS and ACL support (#12007)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 21:41:44 +00:00
Jo-Philipp Wich cc0dd3bd46 Revert "[tools] cmake: link statically"
Static linking of cmake is broken on x86_64, until we can sort it out, revert the static linking.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 21:25:45 +00:00
Jo-Philipp Wich 0ddff5a4ea [tools] firmware-utils: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:27:08 +00:00
Jo-Philipp Wich 897b0f59ab [tools] e2fsprogs: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:27:07 +00:00
Jo-Philipp Wich d51ee13f47 [tools] dosfstools: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:27:06 +00:00
Jo-Philipp Wich 3a176b47fe [tools] cmake: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:27:04 +00:00
Jo-Philipp Wich 75377c05c9 [tools] ccache: fix compilation, link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:27:03 +00:00
Jo-Philipp Wich 63840cf758 [tools] yaffs2: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:27:01 +00:00
Jo-Philipp Wich 30eee2d73a [tools] xz: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:27:00 +00:00
Jo-Philipp Wich a1eb741c14 [tools] wrt350nv2-builder: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:58 +00:00
Jo-Philipp Wich 306d5ed4a7 [tools] upx: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:57 +00:00
Jo-Philipp Wich 36eb4d1243 [tools] upslug2: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:55 +00:00
Jo-Philipp Wich c48c7dde2b [tools] sstrip: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33107 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:54 +00:00
Jo-Philipp Wich a6e7429742 [tools] squashfs4: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:52 +00:00
Jo-Philipp Wich aed68de08b [tools] squashfs: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:50 +00:00
Jo-Philipp Wich f5d548656b [tools] sdcc: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:49 +00:00
Jo-Philipp Wich ed47aea576 [tools] qemu: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:48 +00:00
Jo-Philipp Wich 94899ac6af [tools] pkg-config: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:46 +00:00
Jo-Philipp Wich 0459a4f5d5 [tools] patch-cmdline: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:45 +00:00
Jo-Philipp Wich be2014384f [tools] padjffs2: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:43 +00:00
Jo-Philipp Wich 6e9f5c745e [tools] mtools: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:42 +00:00
Jo-Philipp Wich c4c4747b46 [tools] mtd-utils: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:40 +00:00
Jo-Philipp Wich be80ab656e [tools] mklibs: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:36 +00:00
Jo-Philipp Wich eb93c957dc [tools] mkimage: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:34 +00:00
Jo-Philipp Wich bf886c0596 [tools] m4: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:31 +00:00
Jo-Philipp Wich 5ca993f88d [tools] lzma: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:30 +00:00
Jo-Philipp Wich 739b177637 [tools] genext2fs: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:28 +00:00
Jo-Philipp Wich bf593adbc7 [tools] flock: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33092 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:26 +00:00
Jo-Philipp Wich f5d7b5e140 [tools] flex: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:24 +00:00
Jo-Philipp Wich cc849e20af [tools] bison: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33090 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:19 +00:00
Jo-Philipp Wich 8ef5e614de [tools] sed: link statically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:26:17 +00:00
John Crispin fa8b651b93 [tools] fix ccache build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 19:05:22 +00:00
John Crispin 68ca3cdc27 [tools] add mktools and dosfstools which are needed for the raspberry pi
Signed-off-by: Ian Ridge <ianridge [at] gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32824 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 20:39:00 +00:00
John Crispin 71df70b95d [tools] adds mkdapimg
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-24 20:38:49 +00:00
Felix Fietkau 5d7bf2454a kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-20 12:28:50 +00:00
Felix Fietkau 2e7d780a24 tools: prefer gmd5sum if present
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-17 11:28:30 +00:00
Felix Fietkau 846225bb98 tools/squashfs(4): use $(HOSTCC) to avoid building with clang on recent mac os x. the clang build fails with some linker errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32706 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-13 23:18:15 +00:00
Jo-Philipp Wich c2bd3e1d73 [tools] bison: fix errors in shipped stdio.in.h
Bison fails to build against glibc 2.16.x, the shipped stdio.in.h attempts to
wrap gets() with a warning which fails since gets() got removed from the
default _GNU_SOURCE featureset.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-08 15:50:36 +00:00
Jo-Philipp Wich 29c77755cb [tools] m4: fix errors in shipped stdio.in.h
M4 fails to build against glibc 2.16.x, the shipped stdio.in.h attempts to
wrap gets() with a warning which fails since gets() got removed from the
default _GNU_SOURCE featureset.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-08 15:28:44 +00:00
Gabor Juhos 5ed280cd01 firmware-utils/mktplinkfw: allow to specify firmware version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-05 16:25:29 +00:00
Felix Fietkau 4a759750de tools: sdcc depends on bison
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-29 00:32:43 +00:00
Jo-Philipp Wich d1883cc0d0 [tools] sdcc: enable packihx, required by firmwarehotplug
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-26 08:30:38 +00:00
Gabor Juhos defb138dbe tools/e2fsprogs: don't build e4defrag
Compilation fails on older systems due to missing syscalls, and the
e4defrag tool is not used by the build-system anyway.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-19 09:52:18 +00:00
Luka Perkov 8ddefa0cd3 e2fsprogs: fix md5sum issue
md5sum from kernel.org and sourceforge.net are not the same

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 21:34:16 +00:00
Luka Perkov 31627df962 [tools] e2fsprogs: update to 1.42.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 17:52:59 +00:00
John Crispin e55e9ac7da [tools] ccache does not need zcat
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-15 19:44:56 +00:00
Luka Perkov 57c29c33cb [tools] mklibs: update to 0.1.34 (v2)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-10 17:07:46 +00:00
Felix Fietkau 7ab936db65 tools: add a python symlink that prefers python2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-10 16:32:15 +00:00
Felix Fietkau 28cf4e273d Revert "[tools] mklibs: update to 0.1.34"
Too much broken, needs to be reworked

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-10 15:09:09 +00:00
Felix Fietkau 99611aa7c4 tools/e2fsprogs: disable building elf shared libraries, it is unnecessary and breaks on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-10 12:24:59 +00:00
John Crispin caa1d07a9a [tools] more e2fsprogs fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-10 09:22:07 +00:00
John Crispin d057a8911b [e2fsprog] fix build breakage introduced by [32142]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-10 07:43:43 +00:00
Luka Perkov df12c60f70 [tools] mklibs: update to 0.1.34
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-09 21:22:37 +00:00
Luka Perkov c22aced8ad [tools] gmp: update to 5.0.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-09 21:22:35 +00:00
Luka Perkov 679c3428c8 [tools] mkimage: update to 2012.04.01
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-09 18:06:13 +00:00
Luka Perkov 57ce7e58fe [tools] e2fsprogs: update to 1.42.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-09 17:59:57 +00:00
Felix Fietkau eb119c3b81 e2fsprogs: add posix_memalign related portability patch from #8508
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 15:24:33 +00:00
John Crispin 3d89e86516 [tools] fixes python related autokrampf install bug
this commit fixes a compile bug triggered by pygobject

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-07 14:57:08 +00:00
Felix Fietkau 2b694b55bb tools/yaffs2: add mirror md5sum - upstream repo went away
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 14:09:00 +00:00
John Crispin e84fbcf5bc [tools] add ccache wrapper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:27:11 +00:00
Jonas Gorski 6111884b1c tools: imagetag: add parameter for padding images
Allow images to be padded to a certain size. This prevents CFE from
flashing them to the second image offset.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:19 +00:00
Jo-Philipp Wich 85905945f5 [tools] scons: probe "python" and "python2" first in pywrap.sh in order to use the users preferred version if possible
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 20:29:32 +00:00
Jo-Philipp Wich 58b75ad2b1 [tools] scons: wrap python invocations with helper script that attempts to find a non-3.x python
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 20:04:07 +00:00
Felix Fietkau f61eb18b66 tools/scons: remove the python 3 compat patch, it is incomplete and breaks with python 2.5.2. i guess scons with python 3 is a lost cause...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 13:42:36 +00:00
Gabor Juhos 349852ec5b tools/mtd-utils: remove empty patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31705 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-13 12:32:22 +00:00
Jo-Philipp Wich 0f425fe91e [tools] scons: fix compatibility with python 3, upstream still does not support it...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 17:04:37 +00:00
Felix Fietkau ff33988d74 scons: override the platform instead of using the host one - fixes build issues on non-linux systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 21:02:35 +00:00
Felix Fietkau 768f0c40f8 tools: add scons (patch by Dave Taht)
This makes it more possible to build scons based applications
for openwrt.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:37:34 +00:00
Gabor Juhos af72111e78 firmware-utils/mktplinkfw: add support for the TL-WR1041N v2
Patch-by: Vince Huang <axishero@foxmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-05 17:02:38 +00:00
Gabor Juhos 13f705bbc1 tools: add xz dependency to automake
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-21 16:09:04 +00:00
Jo-Philipp Wich c47c2671d4 [tools] mklibs: revert r31315
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 15:35:45 +00:00
Jo-Philipp Wich 1452c74daf tools/mklibs: add missing <unistd.h> in readelf/elf.cpp
Fixes compile on my Arch Linux system, as unistd.h is needed for ::close().

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-16 15:11:32 +00:00
Jonas Gorski 1434cbc4c1 tools: sdcc: fix order of linking with libm
Fixes a build failure caught by buildbot.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-14 09:05:02 +00:00
Mirko Vogt 4879e3f58a [tools/mklibs] add missing includes ('unistd.h') for mklibs
This is needed when compiling with GCC >= 4.7.0 since it doesn't implicitly include 'unistd.h' anymore (needed e.g. for file operations in this particular case)

 - Thanks to Luka Perkov

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-12 12:19:56 +00:00
Jo-Philipp Wich 32d864fd63 [tools] sdcc: compiling SDCCicode.c with -O2 sends gcc 4.6.x into an infinite loop, workaround it
See references:
  http://sourceforge.net/tracker/?func=detail&aid=3285611&group_id=599&atid=300599
  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52653


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-10 13:18:45 +00:00
Jo-Philipp Wich 4a5dfbd949 [tools] sdcc: sdcc needs sdcpp to bootstrap itself, so enable it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 15:55:33 +00:00
Jo-Philipp Wich e685d45ebb tools: add sdcc subdir to Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 15:24:47 +00:00
Jo-Philipp Wich 102fa9b718 [tools] add an sdcc host build which is enabled if firmwarehotplug is selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-09 15:23:34 +00:00
Florian Fainelli 69d74cf63c [orion] update wrt350nv2-builder to v2.4 and use new functionality for target orion_generic
Signed-off-by: Matthias Bücher <mail@maddes.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-04 16:06:25 +00:00
Florian Fainelli c2f94b6e55 [tools] mm-macros: update to 0.9.5
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:38 +00:00
Florian Fainelli b22358edbf [tools] qemu: update to 0.14.1
This patch has not been tested on freebsd. File block/sheepdog.c has
been changed and the patch does no longer apply. Anyone with freebsd who
could test this?

All my other patches regarding the tools upgrade were tested on linux
x64 and produce a working image. Once submitted patches get applied I
will upgrade the remaining tools...

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:35 +00:00
Florian Fainelli 072d752376 [tools] mpc: update to 0.9
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:31 +00:00
Florian Fainelli 89402917b2 [tools] automake: update to 1.11.3
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:28 +00:00
Florian Fainelli bb5b1e477d [tools] xz: update to 5.0.3
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:25 +00:00
Florian Fainelli 87ac8a823a [tools] mkimage: update to 2011.12
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:23 +00:00
Florian Fainelli 13f92935d1 [tools] cloog: update to 0.15.11
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:20 +00:00
Florian Fainelli d519297f52 [tools] gmp: update to 5.0.4
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:17 +00:00
Florian Fainelli 1b64c96d51 [tools] cmake: update to 2.8.7
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:14 +00:00
Florian Fainelli 5ce1043cec [tools] bison: update to 2.5
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:11 +00:00
Florian Fainelli 9da7cbf7d7 [tools] ccache: update to 3.1.7
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-02 16:25:08 +00:00
Felix Fietkau 48d8f7b0a4 tools: fix stat symlink if destination already exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-26 10:07:50 +00:00
Felix Fietkau 617f57c20a tools: fix GNU stat detection to prevent it from picking up other things named "gstat" (see #4571)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-23 14:10:28 +00:00
Felix Fietkau a9706d52f2 tools: add dependency on the seq symlink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-10 12:59:17 +00:00
Gabor Juhos 521ebf1075 tools/mtd-utils: fix build error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-03 11:12:06 +00:00
Gabor Juhos a1458e8400 tools/mtd-utils: update mkfs.ubifs XZ support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-03 10:08:31 +00:00
Gabor Juhos 6226ca17cf tools/mtd-utils: add XZ compression support to mkfs.ubifs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-02 23:09:01 +00:00
Gabor Juhos ab871f9a82 tools/mtd-utils: cleanup mkubifs lzo patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:55:49 +00:00
Gabor Juhos d9be75a3fc tools/mtd-utils: update to 1.4.5
This updates mtd-utils in tools:
100-optional_lzo.patch and 101-ubifs-optional_lzo.patch
are now uneeded as a WITHOUT_LZO flag is provided by the
upstream sources. All remaining patches are refreshed
for the new version.
135-mkubifs_optional_lzo.patch was created to respect
WITHOUT_LZO also in mkubifs.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-01 19:55:48 +00:00
Felix Fietkau 90d1112ed3 tools: symlink seq to the host staging dir (gseq on mac os x)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-29 18:20:34 +00:00
Gabor Juhos b19b305356 firmware-utils/mkfwimage: allow to override firmware magic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 14:45:54 +00:00
John Crispin f7b9691687 [lantiq] Support booting the Speedport W502V using BRN-BOOT.
While the disadvantage is less available flash space, it's easy and
safe to flash without opening the device.
Going back to the original firmware is also possible.

This patch add two firmware utilities, mkbrncmdline and mkbrnboot.

mkbrncmdline patches the uncompressed kernel so the registeres a0 to
a3 are initialized and the memory size is passed in.

mkbrnboot takes the lzma compressed kernel and squashfs images and
creates a firmware image that can be flashed using the BRN-BOOT
recovery kernel, which is booted by holding both buttons when
powering up the device and will listen on http://192.168.2.1.

The firmware file from bin/lantiq/ to use is
openwrt-lantiq-danube-ARV4525PW-BRNDTW502-brnImage

The BRN-BOOT recovery kernel does size-check the image, so if it's
too big to fit into flash it will complain accordingly.

A second patch is needed to make the wired network interface work
since there is no u-boot to pre-initialise it.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-14 17:48:04 +00:00
Felix Fietkau eac4c19121 tools/genext2fs: do not include the host getline.h, it breaks the tool in subtle ways, and the source already has a getline replacement
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30479 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-12 16:12:08 +00:00
Jo-Philipp Wich df061331d2 [tools] automake: forcibly disable perl ithreads support
The SDK when build on a machine with perl ithreads enabled will fail to run on many Gentoo systems because perl is usually built without thread capability there.
In order to circumvent this issue forcibly disable the ithreads support, tested on CentOS 5.6, Ubuntu 10.04 LTS and Gentoo.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-01 15:06:36 +00:00
Jo-Philipp Wich 388166a051 [tools] autoconf: another relocatability fix for autom4te, substitute hardcoded prefix with $STAGING_DIR when reading autom4te.cfg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 04:42:15 +00:00
Jo-Philipp Wich 42b6794ef8 [tools] automake: generate relative aclocal symlinks in staging_dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-28 03:51:22 +00:00
Gabor Juhos a32fd3f98a firmware-utils/mkmylofw: add WPE72 support
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-26 17:01:43 +00:00
Jo-Philipp Wich 936dac171f [tools] libtool: fix accidental sed invocation in libtoolize
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-21 09:49:53 +00:00
Jo-Philipp Wich 4056309bad [tools] quilt: some more relocatable fixes for quilt-internal scripts
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 17:54:43 +00:00
Jo-Philipp Wich d84658c30f [tools] bison: make yacc wrapper relocatable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 17:30:38 +00:00
Jo-Philipp Wich 49e9bc3169 [toolsÂ] autoconf: make bin/autoconf relocatable as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 17:17:04 +00:00
Jo-Philipp Wich 48a0e02788 [tools] quilt: make relocatable, search resources relative to STAGING_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 17:11:37 +00:00
Jo-Philipp Wich 078481e37a [tools] automake: further relocation fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 15:19:22 +00:00
Jo-Philipp Wich 30afe193cf [tools] autoconf: further relocation fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 15:19:06 +00:00
Jo-Philipp Wich 3842e64d18 [tools] libtool: make relocatable, search resources relative to STAGING_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 14:51:44 +00:00
Jo-Philipp Wich acd7d11180 [tools] autoconf: make relocatable by searching resources relative to STAGING_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 02:56:08 +00:00
Jo-Philipp Wich dd7ae3135e [tools] automake: make relocatable by searching resources relative to STAGING_DIR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-20 02:55:55 +00:00
John Crispin 1e0b48fafb tools: clean up Makefiles / make ccache work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-15 11:43:13 +00:00
Gabor Juhos 17bcf5783d firware-utils/mktplinkfw: add TL-WR2543N/ND support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:40 +00:00
Gabor Juhos dde2004075 firmware-utils/mktplinkfw: add support for TL-WA701N/ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:53 +00:00
Gabor Juhos b81818bf2f firmware-utils/mktplinkfw: add support for TL-MR3020
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:44 +00:00
Gabor Juhos 2e0cc81c4e firmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-15 22:03:42 +00:00
Gabor Juhos 95795c7644 tools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layout
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-06 16:26:41 +00:00
Gabor Juhos ccf2049b10 firmware-utils/mktplinkfw: allow to align the rootfs on a specified boundary
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:31 +00:00
Gabor Juhos 051fa16811 tools/mkimage: allow to use different magic in uImages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-05 14:52:22 +00:00
Gabor Juhos 2af6a7d4c4 firmware-utils/mktplinkfw: fix combined image creation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-03 16:57:21 +00:00
Felix Fietkau b93d34ddef build: add a lib64 symlink in staging_dir/host and staging_dir/toolchain* for systems that prefer this as library path (e.g. current SuSE), fixes mpfr and gcc build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-28 19:19:33 +00:00
Gabor Juhos 5198e7e2ba firmware-utils/mktplinfw: use htonl/ntohl
Based on a patch by Adrian Chadd <adrian@freebsd.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-24 20:09:40 +00:00
Nicolas Thill b22b30b774 tools: use host build_dir instead of target build_dir
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-23 04:06:57 +00:00
Gabor Juhos f8cfea80ae firmware-utils/mktplinkfw: add TL-WR741ND v4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-01 11:20:54 +00:00
Vasilis Tsiligiannis b95ee030ad [tools] Add firmware tool for generating factory images for Edimax devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-30 22:57:41 +00:00
Gabor Juhos 84a6ce7180 firmware-utils/mktplinkfw: fix hardware id of the TL-WR740 v3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-26 13:34:48 +00:00
Felix Fietkau 9f07a903e8 tools/lzma-old fix compile issues (patch from #10253)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 12:52:49 +00:00
Nicolas Thill a266c4f43b [tools] upx: fix build error
g++ -O2 -Wall -W -Wcast-align -Wcast-qual -Wpointer-arith -Wshadow -Wwrite-strings -Werror -o compress.o -c compress.cpp
cc1plus: warnings being treated as errors
compress.cpp:75: error: unused parameter 'src'
...



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-21 11:31:25 +00:00
Jonas Gorski fa36a25a54 squashfs4: Add support for LZMA Magic to unsquashfs
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
2011-10-19 10:17:28 +00:00
Imre Kaloz 3c5ef16f04 [tools]: add upx, but make it build only for ppc now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-12 10:42:38 +00:00
Gabor Juhos a2037eae5d firmware-utils/mktplinkfw: add support for TL-WR703N v1
Patch-by: dongyuqi <729650915@qq.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28278 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:55 +00:00
Gabor Juhos 821f14fb0a firmware-utils/mktplinkfw: add support for TL-WR743ND v1
Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:42 +00:00
Gabor Juhos d7b385e0a8 firmware-utils/mktplinkfw: add support for TL-WR740N v3
Signed-off-by: Martin Raykov <martin.raykov@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-09-21 11:47:39 +00:00
Lars-Peter Clausen 652b0357c9 [tools] mkimage/getline.h - Mac OS X 10.7 (Lion) fix
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
2011-08-05 16:53:43 +00:00
Lars-Peter Clausen 24d7d4bd24 [tools] host/include/getline.h - Mac OS X 10.7 (Lion) fix
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
2011-08-05 16:52:46 +00:00
Felix Fietkau 0bdbd33dcb tools/quilt: fix spurious calls to the configure and Makefile targets (#8462)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 19:22:45 +00:00
Jo-Philipp Wich 2b36cc83f3 [include] autotools.mk: implement PKG_FIXUP:=patch-libtool
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
2011-08-01 00:22:53 +00:00
Felix Fietkau 5611c2142c quilt: make it possible to override the path to getopt (based on patch from #9842)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-31 17:59:35 +00:00
Felix Fietkau 99477de202 squashfs4: fix a compile error on big-endian systems (patch from #9842)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-31 17:59:31 +00:00
Felix Fietkau 81a40cb8b3 squashfs4: add missing include for freebsd (patch from #9842)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-31 17:59:25 +00:00
Felix Fietkau 090a5384df pkg-config: fix prefix
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
2011-07-24 09:02:49 +00:00
Felix Fietkau 4903cab0d4 firmware-utils: rename the devname variable in mkwrgimg to avoid a clash with a BSD stdlib function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 05:20:24 +00:00
Gabor Juhos 6780ee387d tools/firmware-utils: add yet another buffalo tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:53 +00:00
Gabor Juhos 47453efcd4 tools/firmware-utils: allow to create buffalo image from two files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:50 +00:00
Gabor Juhos 236c920aca tools/firmware-utils: allow to create buffalo tags w/o hw version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:49 +00:00
Gabor Juhos bcac11b460 tools/firmware-utils: add new firmware tool for the DIR-300-B1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 06:48:42 +00:00
Felix Fietkau c01e8cfc4f tools: always build mpc, now that older gcc versions have been eliminated, fixes #9642
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 10:49:15 +00:00
Felix Fietkau 41d51f6782 padjffs2: fix a compiler warning that makes the build fail because of -Werror
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 09:47:19 +00:00
Gabor Juhos 726a70f17e tools: create a new tool for more efficient jffs2 padding
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 08:37:56 +00:00
Felix Fietkau 2bff76170f add a portable version of sys/sysmacros.h and and let the kernel use the 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
2011-07-02 06:49:56 +00:00
Felix Fietkau 4c72559742 move mkelfimage from tools/ to package/ as it needs a proper i386 toolchain - 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
2011-07-02 06:49:36 +00:00
Imre Kaloz 15db4fcf8d [tools/mkimage]: use u-boot 2011.06 as source
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 13:36:23 +00:00
Hauke Mehrtens 1f71cdebe0 firmware-utils: fix build on big endian systems
This closes #9446


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-21 21:13:58 +00:00
Gabor Juhos 591e4c3352 tools/firmware-utils: fix buffalo csum calculation
Also print an error message if decryption fails.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-13 08:12:41 +00:00
Gabor Juhos d472510430 tools/firmware-utils: add support for hd_id tag into mkdniimg
Signed-off-by: Mark Mentovai <mark@moxienet.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:24 +00:00
Gabor Juhos 37ae50ee24 tools/firmware-utils: add buffalo specific fw tools
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-31 22:53:21 +00:00
John Crispin d5449e1acc [tools]
* adds mkelfimage



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 10:33:46 +00:00
Florian Fainelli 8615c287a1 bcm63xx: Add firmware helpers for T-Home Speedport W 303V
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
2011-05-11 13:34:05 +00:00
Jo-Philipp Wich 5506e60734 [PATCH] quilt: fix building with dash
`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
2011-05-02 12:53:32 +00:00
Daniel Dickinson b2ae50ed27 bcm63xx: Move the OpenWrt rootfs length field
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
2011-04-15 12:18:25 +00:00
Jo-Philipp Wich 94920b0e8a [tools] ipkg-utils: use (g)stat instead of "du -b" to find package size, fixes Darwin compat (#9214)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-13 13:26:26 +00:00
Jo-Philipp Wich 5cf0e4f471 missing-macros: add GTKDOC_REBASE macro needed by some newer packages
Signed-off-by: Jochen Friedrich <jochen@scram.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:19:52 +00:00
Hauke Mehrtens 51633f949d firmware-utils: fix endianness bugs in firmware generation program.
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
2011-04-09 15:06:01 +00:00
Felix Fietkau ffaa47c172 make the build system a bit more silent without V=99
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-04 00:54:37 +00:00
Hauke Mehrtens 6fe32943b3 m4: update to version 1.4.16
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 13:19:54 +00:00
Hauke Mehrtens 04fbc89331 xz: update to version 5.0.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 13:19:16 +00:00
Felix Fietkau 5895d8fd56 lzma-old: do not install $(STAGING_DIR_HOST)/bin/lzma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 01:02:03 +00:00
Felix Fietkau 4613220875 tools/squashfs4: update to version 4.2 (adds support for xz compression)
Based on a patch by Jonas Gorski

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 01:02:00 +00:00
Alexandros C. Couloumbis 1693ec0bb2 tools/cmake: update to version 2.8.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-24 11:27:07 +00:00
Jo-Philipp Wich dd11dfcc3f [tools] ipkg-utils: utilize the tar -p flag to preserve permissions (#7667)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-21 17:36:50 +00:00
Gabor Juhos f3d20a6c69 firmware-utils/mktplinkfw: add support for the TP-Link TL-WA901ND v2 board
Patch-by: Jonathan Benett <jbscience87@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 15:08:29 +00:00
Alexandros C. Couloumbis 53519e5503 tools/xz: add some upstream patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 18:41:33 +00:00
Jo-Philipp Wich daee4aa5f2 [tools] package xfce-macros, required for autoreconf in xfce4 packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 14:44:23 +00:00
Jo-Philipp Wich 020319a7cc [tools] bison: fix compilation with stub intl header
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-04 20:37:15 +00:00
Alexandros C. Couloumbis 51ae2b31e5 tools/xz: update to version 5.0.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 10:26:11 +00:00
Felix Fietkau 84b78edf81 mklibs: fix some long standing libpthread symbol link issues, mostly related to weak function overrides between libgcc, libc and libpthread
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 18:17:02 +00:00
Felix Fietkau 57b134349f mklibs: properly fix library linking - the relinking in some instances used 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
2011-02-28 16:17:04 +00:00
Felix Fietkau 2ab935a3a0 tools/e2fsprogs: move uuid/uuid.h into a subdirectory, it conflicts with a system header file with the same name on darwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20 03:25:56 +00:00
Felix Fietkau 228dd030c0 squashfs4: make the lzma parameters configurable, and change the defaults for slightly improved compression on mips (mostly unchanged on other architectures)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 19:59:02 +00:00
Hauke Mehrtens a11783f9d6 brcm47xx: fix error when build firmware on x86_64 host (closes #7672)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12 13:17:47 +00:00
Imre Kaloz 599f1671cc [tools/wrt350nv2-builder]: the url isn't valid for some time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-11 14:03:04 +00:00