Felix Fietkau
b1f318de53
kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
...
SVN-Revision: 32783
2012-07-20 12:28:50 +00:00
Felix Fietkau
ba71c3ac00
tools: prefer gmd5sum if present
...
SVN-Revision: 32761
2012-07-17 11:28:30 +00:00
Felix Fietkau
08c7eae8f6
tools/squashfs(4): use $(HOSTCC) to avoid building with clang on recent mac os x. the clang build fails with some linker errors
...
SVN-Revision: 32706
2012-07-13 23:18:15 +00:00
Jo-Philipp Wich
1f1cf1990b
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.
SVN-Revision: 32649
2012-07-08 15:50:36 +00:00
Jo-Philipp Wich
e63a58ebfb
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.
SVN-Revision: 32648
2012-07-08 15:28:44 +00:00
Gabor Juhos
a45427bc79
firmware-utils/mktplinkfw: allow to specify firmware version
...
SVN-Revision: 32616
2012-07-05 16:25:29 +00:00
Felix Fietkau
ad19192d3a
tools: sdcc depends on bison
...
SVN-Revision: 32521
2012-06-29 00:32:43 +00:00
Jo-Philipp Wich
21fce4eeae
sdcc: enable packihx, required by firmwarehotplug
...
SVN-Revision: 32500
2012-06-26 08:30:38 +00:00
Gabor Juhos
2cd8c216dc
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.
SVN-Revision: 32451
2012-06-19 09:52:18 +00:00
Luka Perkov
fd38f78bfe
e2fsprogs: fix md5sum issue
...
md5sum from kernel.org and sourceforge.net are not the same
SVN-Revision: 32418
2012-06-17 21:34:16 +00:00
Luka Perkov
578551c380
e2fsprogs: update to 1.42.4
...
SVN-Revision: 32413
2012-06-17 17:52:59 +00:00
John Crispin
293c47218a
ccache does not need zcat
...
SVN-Revision: 32385
2012-06-15 19:44:56 +00:00
Luka Perkov
33dadd70ab
mklibs: update to 0.1.34 (v2)
...
SVN-Revision: 32165
2012-06-10 17:07:46 +00:00
Felix Fietkau
d8bea7da9a
tools: add a python symlink that prefers python2
...
SVN-Revision: 32164
2012-06-10 16:32:15 +00:00
Felix Fietkau
1e7129ca50
Revert "[tools] mklibs: update to 0.1.34"
...
Too much broken, needs to be reworked
SVN-Revision: 32163
2012-06-10 15:09:09 +00:00
Felix Fietkau
fd29691f89
tools/e2fsprogs: disable building elf shared libraries, it is unnecessary and breaks on mac os x
...
SVN-Revision: 32161
2012-06-10 12:24:59 +00:00
John Crispin
085fe0b761
more e2fsprogs fixes
...
SVN-Revision: 32158
2012-06-10 09:22:07 +00:00
John Crispin
16a4d29ae0
fix build breakage introduced by [32142]
...
SVN-Revision: 32157
2012-06-10 07:43:43 +00:00
Luka Perkov
2ecd494691
mklibs: update to 0.1.34
...
SVN-Revision: 32145
2012-06-09 21:22:37 +00:00
Luka Perkov
fa5028ddee
gmp: update to 5.0.5
...
SVN-Revision: 32144
2012-06-09 21:22:35 +00:00
Luka Perkov
605c741c79
mkimage: update to 2012.04.01
...
SVN-Revision: 32143
2012-06-09 18:06:13 +00:00
Luka Perkov
5d141f8b1e
e2fsprogs: update to 1.42.3
...
SVN-Revision: 32142
2012-06-09 17:59:57 +00:00
Felix Fietkau
68031593c8
e2fsprogs: add posix_memalign related portability patch from #8508
...
SVN-Revision: 32112
2012-06-07 15:24:33 +00:00
John Crispin
639ee81002
fixes python related autokrampf install bug
...
this commit fixes a compile bug triggered by pygobject
SVN-Revision: 32109
2012-06-07 14:57:08 +00:00
Felix Fietkau
93a883d7fb
tools/yaffs2: add mirror md5sum - upstream repo went away
...
SVN-Revision: 32083
2012-06-06 14:09:00 +00:00
John Crispin
a53b084e49
add ccache wrapper
...
SVN-Revision: 32075
2012-06-06 13:27:11 +00:00
Jonas Gorski
b31108e0a8
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.
SVN-Revision: 31875
2012-05-27 13:22:19 +00:00
Jo-Philipp Wich
5d817266e1
scons: probe "python" and "python2" first in pywrap.sh in order to use the users preferred version if possible
...
SVN-Revision: 31743
2012-05-15 20:29:32 +00:00
Jo-Philipp Wich
c33b01fa0e
scons: wrap python invocations with helper script that attempts to find a non-3.x python
...
SVN-Revision: 31742
2012-05-15 20:04:07 +00:00
Felix Fietkau
d3a21c192b
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...
...
SVN-Revision: 31741
2012-05-15 13:42:36 +00:00
Gabor Juhos
2803206c50
tools/mtd-utils: remove empty patches
...
SVN-Revision: 31705
2012-05-13 12:32:22 +00:00
Jo-Philipp Wich
9a34f9d01e
scons: fix compatibility with python 3, upstream still does not support it...
...
SVN-Revision: 31624
2012-05-06 17:04:37 +00:00
Felix Fietkau
352d081266
scons: override the platform instead of using the host one - fixes build issues on non-linux systems
...
SVN-Revision: 31620
2012-05-05 21:02:35 +00:00
Felix Fietkau
f479efbdf4
tools: add scons (patch by Dave Taht)
...
This makes it more possible to build scons based applications
for openwrt.
SVN-Revision: 31618
2012-05-05 17:37:34 +00:00
Gabor Juhos
de7324674a
firmware-utils/mktplinkfw: add support for the TL-WR1041N v2
...
Patch-by: Vince Huang <axishero@foxmail.com>
SVN-Revision: 31609
2012-05-05 17:02:38 +00:00
Gabor Juhos
1570caeb75
tools: add xz dependency to automake
...
SVN-Revision: 31413
2012-04-21 16:09:04 +00:00
Jo-Philipp Wich
c379502147
mklibs: revert r31315
...
SVN-Revision: 31316
2012-04-16 15:35:45 +00:00
Jo-Philipp Wich
a8d663260d
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>
SVN-Revision: 31315
2012-04-16 15:11:32 +00:00
Jonas Gorski
c76ff41080
tools: sdcc: fix order of linking with libm
...
Fixes a build failure caught by buildbot.
SVN-Revision: 31284
2012-04-14 09:05:02 +00:00
Mirko Vogt
1b75788451
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
SVN-Revision: 31259
2012-04-12 12:19:56 +00:00
Jo-Philipp Wich
ac007ff482
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
...
SVN-Revision: 31236
2012-04-10 13:18:45 +00:00
Jo-Philipp Wich
c3bc38689c
sdcc: sdcc needs sdcpp to bootstrap itself, so enable it
...
SVN-Revision: 31229
2012-04-09 15:55:33 +00:00
Jo-Philipp Wich
12df76d065
tools: add sdcc subdir to Makefile
...
SVN-Revision: 31228
2012-04-09 15:24:47 +00:00
Jo-Philipp Wich
b409973545
add an sdcc host build which is enabled if firmwarehotplug is selected
...
SVN-Revision: 31226
2012-04-09 15:23:34 +00:00
Florian Fainelli
930a820172
update wrt350nv2-builder to v2.4 and use new functionality for target orion_generic
...
Signed-off-by: Matthias Bücher <mail@maddes.net>
SVN-Revision: 31199
2012-04-04 16:06:25 +00:00
Florian Fainelli
829e5c2916
mm-macros: update to 0.9.5
...
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31176
2012-04-02 16:25:38 +00:00
Florian Fainelli
fad81bc695
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>
SVN-Revision: 31175
2012-04-02 16:25:35 +00:00
Florian Fainelli
7002c4d712
mpc: update to 0.9
...
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31174
2012-04-02 16:25:31 +00:00
Florian Fainelli
093b12cba9
automake: update to 1.11.3
...
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31173
2012-04-02 16:25:28 +00:00
Florian Fainelli
9c6d6caf0e
xz: update to 5.0.3
...
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31172
2012-04-02 16:25:25 +00:00
Florian Fainelli
6d4358aed0
mkimage: update to 2011.12
...
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31171
2012-04-02 16:25:23 +00:00
Florian Fainelli
fe44af36ae
cloog: update to 0.15.11
...
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31170
2012-04-02 16:25:20 +00:00
Florian Fainelli
ce7726405c
gmp: update to 5.0.4
...
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31169
2012-04-02 16:25:17 +00:00
Florian Fainelli
7d91de232d
cmake: update to 2.8.7
...
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31168
2012-04-02 16:25:14 +00:00
Florian Fainelli
dde7e0d6c5
bison: update to 2.5
...
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31167
2012-04-02 16:25:11 +00:00
Florian Fainelli
db75102223
ccache: update to 3.1.7
...
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>
SVN-Revision: 31166
2012-04-02 16:25:08 +00:00
Felix Fietkau
d5234a74b6
tools: fix stat symlink if destination already exists
...
SVN-Revision: 31072
2012-03-26 10:07:50 +00:00
Felix Fietkau
c49f66675e
tools: fix GNU stat detection to prevent it from picking up other things named "gstat" (see #4571 )
...
SVN-Revision: 31059
2012-03-23 14:10:28 +00:00
Felix Fietkau
ffa4a3c4f5
tools: add dependency on the seq symlink
...
SVN-Revision: 30861
2012-03-10 12:59:17 +00:00
Gabor Juhos
7a7d39cef3
tools/mtd-utils: fix build error
...
SVN-Revision: 30797
2012-03-03 11:12:06 +00:00
Gabor Juhos
087747cd43
tools/mtd-utils: update mkfs.ubifs XZ support
...
SVN-Revision: 30796
2012-03-03 10:08:31 +00:00
Gabor Juhos
c503f44f9c
tools/mtd-utils: add XZ compression support to mkfs.ubifs
...
SVN-Revision: 30795
2012-03-02 23:09:01 +00:00
Gabor Juhos
8e0af8361d
tools/mtd-utils: cleanup mkubifs lzo patch
...
SVN-Revision: 30770
2012-03-01 19:55:49 +00:00
Gabor Juhos
3698c6a391
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>
SVN-Revision: 30769
2012-03-01 19:55:48 +00:00
Felix Fietkau
bb5bccef7c
tools: symlink seq to the host staging dir (gseq on mac os x)
...
SVN-Revision: 30755
2012-02-29 18:20:34 +00:00
Gabor Juhos
84267683bb
firmware-utils/mkfwimage: allow to override firmware magic
...
SVN-Revision: 30627
2012-02-18 14:45:54 +00:00
John Crispin
cd1a204365
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>
SVN-Revision: 30532
2012-02-14 17:48:04 +00:00
Felix Fietkau
c2e411fa8d
tools/genext2fs: do not include the host getline.h, it breaks the tool in subtle ways, and the source already has a getline replacement
...
SVN-Revision: 30479
2012-02-12 16:12:08 +00:00
Jo-Philipp Wich
1ef07eee4a
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.
...
SVN-Revision: 29979
2012-02-01 15:06:36 +00:00
Jo-Philipp Wich
478d9fc97e
autoconf: another relocatability fix for autom4te, substitute hardcoded prefix with $STAGING_DIR when reading autom4te.cfg
...
SVN-Revision: 29931
2012-01-28 04:42:15 +00:00
Jo-Philipp Wich
537164cb6d
automake: generate relative aclocal symlinks in staging_dir
...
SVN-Revision: 29929
2012-01-28 03:51:22 +00:00
Gabor Juhos
1338af2640
firmware-utils/mkmylofw: add WPE72 support
...
Signed-off-by: Johnathan Boyce <jon.boyce@globalreach.eu.com>
SVN-Revision: 29913
2012-01-26 17:01:43 +00:00
Jo-Philipp Wich
ab2f3dc034
libtool: fix accidental sed invocation in libtoolize
...
SVN-Revision: 29839
2012-01-21 09:49:53 +00:00
Jo-Philipp Wich
42425cccfc
quilt: some more relocatable fixes for quilt-internal scripts
...
SVN-Revision: 29834
2012-01-20 17:54:43 +00:00
Jo-Philipp Wich
c7d19be230
bison: make yacc wrapper relocatable
...
SVN-Revision: 29831
2012-01-20 17:30:38 +00:00
Jo-Philipp Wich
e2180091d9
autoconf: make bin/autoconf relocatable as well
...
SVN-Revision: 29830
2012-01-20 17:17:04 +00:00
Jo-Philipp Wich
caa9e0e0f3
quilt: make relocatable, search resources relative to STAGING_DIR
...
SVN-Revision: 29829
2012-01-20 17:11:37 +00:00
Jo-Philipp Wich
122069caba
automake: further relocation fixes
...
SVN-Revision: 29828
2012-01-20 15:19:22 +00:00
Jo-Philipp Wich
fccdc995da
autoconf: further relocation fixes
...
SVN-Revision: 29827
2012-01-20 15:19:06 +00:00
Jo-Philipp Wich
b446876387
libtool: make relocatable, search resources relative to STAGING_DIR
...
SVN-Revision: 29826
2012-01-20 14:51:44 +00:00
Jo-Philipp Wich
a5a790a68f
autoconf: make relocatable by searching resources relative to STAGING_DIR
...
SVN-Revision: 29821
2012-01-20 02:56:08 +00:00
Jo-Philipp Wich
4174cdabde
automake: make relocatable by searching resources relative to STAGING_DIR
...
SVN-Revision: 29820
2012-01-20 02:55:55 +00:00
John Crispin
ccb6b0a063
tools: clean up Makefiles / make ccache work
...
SVN-Revision: 29754
2012-01-15 11:43:13 +00:00
Gabor Juhos
8a8e5bde15
firware-utils/mktplinkfw: add TL-WR2543N/ND support
...
SVN-Revision: 29681
2012-01-07 19:36:40 +00:00
Gabor Juhos
923e5d3543
firmware-utils/mktplinkfw: add support for TL-WA701N/ND
...
SVN-Revision: 29655
2012-01-04 17:30:53 +00:00
Gabor Juhos
55e13f4e6a
firmware-utils/mktplinkfw: add support for TL-MR3020
...
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
SVN-Revision: 29650
2012-01-04 17:30:44 +00:00
Gabor Juhos
29a2c2ea80
firmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the image
...
SVN-Revision: 29544
2011-12-15 22:03:42 +00:00
Gabor Juhos
2592c0a283
tools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layout
...
SVN-Revision: 29466
2011-12-06 16:26:41 +00:00
Gabor Juhos
54c8d61b03
firmware-utils/mktplinkfw: allow to align the rootfs on a specified boundary
...
SVN-Revision: 29445
2011-12-05 14:52:31 +00:00
Gabor Juhos
f3d2056b81
tools/mkimage: allow to use different magic in uImages
...
SVN-Revision: 29442
2011-12-05 14:52:22 +00:00
Gabor Juhos
81cda3e2f1
firmware-utils/mktplinkfw: fix combined image creation
...
SVN-Revision: 29409
2011-12-03 16:57:21 +00:00
Felix Fietkau
830282cc89
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
...
SVN-Revision: 29352
2011-11-28 19:19:33 +00:00
Gabor Juhos
6632e38d08
firmware-utils/mktplinfw: use htonl/ntohl
...
Based on a patch by Adrian Chadd <adrian@freebsd.org>
SVN-Revision: 29327
2011-11-24 20:09:40 +00:00
Nicolas Thill
0b5fef06ee
tools: use host build_dir instead of target build_dir
...
SVN-Revision: 29293
2011-11-23 04:06:57 +00:00
Gabor Juhos
13b0ec6cf7
firmware-utils/mktplinkfw: add TL-WR741ND v4
...
SVN-Revision: 28707
2011-11-01 11:20:54 +00:00
Vasilis Tsiligiannis
aadbbc4bac
Add firmware tool for generating factory images for Edimax devices
...
SVN-Revision: 28688
2011-10-30 22:57:41 +00:00
Gabor Juhos
500a8e2014
firmware-utils/mktplinkfw: fix hardware id of the TL-WR740 v3
...
SVN-Revision: 28602
2011-10-26 13:34:48 +00:00
Felix Fietkau
0b893424ff
tools/lzma-old fix compile issues (patch from #10253 )
...
SVN-Revision: 28502
2011-10-21 12:52:49 +00:00
Nicolas Thill
0eab6e2a7d
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'
...
SVN-Revision: 28500
2011-10-21 11:31:25 +00:00
Jonas Gorski
90673a048c
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.
SVN-Revision: 28489
2011-10-19 10:17:28 +00:00