Commit Graph

6072 Commits

Author SHA1 Message Date
Thomas Petazzoni
901b468e24 external toolchain: check cross-compiler existence
As a minimal test to the external toolchain, check that $(TARGET_CC)
is actually an existing executable file. That way, if the user
misconfigures the toolchain path and/or prefix, a meaningful error
message will be shown.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-17 08:53:55 +02:00
Thomas Petazzoni
82bf777ed7 external toolchain: respect $(Q)
Use $(Q) in external toolchain support so that the user can get the
full output by passing V=1 to make, and still get a nice and clean
output by default.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-17 08:48:35 +02:00
Thomas Petazzoni
28aa0b47fb external toolchain: copy the C++ standard library if needed
Obey the BR2_INSTALL_LIBSTDCPP configuration option to copy the C++
standard library to the target. Suggested by Lionel Landwerlin
<lionel.landwerlin@openwide.fr>.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-17 08:46:51 +02:00
Thomas Petazzoni
3026e9930e external toolchain: do not copy useless symbolic links
Do not copy .so symbolic links to target when not needed. Only copy
.so.X symbolic links and the library itself.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-17 08:46:43 +02:00
Thomas Petazzoni
0afd2103f0 external toolchain: more documentation about the principles
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-17 00:20:33 +02:00
Thomas Petazzoni
fd5570970e external toolchain: use LANG=C when calling gcc -v
Lionel Landwerlin <lionel.landwerlin@openwide.fr> reported that using
the external toolchain support when LANG=fr_FR.UTF-8 doesn't work,
since the messages printed by gcc -v are translated in another
language, defeating the grep ^Configured test.

Therefore, as per Lionel suggestion, we force LANG=C when calling
$(TARGET_CC) -v.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-17 00:10:46 +02:00
Thomas Petazzoni
57692e2535 external-toolchain: better documentation, cleanup, sysroot check
* Introduce documentation for each function of ext-tool.mk, and
   document all parameters of the functions.

 * Pass SYSROOT_DIR as argument to all functions that require it,
   instead of computing it manually everywhere

 * Use $(shell) instead of backquotes

 * Check that the SYSROOT_DIR variable is not empty, which means that
   the external toolchain doesn't support --sysroot. In that case,
   bail out with a nice error message.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-17 00:10:33 +02:00
Peter Korsgaard
bd26b5821c libvorbis: fix tremor install into staging_dir
Closes #387.

When tremor is selected, the normal libvorbis shouldn't get built and
tremer should get installed into staging_dir as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-16 21:47:36 +02:00
Thomas Petazzoni
00eddf0ee6 external toolchain: fix libraries copy and add ARM ABI check
Instead of hardcoding the C library versions, just copy the version
available in $SYSROOT_DIR/lib.

