Commit Graph

776 Commits (ff270220409f83ca4137ca2fb484735a766cd3ab)

Author SHA1 Message Date
Felix Fietkau 1fcd4c258d tools/bison: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33439 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:18:04 +00:00
Felix Fietkau f22ad6cd65 tools/flex: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:18:01 +00:00
Felix Fietkau 4d0a4147cf tools/libelf: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:17:58 +00:00
Felix Fietkau 0c41980d77 tools/mpc: enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:17:55 +00:00
Felix Fietkau 47bcb2556f tools/mpc: remove bogus configure override
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:17:52 +00:00
Felix Fietkau fcd5b10354 tools/mpfr enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:17:49 +00:00
Felix Fietkau 4989e42270 tools/mpfr: remove bogus configure override
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:17:46 +00:00
Felix Fietkau d0f31dc611 tools/gmp enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:17:43 +00:00
Felix Fietkau be1b98377b tools/xz enable parallel builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 14:17:40 +00:00
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