Commit Graph

548 Commits

Author SHA1 Message Date
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
Hauke Mehrtens
22a7f8afb1 ppl: go back to version 0.10.2
GCC 4.5 needs ppl in version 0.10.2. The patch makes it compile with gmp 5.

SVN-Revision: 24680
2010-12-18 19:34:04 +00:00
Jo-Philipp Wich
51538948fe make libtool a tool build and let autoconf depend on it
SVN-Revision: 24673
2010-12-18 18:07:53 +00:00
Gabor Juhos
29379780a6 firmware-utils/mkzynfw: fix available flash space calculation
SVN-Revision: 24653
2010-12-17 20:34:31 +00:00
Jo-Philipp Wich
c0b0acee08 build flex on the host, some pakcages need it in the newest version
SVN-Revision: 24631
2010-12-17 02:41:16 +00:00
Jo-Philipp Wich
6c176fe0a7 mpfr: reenable HOST_FIXUP, it *should* work okay now after r24570
SVN-Revision: 24571
2010-12-15 00:39:14 +00:00
Jo-Philipp Wich
77dd090ffb mpfr: disable host fixup for now
SVN-Revision: 24557
2010-12-13 23:07:30 +00:00
Jo-Philipp Wich
4cdaea52c4 reorder dependencies
SVN-Revision: 24556
2010-12-13 21:02:31 +00:00
Jo-Philipp Wich
5787c6743e mpfr: use autoreconf host fixup
SVN-Revision: 24555
2010-12-13 21:01:34 +00:00
Florian Fainelli
f590b304ef Revert "[tools] sstrip: Correct include path to really get endian.h" (#8447)
This reverts commit ac0f793ae985db73caf99916336569c211a759f8.

SVN-Revision: 24516
2010-12-12 14:53:24 +00:00
Daniel Dickinson
2fb0b04bdd Makefile: Put lzma before squashfs so compile of squashfs4 succeeds (depends on lzma)
SVN-Revision: 24513
2010-12-12 05:50:47 +00:00
Daniel Dickinson
9c244fdd12 sstrip: Correct include path to really get endian.h
SVN-Revision: 24512
2010-12-12 05:02:41 +00:00
Daniel Dickinson
062a1617db Revert "[tools] sstrip: Was missing include of <byteswap.h>"
This reverts commit bcb48716d097c16834f222c267c73e847f4a8dd0.

SVN-Revision: 24511
2010-12-12 04:59:51 +00:00
Daniel Dickinson
20ad1b1cc3 sstrip: Was missing include of <byteswap.h>
SVN-Revision: 24510
2010-12-12 04:57:07 +00:00
Hauke Mehrtens
0ea5f613de ppl: update to new version.
The old version is not compatible with gmp 5.

SVN-Revision: 24501
2010-12-11 23:55:39 +00:00
Felix Fietkau
4dbb7f8cb5 tools/xz: do not overwrite the lzma binary
SVN-Revision: 24499
2010-12-11 21:29:53 +00:00
Hauke Mehrtens
8f27618e1f qemu: update qemu to version 0.13.0
SVN-Revision: 24487
2010-12-11 16:08:10 +00:00
Felix Fietkau
82ac7bb00a add a host package for xz
SVN-Revision: 24481
2010-12-11 13:20:19 +00:00
Jo-Philipp Wich
e006253f11 remove obsolete stamp dep after r24474
SVN-Revision: 24475
2010-12-11 03:18:31 +00:00
Jo-Philipp Wich
bf9e9b6a91 rework aclocal handling, packages have issues writing through the symlink so keep the host aclocal as include path for now
SVN-Revision: 24474
2010-12-11 03:15:10 +00:00