Commit graph

967 commits

Author SHA1 Message Date
Felix Fietkau
4053e50591 tools/mkimage: unbreak non-linux build again
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36556
2013-05-06 10:30:29 +00:00
Luka Perkov
b693bfc710 mkimage: update to 2013.04
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36550
2013-05-05 20:11:04 +00:00
Felix Fietkau
0ed3a7b9d0 tools/mtools: disable iconv support, it breaks on some systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36516
2013-05-02 12:39:31 +00:00
Gabor Juhos
9658206abc firmware-utils/mktplinkfw: add description for -W option into usage output
Add description for -W <hwrev> option into usage output of mktplinkfw.

Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36497
2013-04-30 10:44:10 +00:00
Gabor Juhos
85db8b7a21 firmware-utils/mktplinkfw: add support for the TL-WR720N v3 board
Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36455
2013-04-26 17:00:47 +00:00
John Crispin
48feea4861 Add Netgear WNCE2001 (OF version)
Add Netgear WNCE2001.

This is a small RT3052 device with 4MB spi flash and 32MB ram.
2 built-in antennas, 1x fastE, no USB, reset & wps switch.
On my model the AP/RT switch is unpopulated, but I verified the gpio
mapping for it.
The stock firmware is running an unprotected tftpd which allows you
to read any file from the filesystem.
Serial port is present on testpads (See image on the wiki page).
There are more testpads below the shield near the SoC, which
may have JTAG.

Slight annoyance: The bootloader is checksumming kernel&rootfs, but
can be tricked by zeroing checksum and length fields in the checksum
partition, see
target/linux/ramips/base-files/lib/preinit/04_disable_wnce2001_flash_checksumming

The manufacturer image is very similar to the DAP one, so I slightly
modified mkdapimg to support generating it.

The resulting
openwrt-ramips-rt305x-wnce2001-squashfs-factory-(worldwide|northamerica).bin
can be used to flash from stock to OpenWRT using the stock firmware
upgrade function, without using the serial port.

http://www.netgear.com/landing/wnce2001.aspx
http://wiki.openwrt.org/toh/netgear/wnce2001

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

SVN-Revision: 36289
2013-04-09 14:19:33 +00:00
Felix Fietkau
a982c1c697 tools/upx: use HOSTCXX to fix build errors on mac os x
SVN-Revision: 36110
2013-03-22 12:52:21 +00:00
Gabor Juhos
55e2ae7452 firmware-utils/mktplinkfw: Add support for MR3420v2
Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3441/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35963
2013-03-11 15:55:23 +00:00
Felix Fietkau
a23b6acbf5 mkimage: unbreak build on non-linux systems
SVN-Revision: 35909
2013-03-09 19:00:39 +00:00
Luka Perkov
9c8ee9c264 mkimage: upgrade to version 2013.01.01
SVN-Revision: 35905
2013-03-08 20:16:11 +00:00
Felix Fietkau
1f77bfff96 build: BSD compile fixes
following patch allows to build images for Qemu ARM on
OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64.

Mostly small pieces of code changes to get things right on the
specific platform.

Updated the README to describe better, which tools on the host
are required. Added some kind of prepare scripts to install needed
tools on BSD via packages.

Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de>

