Commit Graph

513 Commits (164e8d9bf6d6fa130c7b86cca1199b562e4235d8)

Author SHA1 Message Date
Felix Fietkau 0bdbd33dcb tools/quilt: fix spurious calls to the configure and Makefile targets (#8462)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 19:22:45 +00:00
Jo-Philipp Wich 2b36cc83f3 [include] autotools.mk: implement PKG_FIXUP:=patch-libtool
This change allows to apply OpenWrt, Buildroot and OE libtool fixes to packages which fail badly at autoreconf.
The fixup covers the common libtool versions 1.5, 2.2 and 2.4 and automatically determines the correct
version to use.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-01 00:22:53 +00:00
Felix Fietkau 5611c2142c quilt: make it possible to override the path to getopt (based on patch from #9842)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-31 17:59:35 +00:00
Felix Fietkau 99477de202 squashfs4: fix a compile error on big-endian systems (patch from #9842)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-31 17:59:31 +00:00
Felix Fietkau 81a40cb8b3 squashfs4: add missing include for freebsd (patch from #9842)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-31 17:59:25 +00:00
Felix Fietkau 090a5384df pkg-config: fix prefix
Now:

% PATH=./staging_dir/host/bin:$PATH STAGING_PREFIX=/test PKG_CONFIG_PATH=$(echo staging_dir/target-*/usr/lib/pkgconfig) ./staging_dir/host/bin/pkg-config --cflags lua -I/test//include

After applying the patch:

% PATH=./staging_dir/host/bin:$PATH STAGING_PREFIX=/test PKG_CONFIG_PATH=$(echo staging_dir/target-*/usr/lib/pkgconfig) ./staging_dir/host/bin/pkg-config --cflags lua -I/test/include

I guess that there sould not be '//' but only one '/'.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-24 09:02:49 +00:00
Felix Fietkau 4903cab0d4 firmware-utils: rename the devname variable in mkwrgimg to avoid a clash with a BSD stdlib function
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27553 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-08 05:20:24 +00:00
Gabor Juhos 6780ee387d tools/firmware-utils: add yet another buffalo tool
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:53 +00:00
Gabor Juhos 47453efcd4 tools/firmware-utils: allow to create buffalo image from two files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:50 +00:00
Gabor Juhos 236c920aca tools/firmware-utils: allow to create buffalo tags w/o hw version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 08:04:49 +00:00
Gabor Juhos bcac11b460 tools/firmware-utils: add new firmware tool for the DIR-300-B1 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 06:48:42 +00:00
Felix Fietkau c01e8cfc4f tools: always build mpc, now that older gcc versions have been eliminated, fixes #9642
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 10:49:15 +00:00
Felix Fietkau 41d51f6782 padjffs2: fix a compiler warning that makes the build fail because of -Werror
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27361 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 09:47:19 +00:00
Gabor Juhos 726a70f17e tools: create a new tool for more efficient jffs2 padding
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27355 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 08:37:56 +00:00
Felix Fietkau 2bff76170f add a portable version of sys/sysmacros.h and and let the kernel use the host include dir, fixes x86 builds on non-gnu systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 06:49:56 +00:00
Felix Fietkau 4c72559742 move mkelfimage from tools/ to package/ as it needs a proper i386 toolchain - make the package hidden so that it is automatically built without having to be selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-02 06:49:36 +00:00
Imre Kaloz 15db4fcf8d [tools/mkimage]: use u-boot 2011.06 as source
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-01 13:36:23 +00:00
Hauke Mehrtens 1f71cdebe0 firmware-utils: fix build on big endian systems
This closes #9446


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

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

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-17 10:33:46 +00:00
Florian Fainelli 8615c287a1 bcm63xx: Add firmware helpers for T-Home Speedport W 303V
Add two helpers for generating correctly tagged images for the T-Home
Speedport W 303V Typ B as well as xor'd ones as required by CFE.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-11 13:34:05 +00:00
Jo-Philipp Wich 5506e60734 [PATCH] quilt: fix building with dash
`test x == x` gives a syntax error with dash (standard in Debian).
The modified patch reflects the current upstream:
http://git.savannah.gnu.org/cgit/quilt.git/commit/?id=38df0b210c3df67f3e784af92232ae1946b98ecd


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-02 12:53:32 +00:00
Daniel Dickinson b2ae50ed27 bcm63xx: Move the OpenWrt rootfs length field
Dual image capable CFEs store an image sequence at the same place as
currently OpenWrt stores the actual rootfs length, so it will get
overwritten when flashing through such a CFE.

To prevent this from happening, move the rootfs length field to the next
four bytes, thus completely using the reserved1 field.

Since the reserved1 field is now completely in use, it does not make sense
to allow it to be set from the imagetag utility, so remove the option.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 12:18:25 +00:00
Jo-Philipp Wich 94920b0e8a [tools] ipkg-utils: use (g)stat instead of "du -b" to find package size, fixes Darwin compat (#9214)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-13 13:26:26 +00:00
Jo-Philipp Wich 5cf0e4f471 missing-macros: add GTKDOC_REBASE macro needed by some newer packages
Signed-off-by: Jochen Friedrich <jochen@scram.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-12 20:19:52 +00:00
Hauke Mehrtens 51633f949d firmware-utils: fix endianness bugs in firmware generation program.
Should make it work on big endian systems again, I do not have such a system.

This closes #9093.


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

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-13 15:08:29 +00:00
Alexandros C. Couloumbis 53519e5503 tools/xz: add some upstream patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-10 18:41:33 +00:00
Jo-Philipp Wich daee4aa5f2 [tools] package xfce-macros, required for autoreconf in xfce4 packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-09 14:44:23 +00:00
Jo-Philipp Wich 020319a7cc [tools] bison: fix compilation with stub intl header
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-04 20:37:15 +00:00
Alexandros C. Couloumbis 51ae2b31e5 tools/xz: update to version 5.0.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-03 10:26:11 +00:00
Felix Fietkau 84b78edf81 mklibs: fix some long standing libpthread symbol link issues, mostly related to weak function overrides between libgcc, libc and libpthread
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25795 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 18:17:02 +00:00
Felix Fietkau 57b134349f mklibs: properly fix library linking - the relinking in some instances used static libraries instead of shared ones with the same name, that led to some nasty symbol conflicts and pic issues. fix this by always using the full path to the libraries and also fix the libc vs libpthread linking order
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-28 16:17:04 +00:00
Felix Fietkau 2ab935a3a0 tools/e2fsprogs: move uuid/uuid.h into a subdirectory, it conflicts with a system header file with the same name on darwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20 03:25:56 +00:00
Felix Fietkau 228dd030c0 squashfs4: make the lzma parameters configurable, and change the defaults for slightly improved compression on mips (mostly unchanged on other architectures)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25530 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-13 19:59:02 +00:00
Hauke Mehrtens a11783f9d6 brcm47xx: fix error when build firmware on x86_64 host (closes #7672)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-12 13:17:47 +00:00
Imre Kaloz 599f1671cc [tools/wrt350nv2-builder]: the url isn't valid for some time
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-11 14:03:04 +00:00
Jo-Philipp Wich 768a905d0c [tools] libtool: fix misspelled procedure name...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-03 20:34:34 +00:00
Felix Fietkau b0ee5554e3 tools/mpc: add dependency on mpfr
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-01 16:21:46 +00:00
Felix Fietkau 42f0435331 add tools/cmake
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-31 20:15:57 +00:00
Michael Büsch 390ce6b4b6 Add missing XAW macros
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 19:52:36 +00:00