Commit Graph

578 Commits (7fb394b9ab8e45c85202fc211ee9cabc0f4540c7)

Author SHA1 Message Date
Jo-Philipp Wich 4174cdabde automake: make relocatable by searching resources relative to STAGING_DIR
SVN-Revision: 29820
13 years ago
John Crispin ccb6b0a063 tools: clean up Makefiles / make ccache work
SVN-Revision: 29754
13 years ago
Gabor Juhos 8a8e5bde15 firware-utils/mktplinkfw: add TL-WR2543N/ND support
SVN-Revision: 29681
13 years ago
Gabor Juhos 923e5d3543 firmware-utils/mktplinkfw: add support for TL-WA701N/ND
SVN-Revision: 29655
13 years ago
Gabor Juhos 55e13f4e6a firmware-utils/mktplinkfw: add support for TL-MR3020
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

SVN-Revision: 29650
13 years ago
Gabor Juhos 29a2c2ea80 firmware-utils/mktplinkfw: add ability to put jffs2 eof marker into the image
SVN-Revision: 29544
13 years ago
Gabor Juhos 2592c0a283 tools/mktplinkfw: allow to specify hw_id, hw_rev and flash_layout
SVN-Revision: 29466
13 years ago
Gabor Juhos 54c8d61b03 firmware-utils/mktplinkfw: allow to align the rootfs on a specified boundary
SVN-Revision: 29445
13 years ago
Gabor Juhos f3d2056b81 tools/mkimage: allow to use different magic in uImages
SVN-Revision: 29442
13 years ago
Gabor Juhos 81cda3e2f1 firmware-utils/mktplinkfw: fix combined image creation
SVN-Revision: 29409
13 years ago
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
13 years ago
Gabor Juhos 6632e38d08 firmware-utils/mktplinfw: use htonl/ntohl
Based on a patch by Adrian Chadd <adrian@freebsd.org>