SVN-Revision: 35900
2013-03-07 17:32:29 +00:00
Hauke Mehrtens
f3bfc60e1c b43-tools: fix compile error: undefined reference to `yydebug'
With bison 2.7 YYDEBUG will be set to 0 if it was not set, then #ifdef
YYDEBUG returns true, but bison 2.7 treets YYDEBUG 0 as not set.

This fixes the following error:
obj/main.o: In function `main':
main.c:(.text.startup+0xaf): undefined reference to `yydebug'
collect2: error: ld returned 1 exit status

This closes #13093.

SVN-Revision: 35830
2013-02-28 10:43:02 +00:00
Luka Perkov
d8f57c4e6c mpfr: upgrade to 3.1.1
SVN-Revision: 35828
2013-02-28 00:52:36 +00:00
Luka Perkov
71978cf105 bison: upgrade to version 2.7
SVN-Revision: 35827
2013-02-28 00:52:34 +00:00
Luka Perkov
829e0bc8b3 cmake: upgrade to version 2.8.10.2
SVN-Revision: 35826
2013-02-28 00:52:33 +00:00
Luka Perkov
2dde4db723 e2fsprogs: upgrade to version 1.42.7
SVN-Revision: 35825
2013-02-28 00:52:32 +00:00
Luka Perkov
552e5a0b00 flex: upgrade to version 2.5.37
SVN-Revision: 35824
2013-02-28 00:52:31 +00:00
Luka Perkov
7071a06e8f gmp: upgrade to version 5.1.1
SVN-Revision: 35823
2013-02-28 00:52:30 +00:00
Luka Perkov
a0e2d2a6d1 sed: upgrade to version 4.2.2
SVN-Revision: 35822
2013-02-28 00:52:28 +00:00
Luka Perkov
ba80e0a4da ccache: upgrade to version 3.1.9
SVN-Revision: 35821
2013-02-27 23:08:02 +00:00
Luka Perkov
dbe806ec61 mklibs: upgrade to 0.1.35
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 35818
2013-02-26 21:49:11 +00:00
Gabor Juhos
ddb29bebf5 firmware-utils/mktplinkfw: add support for the TL-WA830RE v1/v2 boards
Signed-off-by: Ronald Hecht <ronald.hecht@gmx.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35787
2013-02-25 20:37:32 +00:00
Gabor Juhos
c75c1e03a3 firmware-utils/mktplinkfw: add support for the TL-WDR4900 v1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35593
2013-02-13 16:51:24 +00:00
Gabor Juhos
cbeb862b95 firmware-utils/mktplinkfw: add TP-LINK TL-WR743ND v2 support
AR9331 based, these same as 741v4

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35448
2013-02-02 10:01:11 +00:00
John Crispin
2739a19992 adds support for Edimax BR-6524N
fixes #12754

Signed-off-by: <rq@akl.lt>

SVN-Revision: 35019
2013-01-06 11:11:30 +00:00
Felix Fietkau
2b0a5e47dc tools/ipkg-utils: remove some unnecessary field checks
SVN-Revision: 34870
2012-12-22 19:56:17 +00:00
Gabor Juhos
cbc3aebcc7 firmware-utils/mktplinkfw: add support for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34781
2012-12-19 08:50:43 +00:00
Felix Fietkau
f403e2dcca tools: add a symlink for gnu awk to fix kernel build errors on some platforms
SVN-Revision: 34736
2012-12-17 15:11:34 +00:00
Gabor Juhos
113b6b96c1 firmware-utils/mkfwimage2: allow to use numbers in partition names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34729
2012-12-17 12:28:15 +00:00
Gabor Juhos
dfab9cb4e7 firmware-utils/mktplinkfw: add support for TP-LINK WA801NDv1
Patch-by: Amir Sagie <openwrt-devel@taproot.org.il>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34575
2012-12-07 19:10:54 +00:00
Hauke Mehrtens
619f46df05 b43-tools: update to version 017, which contains the patch.
SVN-Revision: 34574
2012-12-07 18:30:19 +00:00
Jo-Philipp Wich
740daabdfd tools: e2fsprogs: delete doc/ directory after unpacking to ensure that makeinfo is not invoked
SVN-Revision: 34459
2012-12-02 18:35:39 +00:00
Felix Fietkau
697cbb6d2f tools/sstrip: remove redundant -I flag that breaks build on some x86_64 linux hosts
SVN-Revision: 34455
2012-12-02 16:17:33 +00:00
Hauke Mehrtens
9362c121c8 b43-tools: pack the lcn firmware into the brcmsmac firmware package.
SVN-Revision: 34453
2012-12-02 16:09:23 +00:00
Felix Fietkau
974a50ca4a sstrip: remove a redundant copy of elf.h
SVN-Revision: 34448
2012-12-02 15:26:15 +00:00
Vasilis Tsiligiannis
41b6662001 ipkg-utils: Force gnu format for tar (#12496)
SVN-Revision: 34261
2012-11-19 19:29:01 +00:00
Gabor Juhos
588c81d1e0 firmware-utils/mktplinkfw: add support for TL-WA7510N
[juhosg: separated from the http://patchwork.openwrt.org/patch/2820/ patch]

Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34189
2012-11-13 14:48:02 +00:00
John Crispin
1a7334a874 rename patch-cmdline and add code for patching DTB files into kernel images
SVN-Revision: 34058
2012-11-02 20:06:45 +00:00
Felix Fietkau
b69b9c5328 b43-tools: get rid of the libfl dependency to fix build errors on mac os x
SVN-Revision: 33934
2012-10-25 16:39:38 +00:00
Hauke Mehrtens
2c161449ac b43-tools: fix md5sum
SVN-Revision: 33931
2012-10-25 16:24:50 +00:00
Gabor Juhos
86b788b1b4 firmware-utils: new tool for fixing U-Media firmware headers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33848
2012-10-18 07:23:09 +00:00
Gabor Juhos
25250a22ef tools/firmware-utils: add seama tool
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33840
2012-10-18 07:22:57 +00:00
Hauke Mehrtens
8086b7a750 mac80211: brcmsmac: use firmware extracted from proprietary driver
The firmware from linux-firmware does not support the rev 17 core found
in a bcm4716. The firmware extracted from the proprietary driver
supports this core. Use this firmware instead by default.

SVN-Revision: 33669
2012-10-08 20:18:27 +00:00
Hauke Mehrtens
d14c6b29eb tools: add b43-tools
Move the b43-tools build from the mac80211 Makefile into an own package in tools and use the newest version of b43-tools.

SVN-Revision: 33668
2012-10-08 20:15:42 +00:00
Jonas Gorski
997ace7e5e firmware-utils: move bcm_tag.h here
Since there is only one user of bcm_tag.h left, we can safely move it
into the firmware-utils directory, replacing the symlink.

SVN-Revision: 33655
2012-10-08 09:59:50 +00:00
Felix Fietkau
15911e5a84 cmake: update to version 2.8.9
SVN-Revision: 33576
2012-09-28 00:07:28 +00:00
Felix Fietkau
ed2bf29be5 build: add the + token to any commands that can pass through the jobserver, fixes parallel build on some systems
SVN-Revision: 33523
2012-09-23 09:50:01 +00:00
Felix Fietkau
3f88c1b95f tools: flex depends on m4
SVN-Revision: 33520
2012-09-23 09:03:53 +00:00
Felix Fietkau
dcd3a74da0 tools/mkimage: avoid picking up unrelated /usr/include headers with the same name as internal header files (e.g. image.h), fixes #12232
SVN-Revision: 33519
2012-09-23 08:49:34 +00:00
Felix Fietkau
a2cf331ba6 tools/cmake: enable parallel builds
SVN-Revision: 33441
2012-09-15 14:18:10 +00:00
Felix Fietkau
54bd532d15 tools/e2fsprogs: enable parallel builds
SVN-Revision: 33440
2012-09-15 14:18:07 +00:00
Felix Fietkau
0250047a79 tools/bison: enable parallel builds
SVN-Revision: 33439
2012-09-15 14:18:04 +00:00
Felix Fietkau
a3649900b3 tools/flex: enable parallel builds
SVN-Revision: 33438
2012-09-15 14:18:01 +00:00
Felix Fietkau
2f24019b6c tools/libelf: enable parallel builds
SVN-Revision: 33437
2012-09-15 14:17:58 +00:00
Felix Fietkau
56c7b771fe tools/mpc: enable parallel builds
SVN-Revision: 33436
2012-09-15 14:17:55 +00:00
Felix Fietkau
4620e713a4 tools/mpc: remove bogus configure override
SVN-Revision: 33435
2012-09-15 14:17:52 +00:00
Felix Fietkau
3207472445 tools/mpfr enable parallel builds
SVN-Revision: 33434
2012-09-15 14:17:49 +00:00
Felix Fietkau
d7775ab256 tools/mpfr: remove bogus configure override
SVN-Revision: 33433
2012-09-15 14:17:46 +00:00
Felix Fietkau
fd1529921d tools/gmp enable parallel builds
SVN-Revision: 33432
2012-09-15 14:17:43 +00:00
Felix Fietkau
b0065ecb72 tools/xz enable parallel builds
SVN-Revision: 33431
2012-09-15 14:17:40 +00:00
Felix Fietkau
6a137d1df8 tools/pkg-config: enable parallel builds
SVN-Revision: 33430
2012-09-15 14:17:37 +00:00
Felix Fietkau
d010ec2a91 tools/libtool: enable parallel builds
SVN-Revision: 33429
2012-09-15 14:17:34 +00:00
Felix Fietkau
8b47037101 tools/sed: enable parallel builds
SVN-Revision: 33428
2012-09-15 14:17:31 +00:00
Felix Fietkau
643f51cf90 tools/m4: bypass a time consuming configure test
SVN-Revision: 33427
2012-09-15 14:17:28 +00:00
Felix Fietkau
17f9811814 tools/m4: enable parallel builds
SVN-Revision: 33426
2012-09-15 14:17:24 +00:00
Gabor Juhos
872e798473 tools/firmware-utils: add a new tool for TEW-712BR firmware generation
SVN-Revision: 33233
2012-08-22 20:15:34 +00:00
John Crispin
6c9d20d6e7 tools/firmware-utils/ptgen option to use MB rounding
SVN-Revision: 33218
2012-08-22 09:22:38 +00:00
Gabor Juhos
25ac1447ed tools/firmware-utils: add tool for DIR-651-H1 firmware generation
Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>

SVN-Revision: 33204
2012-08-17 17:56:02 +00:00
Jo-Philipp Wich
1af7a2c522 wrt350nv2-builder: don't use internal zlib macro OF() in ioapi.h, it breaks with new zlib releases
SVN-Revision: 33181
2012-08-14 10:33:43 +00:00
Jo-Philipp Wich
7304953292 convert remaining tools to $(HOST_STATIC_LINKING) (#12012)
SVN-Revision: 33148
2012-08-12 13:27:49 +00:00
Jo-Philipp Wich
958a9c96cd xz: update to 5.0.4
Signed-off-by: Jonh Wendell <jonh.wendell@gmail.com>

SVN-Revision: 33146
2012-08-12 12:48:49 +00:00
Jo-Philipp Wich
9a049babb7 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>

SVN-Revision: 33141
2012-08-12 12:46:47 +00:00
Jo-Philipp Wich
cf1698c637 use HOST_STATIC_LINKING instead of hardcoding -static
SVN-Revision: 33140
2012-08-12 12:34:30 +00:00
Jo-Philipp Wich
df261c26ba sed: disable further SELinux features
SVN-Revision: 33120
2012-08-10 22:38:09 +00:00
Jo-Philipp Wich
638a3eb4fd sed: unconditionally disable SELinux, NLS and ACL support (#12007)
SVN-Revision: 33119
2012-08-10 21:41:44 +00:00
Jo-Philipp Wich
65d6a44baa Revert "[tools] cmake: link statically"
Static linking of cmake is broken on x86_64, until we can sort it out, revert the static linking.

SVN-Revision: 33118
2012-08-10 21:25:45 +00:00
Jo-Philipp Wich
e2e55d7acd firmware-utils: link statically
SVN-Revision: 33117
2012-08-10 19:27:08 +00:00
Jo-Philipp Wich
a7568eb875 e2fsprogs: link statically
SVN-Revision: 33116
2012-08-10 19:27:07 +00:00
Jo-Philipp Wich
f79666f20c dosfstools: link statically
SVN-Revision: 33115
2012-08-10 19:27:06 +00:00
Jo-Philipp Wich
ecc3d83717 cmake: link statically
SVN-Revision: 33114
2012-08-10 19:27:04 +00:00
Jo-Philipp Wich
7d79e3a84a ccache: fix compilation, link statically
SVN-Revision: 33113
2012-08-10 19:27:03 +00:00
Jo-Philipp Wich
ec726c48a9 yaffs2: link statically
SVN-Revision: 33112
2012-08-10 19:27:01 +00:00
Jo-Philipp Wich
da6f82a16e xz: link statically
SVN-Revision: 33111
2012-08-10 19:27:00 +00:00
Jo-Philipp Wich
5ac14bbd49 wrt350nv2-builder: link statically
SVN-Revision: 33110
2012-08-10 19:26:58 +00:00
Jo-Philipp Wich
54e588c1d4 upx: link statically
SVN-Revision: 33109
2012-08-10 19:26:57 +00:00
Jo-Philipp Wich
709d0b0ddb upslug2: link statically
SVN-Revision: 33108
2012-08-10 19:26:55 +00:00
Jo-Philipp Wich
04e6e15857 sstrip: link statically
SVN-Revision: 33107
2012-08-10 19:26:54 +00:00
Jo-Philipp Wich
a361365858 squashfs4: link statically
SVN-Revision: 33106
2012-08-10 19:26:52 +00:00
Jo-Philipp Wich
14c2ec4e20 squashfs: link statically
SVN-Revision: 33105
2012-08-10 19:26:50 +00:00
Jo-Philipp Wich
d6605d85c9 sdcc: link statically
SVN-Revision: 33104
2012-08-10 19:26:49 +00:00
Jo-Philipp Wich
7c5b0f63a1 qemu: link statically
SVN-Revision: 33103
2012-08-10 19:26:48 +00:00
Jo-Philipp Wich
0096c48024 pkg-config: link statically
SVN-Revision: 33102
2012-08-10 19:26:46 +00:00
Jo-Philipp Wich
66c9e4f143 patch-cmdline: link statically
SVN-Revision: 33101
2012-08-10 19:26:45 +00:00
Jo-Philipp Wich
9903c3ead8 padjffs2: link statically
SVN-Revision: 33100
2012-08-10 19:26:43 +00:00
Jo-Philipp Wich
5dfdbd0066 mtools: link statically
SVN-Revision: 33099
2012-08-10 19:26:42 +00:00
Jo-Philipp Wich
614351940e mtd-utils: link statically
SVN-Revision: 33098
2012-08-10 19:26:40 +00:00
Jo-Philipp Wich
74d598ea7c mklibs: link statically
SVN-Revision: 33097
2012-08-10 19:26:36 +00:00
Jo-Philipp Wich
299762f190 mkimage: link statically
SVN-Revision: 33096
2012-08-10 19:26:34 +00:00
Jo-Philipp Wich
82c39a260e m4: link statically
SVN-Revision: 33095
2012-08-10 19:26:31 +00:00
Jo-Philipp Wich
ea6c66131f lzma: link statically
SVN-Revision: 33094
2012-08-10 19:26:30 +00:00
Jo-Philipp Wich
d505def9ba genext2fs: link statically
SVN-Revision: 33093
2012-08-10 19:26:28 +00:00
Jo-Philipp Wich
6c47378041 flock: link statically
SVN-Revision: 33092
2012-08-10 19:26:26 +00:00
Jo-Philipp Wich
6c5dc20343 flex: link statically
SVN-Revision: 33091
2012-08-10 19:26:24 +00:00
Jo-Philipp Wich
a8d55378c3 bison: link statically
SVN-Revision: 33090
2012-08-10 19:26:19 +00:00
Jo-Philipp Wich
f874529ca5 sed: link statically
SVN-Revision: 33089
2012-08-10 19:26:17 +00:00
John Crispin
e154d50368 fix ccache build
SVN-Revision: 33087
2012-08-10 19:05:22 +00:00
John Crispin
25482a60b3 add mktools and dosfstools which are needed for the raspberry pi
Signed-off-by: Ian Ridge <ianridge [at] gmail.com>

SVN-Revision: 32824
2012-07-24 20:39:00 +00:00
John Crispin
fb81e7a802 adds mkdapimg
Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 32822
2012-07-24 20:38:49 +00:00
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
Imre Kaloz
bda02cc60f add upx, but make it build only for ppc now
SVN-Revision: 28428
2011-10-12 10:42:38 +00:00
Gabor Juhos
712521955b firmware-utils/mktplinkfw: add support for TL-WR703N v1
Patch-by: dongyuqi <729650915@qq.com>

SVN-Revision: 28278
2011-09-21 11:47:55 +00:00
Gabor Juhos
ffbdaf8ec8 firmware-utils/mktplinkfw: add support for TL-WR743ND v1
Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 28270
2011-09-21 11:47:42 +00:00
Gabor Juhos
9faace4327 firmware-utils/mktplinkfw: add support for TL-WR740N v3
Signed-off-by: Martin Raykov <martin.raykov@gmail.com>

SVN-Revision: 28268
2011-09-21 11:47:39 +00:00
Lars-Peter Clausen
b043b26b54 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>

SVN-Revision: 27917
2011-08-05 16:53:43 +00:00
Lars-Peter Clausen
bf64b1ccb6 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>

SVN-Revision: 27916
2011-08-05 16:52:46 +00:00
Felix Fietkau
fbb4f37633 tools/quilt: fix spurious calls to the configure and Makefile targets (#8462)
SVN-Revision: 27869
2011-08-01 19:22:45 +00:00
Jo-Philipp Wich
bd982fb72c 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.
SVN-Revision: 27855
2011-08-01 00:22:53 +00:00
Felix Fietkau
5ee5f0d314 quilt: make it possible to override the path to getopt (based on patch from #9842)
SVN-Revision: 27852
2011-07-31 17:59:35 +00:00
Felix Fietkau
fa9521ad91 squashfs4: fix a compile error on big-endian systems (patch from #9842)
SVN-Revision: 27851
2011-07-31 17:59:31 +00:00
Felix Fietkau
de23984834 squashfs4: add missing include for freebsd (patch from #9842)
SVN-Revision: 27850
2011-07-31 17:59:25 +00:00
Felix Fietkau
48bf10fba2 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 >

SVN-Revision: 27744
2011-07-24 09:02:49 +00:00
Felix Fietkau
bdb676b90d firmware-utils: rename the devname variable in mkwrgimg to avoid a clash with a BSD stdlib function
SVN-Revision: 27553
2011-07-08 05:20:24 +00:00
Gabor Juhos
9d980dc121 tools/firmware-utils: add yet another buffalo tool
SVN-Revision: 27475
2011-07-06 08:04:53 +00:00
Gabor Juhos
533067b8f5 tools/firmware-utils: allow to create buffalo image from two files
SVN-Revision: 27473
2011-07-06 08:04:50 +00:00
Gabor Juhos
ea6bc8858a tools/firmware-utils: allow to create buffalo tags w/o hw version
SVN-Revision: 27472
2011-07-06 08:04:49 +00:00
Gabor Juhos
1c5b7d0a32 tools/firmware-utils: add new firmware tool for the DIR-300-B1 board
SVN-Revision: 27438
2011-07-04 06:48:42 +00:00
Felix Fietkau
3a983b98c9 tools: always build mpc, now that older gcc versions have been eliminated, fixes #9642
SVN-Revision: 27363
2011-07-02 10:49:15 +00:00
Felix Fietkau
e194acb471 padjffs2: fix a compiler warning that makes the build fail because of -Werror
SVN-Revision: 27361
2011-07-02 09:47:19 +00:00
Gabor Juhos
7ce98c6001 tools: create a new tool for more efficient jffs2 padding
SVN-Revision: 27355
2011-07-02 08:37:56 +00:00
Felix Fietkau
fc0863785a 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
SVN-Revision: 27346
2011-07-02 06:49:56 +00:00
Felix Fietkau
ce6b3da880 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
SVN-Revision: 27345
2011-07-02 06:49:36 +00:00
Imre Kaloz
3d95ace099 use u-boot 2011.06 as source
SVN-Revision: 27336
2011-07-01 13:36:23 +00:00
Hauke Mehrtens
fbed51a8b5 firmware-utils: fix build on big endian systems
This closes #9446

SVN-Revision: 27255
2011-06-21 21:13:58 +00:00
Gabor Juhos
0d7a558f23 tools/firmware-utils: fix buffalo csum calculation
Also print an error message if decryption fails.

SVN-Revision: 27167
2011-06-13 08:12:41 +00:00
Gabor Juhos
145402e11b tools/firmware-utils: add support for hd_id tag into mkdniimg
Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 27052
2011-05-31 22:53:24 +00:00
Gabor Juhos
fb9a672c78 tools/firmware-utils: add buffalo specific fw tools
SVN-Revision: 27050
2011-05-31 22:53:21 +00:00
John Crispin
9abcc01305 * adds mkelfimage
SVN-Revision: 26918
2011-05-17 10:33:46 +00:00
Florian Fainelli
dce13b8c4d 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>

SVN-Revision: 26877
2011-05-11 13:34:05 +00:00
Jo-Philipp Wich
8324bf036c 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
SVN-Revision: 26804
2011-05-02 12:53:32 +00:00
Daniel Dickinson
f83c5938d2 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>

SVN-Revision: 26680
2011-04-15 12:18:25 +00:00
Jo-Philipp Wich
2702ba56f0 ipkg-utils: use (g)stat instead of "du -b" to find package size, fixes Darwin compat (#9214)
SVN-Revision: 26642
2011-04-13 13:26:26 +00:00
Jo-Philipp Wich
b32797cc55 missing-macros: add GTKDOC_REBASE macro needed by some newer packages Signed-off-by: Jochen Friedrich <jochen@scram.de>
SVN-Revision: 26620
2011-04-12 20:19:52 +00:00
Hauke Mehrtens
869fb691ec 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.

SVN-Revision: 26543
2011-04-09 15:06:01 +00:00
Felix Fietkau
d637ae2fc8 make the build system a bit more silent without V=99
SVN-Revision: 26460
2011-04-04 00:54:37 +00:00
Hauke Mehrtens
6b654266bb m4: update to version 1.4.16
SVN-Revision: 26439
2011-04-03 13:19:54 +00:00
Hauke Mehrtens
ce6942268c xz: update to version 5.0.2
SVN-Revision: 26438
2011-04-03 13:19:16 +00:00
Felix Fietkau
fb64684435 lzma-old: do not install $(STAGING_DIR_HOST)/bin/lzma
SVN-Revision: 26423
2011-04-03 01:02:03 +00:00
Felix Fietkau
e6aa1cab00 tools/squashfs4: update to version 4.2 (adds support for xz compression)
Based on a patch by Jonas Gorski

SVN-Revision: 26422
2011-04-03 01:02:00 +00:00
Alexandros C. Couloumbis
59b085ff1b tools/cmake: update to version 2.8.4
SVN-Revision: 26283
2011-03-24 11:27:07 +00:00
Jo-Philipp Wich
b8aef60e35 ipkg-utils: utilize the tar -p flag to preserve permissions (#7667)
SVN-Revision: 26258
2011-03-21 17:36:50 +00:00
Gabor Juhos
72b3c18da1 firmware-utils/mktplinkfw: add support for the TP-Link TL-WA901ND v2 board
Patch-by: Jonathan Benett <jbscience87@gmail.com>

SVN-Revision: 26118
2011-03-13 15:08:29 +00:00
Alexandros C. Couloumbis
58a5102338 tools/xz: add some upstream patches
SVN-Revision: 26018
2011-03-10 18:41:33 +00:00
Jo-Philipp Wich
b5a0fd2961 package xfce-macros, required for autoreconf in xfce4 packages
SVN-Revision: 25974
2011-03-09 14:44:23 +00:00
Jo-Philipp Wich
200460fb54 bison: fix compilation with stub intl header
SVN-Revision: 25869
2011-03-04 20:37:15 +00:00
Alexandros C. Couloumbis
8d9c6a8f06 tools/xz: update to version 5.0.1
SVN-Revision: 25847
2011-03-03 10:26:11 +00:00
Felix Fietkau
ad45e24bd0 mklibs: fix some long standing libpthread symbol link issues, mostly related to weak function overrides between libgcc, libc and libpthread
SVN-Revision: 25795
2011-02-28 18:17:02 +00:00
Felix Fietkau
04e3dae4ad 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
SVN-Revision: 25793
2011-02-28 16:17:04 +00:00
Felix Fietkau
11c08a39bc tools/e2fsprogs: move uuid/uuid.h into a subdirectory, it conflicts with a system header file with the same name on darwin
SVN-Revision: 25598
2011-02-20 03:25:56 +00:00
Felix Fietkau
23ef9fcc6a squashfs4: make the lzma parameters configurable, and change the defaults for slightly improved compression on mips (mostly unchanged on other architectures)
SVN-Revision: 25530
2011-02-13 19:59:02 +00:00
Hauke Mehrtens
e08740c747 brcm47xx: fix error when build firmware on x86_64 host (closes #7672)
SVN-Revision: 25472
2011-02-12 13:17:47 +00:00
Imre Kaloz
776dff339e the url isn't valid for some time
SVN-Revision: 25463
2011-02-11 14:03:04 +00:00
Jo-Philipp Wich
1fd1ed7373 libtool: fix misspelled procedure name...
SVN-Revision: 25351
2011-02-03 20:34:34 +00:00
Felix Fietkau
083e9fddff tools/mpc: add dependency on mpfr
SVN-Revision: 25279
2011-02-01 16:21:46 +00:00
Felix Fietkau
0756895047 add tools/cmake
SVN-Revision: 25264
2011-01-31 20:15:57 +00:00
Michael Büsch
e99a1560cd Add missing XAW macros
SVN-Revision: 25159
2011-01-27 19:52:36 +00:00
Imre Kaloz
50be0201f1 cleanup toolchain version handling
SVN-Revision: 25148
2011-01-27 13:55:00 +00:00
Jo-Philipp Wich
c3dfcb25c0 remove bogus qemu dependency
SVN-Revision: 25032
2011-01-17 05:58:40 +00:00
Jo-Philipp Wich
b89c083161 tools/ipkg-utils: calculate installed size from embedded data.tar.gz, makes opkg space checking more precise
SVN-Revision: 25021
2011-01-16 22:16:49 +00:00
Jo-Philipp Wich
531e5e5386 mklibs: import missing symbol workaround from Freetz project (#7590)
SVN-Revision: 24984
2011-01-14 10:49:41 +00:00
Gabor Juhos
78ffb50c8e firmware-utils/mkdniimg: don't use NA region by default
SVN-Revision: 24981
2011-01-14 10:37:09 +00:00
Gabor Juhos
e116785f27 firmware-utils/wndr3700: allow to specify image magic via command line
SVN-Revision: 24980
2011-01-14 10:37:04 +00:00
Alexandros C. Couloumbis
d6b2ce5df5 tools/mkimage: fix r24887
SVN-Revision: 24890
2011-01-03 14:27:53 +00:00
Alexandros C. Couloumbis
e303b6e46a tools/qemu: fix FreeBSD compile issue
SVN-Revision: 24888
2011-01-03 12:59:43 +00:00
Alexandros C. Couloumbis
4e83015c51 tools/mkimage: fix compilation on FreeBSD
SVN-Revision: 24887
2011-01-03 12:30:19 +00:00
Jo-Philipp Wich
4b8799280f missing-macros: add as-unaligned-access.m4
SVN-Revision: 24878
2011-01-02 01:23:44 +00:00
Jo-Philipp Wich
c208b4a102 missing-macros: add as-compiler-flag.m4 and as-version.m4
SVN-Revision: 24877
2011-01-02 01:14:45 +00:00
Jo-Philipp Wich
442433ca2b revert r24851, it breaks compilation on many hosts
SVN-Revision: 24866
2011-01-01 15:51:12 +00:00
Hauke Mehrtens
07c8da7253 tools: add some missing dependencies
SVN-Revision: 24865
2011-01-01 15:18:57 +00:00
Felix Fietkau
32510b4494 tools/mkimage: remove the broken portability patch, it is no longer necessary with the new version
SVN-Revision: 24857
2010-12-30 15:48:32 +00:00
Alexandros C. Couloumbis
55d7031b9d tools/e2fsprogs: update to version 1.41.14
SVN-Revision: 24851
2010-12-29 17:38:48 +00:00
Jo-Philipp Wich
1fa3f197f6 missing-macros: add as-ac-expand.m4
SVN-Revision: 24846
2010-12-29 09:39:09 +00:00
Daniel Dickinson
fc3a1d0ba3 Added OpenWRT-specific field to imagetag so that we can record the real root length, so that when the CRC fixup is applied and the root length is recorded as zero we can still calculate the rootfs mtd partition size.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

SVN-Revision: 24838
2010-12-26 04:18:13 +00:00
Gabor Juhos
0f659a13dd ar71xx: add support for TL-WR740N v1
Same as TL-WR741ND but with different hardware ID and without
detachable antenna.

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

SVN-Revision: 24811
2010-12-23 12:42:16 +00:00
Imre Kaloz
3d501f9403 use u-boot v2010.12
SVN-Revision: 24809
2010-12-23 00:07:58 +00:00
Jo-Philipp Wich
aac7b92284 missing-macros: extend fake-gtk-doc-check.m4 (fixes autoreconf in orbit2), provide fake-intltool.m4
SVN-Revision: 24787
2010-12-22 09:33:06 +00:00
Jo-Philipp Wich
879e5891c1 missing-macros: add xmms.m4, from libflac
SVN-Revision: 24784
2010-12-22 08:04:33 +00:00
Jo-Philipp Wich
2c125b87a7 missing-macros: add missing serial numbers, split acc.m4 into mfx_acc.m4, mfx_cppflags.m4 and mfx_limits.m4
SVN-Revision: 24763
2010-12-22 01:21:06 +00:00
Jo-Philipp Wich
fcc8d6c33f missing-macros: fix a bunch of underquoted definition warnings in various 3rd party macros
SVN-Revision: 24761
2010-12-22 01:03:17 +00:00
Jo-Philipp Wich
93cb309a05 missing-macros: add more m4 macros from gettext, ossp-js, libmikmod, libdnet
SVN-Revision: 24757
2010-12-22 00:38:21 +00:00
Jo-Philipp Wich
9ecd833007 missing-macros: add acc.m4, used by ucl and lzo
SVN-Revision: 24756
2010-12-22 00:11:47 +00:00
Jo-Philipp Wich
6ed509a8a7 add missing makefile in previous commit
SVN-Revision: 24755
2010-12-22 00:03:15 +00:00
Jo-Philipp Wich
214d1e7aeb package mm-common, this provides missing m4 macros for glibmm, gtkmm, cairomm and other Gnome C++ bindings
SVN-Revision: 24754
2010-12-22 00:02:36 +00:00
Jo-Philipp Wich
e3269cc34e introduce missing-macros meta package, this will supply needed m4 macros which are used but not shipped by various packages in feeds
SVN-Revision: 24753
2010-12-21 23:50:41 +00:00
Jo-Philipp Wich
c4ab5ca143 libtool: extend all ltmain.m4sh patches to cover ltmain.sh as well, prevent configure from embedding host library paths
SVN-Revision: 24752
2010-12-21 22:37:54 +00:00
Jo-Philipp Wich
22da5f54e9 libtool: strip unsave directories from relink command, nuke every -L that looks like /usr/lib or /lib
SVN-Revision: 24741
2010-12-20 19:43:57 +00:00
Hauke Mehrtens
ba45b5a907 e2fsprogs: add two compile fixes.
Thank you Joe Roback for reporting and fixing compiling on Darwin.

SVN-Revision: 24720
2010-12-19 11:43:45 +00:00
Hauke Mehrtens
e8892241f6 tools: fix dependencies
SVN-Revision: 24693
2010-12-19 00:05:17 +00:00
Jo-Philipp Wich
5884b43b51 the mpfr dependencies accidentally got broken up, fix it
SVN-Revision: 24684
2010-12-18 19:59:04 +00:00
Hauke Mehrtens
2653c7b0d9 e2fsprogs: update to version 1.41.13
SVN-Revision: 24683
2010-12-18 19:47:11 +00:00
Hauke Mehrtens
95d15bfdb8 tools: add missing dependencies
SVN-Revision: 24682
2010-12-18 19:46:39 +00:00
Hauke Mehrtens
5291e389ca cloog: libtools has to be run
SVN-Revision: 24681
2010-12-18 19:34:55 +00:00