Add a check on the ARM ABI configured in Buildroot with regard to the
ABI of the external toolchain provided.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-16 21:45:00 +02:00
Peter Korsgaard
6c243d12d9 qtopia4: add option for STL support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-16 14:16:25 +02:00
Peter Korsgaard
ea53650333 ruby: needs WCHAR support in toolchain
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-13 09:20:40 +02:00
laurent laffont
8703912fa0 Change ruby version to 1.9.1-p129
Ruby 1.9.1 handle cross compilation better, espescially extensions
(I'm working on ARM at91sam9263-ek).
This patch also disable ruby doc generation and ipv6.

[Peter: fixed ipv6 handling]

Signed-off-by: laurent laffont <laurent.laffont@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-12 22:33:52 +02:00
Peter Korsgaard
e5afc25114 busybox: additional 1.14.2 patches
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-12 21:13:04 +02:00
Peter Korsgaard
0167462218 libvorbis: bump version
bugfix release - Fixes playback of very short files.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-12 21:09:56 +02:00
Peter Korsgaard
1516aacdbe qtopia4: fix typo
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-08 16:07:37 +02:00
Peter Korsgaard
3a966abb62 qtopia4/directfb: remove default n
N is default, so no need to explicitly state it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-08 16:05:41 +02:00
Peter Korsgaard
2e71cd88e7 liblockfile: bump version
Closes #83.

Fixes build with newer glibc versions.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-07 23:26:36 +02:00
Peter Korsgaard
c1a5772aeb busybox: ls fix for v1.14.2
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-05 21:58:29 +02:00
Will Newton
2c3a3af86e enchant: New package for enchant spell-checking library.
Enchant is a spell checking library that provides a consistent API across
a number of spell-checking system backends.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-05 21:29:28 +02:00
Peter Korsgaard
ddd0db77ab Merge branch 'qtopia-fixes' of git://git.busybox.net/~tpetazzoni/git/buildroot 2009-07-03 13:20:35 +02:00
Thomas Petazzoni
a1125b31af New build fix for Qtopia4
The new patch fixes the build failure when
BR2_PACKAGE_QTOPIA4_QTZLIB=y.
2009-07-03 11:13:24 +02:00
Thomas Petazzoni
1bbceff78a Bump Qtopia version to 4.5.2 2009-07-03 10:30:35 +02:00
Thomas Petazzoni
d4dab10d0b Fix Qtopia build with external toolchain
The fixes made to qmake.conf for the cross-compiling tools were not
sufficient in the case of an external toolchain, since the CFLAGS were
not taken into account. And the --sysroot option contained in the
CFLAGS are very important for external toolchains to work.

Additionally, it makes sure that Qtopia is compiled with the proper
CFLAGS, even if an external toolchain isn't used.
2009-07-03 10:30:29 +02:00
Peter Korsgaard
8ae604912b kernel-headers: bump 2.6.27.x / 2.6.29.x / 2.6.30.x stable versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-03 07:20:12 +02:00
Peter Korsgaard
b98de697b0 openvpn: prefix variables with OPENVPN_
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-02 14:59:48 +02:00
Gustavo Zacarias
234fb283ed openvpn: convert to Makefile.autotools.in format
Closes #359, #413.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-02 14:55:51 +02:00
Peter Korsgaard
90c5d156f5 toolchain/gcc: ensure libraries are copied to target_dir for x86-64
x86-64 stores libgcc_s / libstdc++ / libgcj under lib64 instead of lib,
so make sure that directory is searched as well for libraries to copy
to target.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-02 09:41:09 +02:00
Peter Korsgaard
0a74a04e98 Merge branch 'dropbear-fix' of git://git.busybox.net/~tpetazzoni/git/buildroot 2009-07-01 20:15:33 +02:00
Peter Korsgaard
32154996a8 Merge branch 'matchbox-fix' of git://git.busybox.net/~tpetazzoni/git/buildroot 2009-07-01 20:12:47 +02:00
Gustavo Zacarias
0468be6e07 package: add spawn-fcgi package
Closes #417,

New package spawn-fcgi, basically a FastCGI process spawner.
This was previously included in lighttpd up to version 1.4.22 and is now
a separate project.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-01 15:36:19 +02:00
Gustavo Zacarias
264b9c115d lighttpd: bump version
Closes #419.

lighttpd 1.4.23 is out, there are many bugfixes from 1.4.20 currently in
buildroot:
 *  Fix workaround for incorrect path info/scriptname if fastcgi prefix is
    ”/” (fixes #729)
 * Finally removed spawn-fcgi
 * Fix bug with FastCGI request id overflow under high load; just use always
   id 1 as we don’t use multiplexing. (thx jgray)
 * Workaround broken operating systems: check for trailing ’/’ in filenames
   (fixes #1989)
Plus fixes from 1.4.22 and 1.4.21.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-01 15:35:20 +02:00
Thomas Petazzoni
51ef5b8122 Fix Matchbox build
Several issues were encountered when trying to build Matchbox. This
patches fixes these issues :

 * Selecting BR2_PACKAGE_MATCHBOX should select BR2_PACKAGE_XORG7,
   otherwise the x11r7 mk files are not included, and matchbox.mk
   refers to non-existing dependencies (such as xlib_libXtst).

 * In matchbox.mk, wrong dependencies for Matchbox keyboard. When
   pango is available, use it through --enable-pango, otherwise, add
   the dependency to xlib_libXft

 * Enable AUTORECONF for libXfont and libXft, otherwise the libtool
   Buildroot patch has no effect, and these packages fail to build
   without the libtool hack.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-01 14:24:47 +02:00
Thomas Petazzoni
b7d98b2d42 Fix dropbear compilation with glibc
The patch introduced at c579e32dbe was
incorrect, since __USE_GNU is an internal C library defined, and
should not be used by programs. _GNU_SOURCE should be used instead.

This fixes a build failure on Dropbear when compiling against a
glibc-based toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-07-01 14:20:51 +02:00
Gustavo Zacarias
5818010f92 sqlite: bump version
Closed #333.

 * Refactor the internal representation of SQL expressions so that they
   use less memory on embedded platforms.
 * Reduce the amount of stack space used
 * Fix an 64-bit alignment bug on HP/UX and Sparc
 * The sqlite3_create_function() family of interfaces now return
   SQLITE_MISUSE instead of SQLITE_ERROR when passed invalid parameter
   combinations.
 * When new tables are created using CREATE TABLE ... AS SELECT ... the
   datatype of the columns is the simplified SQLite datatype (TEXT, INT,
   REAL, NUMERIC, or BLOB) instead of a copy of the original datatype
   from the source table.
 * Resolve race conditions when checking for a hot rollback journal.
 * The sqlite3_shutdown() interface frees all mutexes under windows.
 * Enhanced robustness against corrupt database files
 * Continuing improvements to the test suite and fixes to obscure bugs
   and inconsistencies that the test suite improvements are uncovering.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-30 21:40:23 +02:00
Peter Korsgaard
a928430ff7 u-boot: add 2009.06 release
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-29 20:59:49 +02:00
Peter Korsgaard
99da30bf5d u-boot: target tools: use library files from their original location
u-boot 2009.06 changed the tools/ logic, and no longer adds symbolic
links to the needed library files in the tools directory.

Fix build by referencing the library files in their original location.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-29 20:56:49 +02:00
Peter Korsgaard
2945b06610 qtopia4: fix build for !QTOPIA4_SHARED
Only try to copy the shared objects from staging to target if QT
is configured for shared objects.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-29 14:29:20 +02:00
Peter Korsgaard
85df29b9fc lib{ogg,vorbis}: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-24 15:41:48 +02:00
Peter Korsgaard
e616c68acc busybox: bump 1.14.x version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-24 11:26:05 +02:00
Peter Korsgaard
e61606ad39 CHANGES: add issue 349 + 379
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-23 13:55:38 +02:00
Sven Neumann
b26520ba90 directfb: bump version
Closes #379

update DirectFB to version 1.4.0

A new stable version of DirectFB has been released upstream,
http://directfb.org/index.php?path=Main%2FNews&entry=2009-06-04-1.niels

Attached patch updates the DirectFB package and introduces a BR2
configuration option for the RGB16 dithering feature that is new in
DirectFB 1.4.0.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-23 13:47:14 +02:00
Sven Neumann
e22a39fb44 libsoup: bump version
Closes #349.

Attached patch updates libsoup to version 2.26.2.

This is relevant for bug 303 as it allows to compile gvfs with much
less patching.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-23 12:33:40 +02:00
Peter Korsgaard
533718a832 CHANGES: add resolved issues post-2009.05
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-23 09:40:23 +02:00
Will Newton
7af9cd3ac5 ipsec-tools: Bump version to 0.7.2.
Add support for configuring security context support to allow building for
non-SELinux targets.

Remove some obsolete patches.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-23 09:33:24 +02:00
Gustavo Zacarias
93308ccba3 php: bump version
Closes #409.

php-5.2.10 is out, mostly misc bugfixes, one small security fix:

Security Enhancements and Fixes in PHP 5.2.10:

    * Fixed bug #48378 (exif_read_data() segfaults on certain corrupted .jpeg
files). (Pierre)

Key enhancements in PHP 5.2.10 include:

    * Added "ignore_errors" option to http fopen wrapper. (David Zulke, Sara)
    * Fixed memory corruptions while reading properties of zip files. (Ilia)
    * Fixed memory leak in ob_get_clean/ob_get_flush. (Christian)
    * Fixed segfault on invalid session.save_path. (Hannes)
    * Fixed leaks in imap when a mail_criteria is used. (Pierre)
    * Changed default value of array_unique()'s optional sorting type parameter
back to SORT_STRING to fix backwards compatibility breakage introduced in PHP
5.2.9. (Moriyoshi)
    * Fixed bug #47940 (memory leaks in imap_body). (Pierre, Jake Levitt)
    * Fixed bug #47903 ("@" operator does not work with string offsets).
(Felipe)
    * Fixed bug #47644 (Valid integers are truncated with json_decode()).
(Scott)
    * Fixed bug #47564 (unpacking unsigned long 32bit big endian returns wrong
result). (Ilia)
    * Fixed bug #47365 (ip2long() may allow some invalid values on certain
64bit systems).
    * Over 100 bug fixes.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-23 09:26:27 +02:00
Peter Korsgaard
ab5208886e busybox: autodetect nfs mount support based on BR2_INET_RPC setting
Override nfs mount support based on BR2_INET_RPC setting, so BR will DTRT.
This way you will automatically get NFS support in busybox if available in
the toolchain, and the build won't break if the defconfig enables it but
the user has it disabled in the toolchain.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-22 15:28:36 +02:00
Peter Korsgaard
263c8dc7b8 busybox: 1.13.x defconfig: enable devmem applet
Small and useful for a lot of early hardware testing/verification.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-22 15:17:16 +02:00
Peter Korsgaard
691cf5eb42 target/generic: add /dev/sd{a,b}*, /dev/ub{a,b}* device nodes
E.G. for usb disks.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-21 14:42:15 +02:00
Peter Korsgaard
33f7d7929f target/generic: add /dev/i2c-N device nodes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-21 14:37:09 +02:00
Nigel Kukard
ddb260707a Remove device-mapper
Device mapper is now provided by lvm2

Signed-off-by: Nigel Kukard <nkukard@lbsd.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-06-20 07:19:22 +02:00