SVN-Revision: 29327
13 years ago
Nicolas Thill 0b5fef06ee tools: use host build_dir instead of target build_dir
SVN-Revision: 29293
13 years ago
Gabor Juhos 13b0ec6cf7 firmware-utils/mktplinkfw: add TL-WR741ND v4
SVN-Revision: 28707
13 years ago
Vasilis Tsiligiannis aadbbc4bac Add firmware tool for generating factory images for Edimax devices
SVN-Revision: 28688
13 years ago
Gabor Juhos 500a8e2014 firmware-utils/mktplinkfw: fix hardware id of the TL-WR740 v3
SVN-Revision: 28602
13 years ago
Felix Fietkau 0b893424ff tools/lzma-old fix compile issues (patch from #10253)
SVN-Revision: 28502
13 years ago
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
13 years ago
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
13 years ago
Imre Kaloz bda02cc60f add upx, but make it build only for ppc now
SVN-Revision: 28428
13 years ago
Gabor Juhos 712521955b firmware-utils/mktplinkfw: add support for TL-WR703N v1
Patch-by: dongyuqi <729650915@qq.com>

SVN-Revision: 28278
13 years ago
Gabor Juhos ffbdaf8ec8 firmware-utils/mktplinkfw: add support for TL-WR743ND v1
Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 28270
13 years ago
Gabor Juhos 9faace4327 firmware-utils/mktplinkfw: add support for TL-WR740N v3
Signed-off-by: Martin Raykov <martin.raykov@gmail.com>

SVN-Revision: 28268
13 years ago
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
13 years ago
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
13 years ago
Felix Fietkau fbb4f37633 tools/quilt: fix spurious calls to the configure and Makefile targets (#8462)
SVN-Revision: 27869
13 years ago
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
13 years ago
Felix Fietkau 5ee5f0d314 quilt: make it possible to override the path to getopt (based on patch from #9842)
SVN-Revision: 27852
13 years ago
Felix Fietkau fa9521ad91 squashfs4: fix a compile error on big-endian systems (patch from #9842)
SVN-Revision: 27851
13 years ago
Felix Fietkau de23984834 squashfs4: add missing include for freebsd (patch from #9842)
SVN-Revision: 27850
13 years ago
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
13 years ago
Felix Fietkau bdb676b90d firmware-utils: rename the devname variable in mkwrgimg to avoid a clash with a BSD stdlib function
SVN-Revision: 27553
13 years ago
Gabor Juhos 9d980dc121 tools/firmware-utils: add yet another buffalo tool
SVN-Revision: 27475
13 years ago
Gabor Juhos 533067b8f5 tools/firmware-utils: allow to create buffalo image from two files
SVN-Revision: 27473
13 years ago
Gabor Juhos ea6bc8858a tools/firmware-utils: allow to create buffalo tags w/o hw version
SVN-Revision: 27472
13 years ago
Gabor Juhos 1c5b7d0a32 tools/firmware-utils: add new firmware tool for the DIR-300-B1 board
SVN-Revision: 27438
13 years ago
Felix Fietkau 3a983b98c9 tools: always build mpc, now that older gcc versions have been eliminated, fixes #9642
SVN-Revision: 27363
13 years ago
Felix Fietkau e194acb471 padjffs2: fix a compiler warning that makes the build fail because of -Werror
SVN-Revision: 27361
13 years ago
Gabor Juhos 7ce98c6001 tools: create a new tool for more efficient jffs2 padding
SVN-Revision: 27355
13 years ago
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
13 years ago
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
13 years ago
Imre Kaloz 3d95ace099 use u-boot 2011.06 as source
SVN-Revision: 27336
13 years ago
Hauke Mehrtens fbed51a8b5 firmware-utils: fix build on big endian systems
This closes #9446

SVN-Revision: 27255
13 years ago
Gabor Juhos 0d7a558f23 tools/firmware-utils: fix buffalo csum calculation
Also print an error message if decryption fails.

SVN-Revision: 27167
13 years ago
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
13 years ago
Gabor Juhos fb9a672c78 tools/firmware-utils: add buffalo specific fw tools
SVN-Revision: 27050
13 years ago
John Crispin 9abcc01305 * adds mkelfimage
SVN-Revision: 26918
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Jo-Philipp Wich 2702ba56f0 ipkg-utils: use (g)stat instead of "du -b" to find package size, fixes Darwin compat (#9214)
SVN-Revision: 26642
13 years ago
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
13 years ago
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
13 years ago
Felix Fietkau d637ae2fc8 make the build system a bit more silent without V=99
SVN-Revision: 26460
13 years ago
Hauke Mehrtens 6b654266bb m4: update to version 1.4.16
SVN-Revision: 26439
13 years ago
Hauke Mehrtens ce6942268c xz: update to version 5.0.2
SVN-Revision: 26438
13 years ago
Felix Fietkau fb64684435 lzma-old: do not install $(STAGING_DIR_HOST)/bin/lzma
SVN-Revision: 26423
13 years ago
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
13 years ago
Alexandros C. Couloumbis 59b085ff1b tools/cmake: update to version 2.8.4
SVN-Revision: 26283
13 years ago
Jo-Philipp Wich b8aef60e35 ipkg-utils: utilize the tar -p flag to preserve permissions (#7667)
SVN-Revision: 26258
13 years ago
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
13 years ago
Alexandros C. Couloumbis 58a5102338 tools/xz: add some upstream patches
SVN-Revision: 26018
13 years ago
Jo-Philipp Wich b5a0fd2961 package xfce-macros, required for autoreconf in xfce4 packages
SVN-Revision: 25974
13 years ago
Jo-Philipp Wich 200460fb54 bison: fix compilation with stub intl header
SVN-Revision: 25869
13 years ago
Alexandros C. Couloumbis 8d9c6a8f06 tools/xz: update to version 5.0.1
SVN-Revision: 25847
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Hauke Mehrtens e08740c747 brcm47xx: fix error when build firmware on x86_64 host (closes #7672)
SVN-Revision: 25472
13 years ago
Imre Kaloz 776dff339e the url isn't valid for some time
SVN-Revision: 25463
13 years ago
Jo-Philipp Wich 1fd1ed7373 libtool: fix misspelled procedure name...
SVN-Revision: 25351
13 years ago
Felix Fietkau 083e9fddff tools/mpc: add dependency on mpfr
SVN-Revision: 25279
13 years ago
Felix Fietkau 0756895047 add tools/cmake
SVN-Revision: 25264
13 years ago
Michael Büsch e99a1560cd Add missing XAW macros
SVN-Revision: 25159
14 years ago
Imre Kaloz 50be0201f1 cleanup toolchain version handling
SVN-Revision: 25148
14 years ago
Jo-Philipp Wich c3dfcb25c0 remove bogus qemu dependency
SVN-Revision: 25032
14 years ago
Jo-Philipp Wich b89c083161 tools/ipkg-utils: calculate installed size from embedded data.tar.gz, makes opkg space checking more precise
SVN-Revision: 25021
14 years ago
Jo-Philipp Wich 531e5e5386 mklibs: import missing symbol workaround from Freetz project (#7590)
SVN-Revision: 24984
14 years ago
Gabor Juhos 78ffb50c8e firmware-utils/mkdniimg: don't use NA region by default
SVN-Revision: 24981
14 years ago
Gabor Juhos e116785f27 firmware-utils/wndr3700: allow to specify image magic via command line
SVN-Revision: 24980
14 years ago
Alexandros C. Couloumbis d6b2ce5df5 tools/mkimage: fix r24887
SVN-Revision: 24890
14 years ago
Alexandros C. Couloumbis e303b6e46a tools/qemu: fix FreeBSD compile issue
SVN-Revision: 24888
14 years ago
Alexandros C. Couloumbis 4e83015c51 tools/mkimage: fix compilation on FreeBSD
SVN-Revision: 24887
14 years ago
Jo-Philipp Wich 4b8799280f missing-macros: add as-unaligned-access.m4
SVN-Revision: 24878
14 years ago
Jo-Philipp Wich c208b4a102 missing-macros: add as-compiler-flag.m4 and as-version.m4
SVN-Revision: 24877
14 years ago
Jo-Philipp Wich 442433ca2b revert r24851, it breaks compilation on many hosts
SVN-Revision: 24866
14 years ago
Hauke Mehrtens 07c8da7253 tools: add some missing dependencies
SVN-Revision: 24865
14 years ago
Felix Fietkau 32510b4494 tools/mkimage: remove the broken portability patch, it is no longer necessary with the new version
SVN-Revision: 24857
14 years ago
Alexandros C. Couloumbis 55d7031b9d tools/e2fsprogs: update to version 1.41.14
SVN-Revision: 24851
14 years ago
Jo-Philipp Wich 1fa3f197f6 missing-macros: add as-ac-expand.m4
SVN-Revision: 24846
14 years ago
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
14 years ago
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
14 years ago
Imre Kaloz 3d501f9403 use u-boot v2010.12
SVN-Revision: 24809
14 years ago
Jo-Philipp Wich aac7b92284 missing-macros: extend fake-gtk-doc-check.m4 (fixes autoreconf in orbit2), provide fake-intltool.m4
SVN-Revision: 24787
14 years ago
Jo-Philipp Wich 879e5891c1 missing-macros: add xmms.m4, from libflac
SVN-Revision: 24784
14 years ago
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
14 years ago
Jo-Philipp Wich fcc8d6c33f missing-macros: fix a bunch of underquoted definition warnings in various 3rd party macros
SVN-Revision: 24761
14 years ago
Jo-Philipp Wich 93cb309a05 missing-macros: add more m4 macros from gettext, ossp-js, libmikmod, libdnet
SVN-Revision: 24757
14 years ago
Jo-Philipp Wich 9ecd833007 missing-macros: add acc.m4, used by ucl and lzo
SVN-Revision: 24756
14 years ago