buildroot.git
11 years agolxc: needs largefile support
Peter Korsgaard [Wed, 20 Nov 2013 09:43:18 +0000 (10:43 +0100)]
lxc: needs largefile support

lxc_checkpoint.c: In function ‘main’:
lxc_checkpoint.c:128: error: ‘O_LARGEFILE’ undeclared (first use in this function)

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopv: needs gettext if locale is enabled
Arnout Vandecappelle [Tue, 19 Nov 2013 23:50:48 +0000 (00:50 +0100)]
pv: needs gettext if locale is enabled

Fixes http://autobuild.buildroot.net/results/c4f/c4f5ed916d85740ec00f5f34ded5de0195e5cd45/

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoudisks: only build documentation if requested
Peter Korsgaard [Tue, 19 Nov 2013 22:49:09 +0000 (23:49 +0100)]
udisks: only build documentation if requested

Fixes http://autobuild.buildroot.org/results/b23/b234e63f92e6e5162dd5340624e32caa31b82a1a/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agovim: add dependency to gettext if locale support is requested
Thomas De Schampheleire [Tue, 19 Nov 2013 11:15:50 +0000 (12:15 +0100)]
vim: add dependency to gettext if locale support is requested

Until now, if locale support was requested, vim would be built with NLS or
not depending on the build order. This patch now makes the dependency
explicit.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agovim: fix gettext check
Thomas De Schampheleire [Tue, 19 Nov 2013 11:15:49 +0000 (12:15 +0100)]
vim: fix gettext check

Fixes http://autobuild.buildroot.net/results/21b5a910e6a27fa1cb12d0002ffed7e6ed9d6c83/

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoglibc/eglibc: remove reference to experimental from help text
Arnout Vandecappelle [Tue, 19 Nov 2013 08:00:07 +0000 (09:00 +0100)]
glibc/eglibc: remove reference to experimental from help text

Since 924b8739da we no longer declare glibc and eglibc support as
experimental, so it shouldn't be mentioned in the help text anymore.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoUpdate for 2013.11-rc2
Peter Korsgaard [Mon, 18 Nov 2013 21:22:17 +0000 (22:22 +0100)]
Update for 2013.11-rc2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agottcp: fix url, rename patch
Arnaud Aujon [Sun, 17 Nov 2013 15:34:00 +0000 (16:34 +0100)]
ttcp: fix url, rename patch

 - fix download url : isn't available on previous ftp, use an other one
   instead
 - add version according to source code version
 - rename and clean patch according to patch policy

[Peter: adjust upstream URL in Config.in]
Signed-off-by: Arnaud Aujon <arnaud.aujon@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibcurl: add security patch for CVE-2013-4545
Gustavo Zacarias [Mon, 18 Nov 2013 12:16:25 +0000 (09:16 -0300)]
libcurl: add security patch for CVE-2013-4545

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agodhcp: adjust initscripts and misc details
Gustavo Zacarias [Thu, 14 Nov 2013 12:12:00 +0000 (09:12 -0300)]
dhcp: adjust initscripts and misc details

Revamp initscripts see bug #3601
* Trim whitespace
* Check for installed binary (dhcp-relay)
* Check for installed config (dhcp-server)
* Check for proper variable setup from the script (both)
* Add "FAIL" message when startup fails (blind OK isn't accurate)
* Add start/stop messages to dhcp-relay

Switch bool to "dhcp (ISC)" to keep in line with package sorting.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agouclibc: rename patches for version 0.9.31
Simon Dawson [Sun, 17 Nov 2013 11:47:42 +0000 (11:47 +0000)]
uclibc: rename patches for version 0.9.31

Rename patches for uClibc version 0.9.31, for consistency with the general
patch naming scheme in Buildroot. Also remove a .avr32 extension from a patch;
this is not necessary, since uclibc 0.9.31 is unavailable on architectures
other than avr32.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agobarebox: bump to version 2013.10.1
Fabio Porcedda [Mon, 18 Nov 2013 09:22:59 +0000 (10:22 +0100)]
barebox: bump to version 2013.10.1

This is a bug fix release.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoe2fsprogs: disable e4defrag on avr32
Simon Dawson [Mon, 18 Nov 2013 08:30:18 +0000 (08:30 +0000)]
e2fsprogs: disable e4defrag on avr32

The fallocate syscall is not available on avr32. This is needed by the e4defrag
utility, so we disable this on avr32.

Fixes build failures such as the following.

  http://autobuild.buildroot.net/results/dcb/dcb4e5c6981a9299a2eb18e325d4de621846afdb/

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agogst1-plugins-bad: workaround directfb example build issue
Peter Korsgaard [Sun, 17 Nov 2013 22:20:27 +0000 (23:20 +0100)]
gst1-plugins-bad: workaround directfb example build issue

Fixes http://autobuild.buildroot.net/results/ea8/ea84eb03ea4a5974cd25b2d1e15ab76bfd3e81dd/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agowvstreams: remove tcl dependency support
Andrew Ruder [Thu, 14 Nov 2013 22:57:58 +0000 (16:57 -0600)]
wvstreams: remove tcl dependency support

As far as I can tell enabling tcl support has no affect on the actual
library.  Furthermore, wvstreams has been checking for/linking against
tcl 8.3 which has never been supported in buildroot as far as I can tell
(8.4 added in 2005).  That being said there is clearly no reason to keep
this around.

Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopv: support ccache builds
Andrew Ruder [Fri, 15 Nov 2013 20:28:56 +0000 (14:28 -0600)]
pv: support ccache builds

When using ccache TARGET_CC is something like
    ccache gcc

This causes problems in the pv build which attempts to
override LD because the command ends up being
    make [...] LD=/tools/ccache /tools/gcc LDFLAGS="[...]

As a result, during the build phase it attempts to build
/tools/gcc which succeeds by doing nothing:
    make[1]: Nothing to be done for `/tools/gcc'.

and during the install phase you get the real build which
errors out on the LD error this snippet was attempting to
fix:
    ld -r -o src/library.o src/library/getopt.o \
        src/library/gettext.o
    ld: src/library/gettext.o: Relocations in generic ELF \
        (EM: 40)
    src/library/gettext.o: error adding symbols: File in \
        wrong format

Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agowayland: disable on avr32
Simon Dawson [Sat, 16 Nov 2013 09:58:13 +0000 (09:58 +0000)]
wayland: disable on avr32

The epoll_create1, timerfd_create and timerfd_settime syscalls are not available
on avr32. Fixes build failures such as the following.

  http://autobuild.buildroot.net/results/43b/43b3df5978782034279604abde8fe5d46c441344/

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoFix typo in url
Arnaud Aujon [Sat, 16 Nov 2013 22:07:54 +0000 (23:07 +0100)]
Fix typo in url

Fix a typo in squashfs site url

Signed-off-by: Arnaud Aujon <arnaud.aujon@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agouclibc: patch 0.9.31 for avr32, to add __kernel_long_t and __kernel_ulong_t data...
Simon Dawson [Fri, 15 Nov 2013 09:38:05 +0000 (09:38 +0000)]
uclibc: patch 0.9.31 for avr32, to add __kernel_long_t and __kernel_ulong_t data types

As reported by Thomas Petazzoni, the uclibc 0.9.31 build fails for avr32:

In file included from /opt/br-avr32-full-2013.11-rc1/usr/avr32-buildroot-linux-uclibc/sysroot/usr/include/linux/kernel.h:4,
                 from /opt/br-avr32-full-2013.11-rc1/usr/avr32-buildroot-linux-uclibc/sysroot/usr/include/linux/netlink.h:4,
                 from /opt/br-avr32-full-2013.11-rc1/usr/avr32-buildroot-linux-uclibc/sysroot/usr/include/linux/rtnetlink.h:5,
                 from libc/inet/netlinkaccess.h:27,
                 from libc/inet/if_index.c:36:
/opt/br-avr32-full-2013.11-rc1/usr/avr32-buildroot-linux-uclibc/sysroot/usr/include/linux/sysinfo.h:8: error: expected specifier-qualifier-list before '__kernel_long_t'
make[1]: *** [libc/inet/if_index.os] Error 1
make[1]: Leaving directory `/opt/toolchain-build/build/uclibc-0.9.31.1'

The problem is reported at:

  https://lkml.org/lkml/2013/5/18/1

The offending kernel commit is:

  http://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=ccdfcc398594

The fix is to patch uclibc 0.9.31 to add the missing kernel data types. The patch
will only be generated for avr32, since uclibc 0.9.31 is not available in Buildroot
for any other architecture.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agosheevaplug_defconfig: bump kernel version, lock u-boot version
Peter Korsgaard [Thu, 14 Nov 2013 20:50:46 +0000 (21:50 +0100)]
sheevaplug_defconfig: bump kernel version, lock u-boot version

Stick to 3.11.x for now, as sheevaplug has moved to DT only in 3.12+.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agonano: fix build breakage with libmagic
Gustavo Zacarias [Thu, 14 Nov 2013 16:54:42 +0000 (13:54 -0300)]
nano: fix build breakage with libmagic

As reported by Cassiano Martin in bug #6692 if host == target the nano
package can pick up the host libmagic and break.
So add a check to see if the file package is enabled and use it,
otherwise just disable libmagic support.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoqemu/arm-nuri: bump to latest 3.10.x kernel version
Gustavo Zacarias [Thu, 14 Nov 2013 10:14:25 +0000 (07:14 -0300)]
qemu/arm-nuri: bump to latest 3.10.x kernel version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoqemu/arm-versatile: roll back to 3.11.x kernel series
Gustavo Zacarias [Thu, 14 Nov 2013 10:14:24 +0000 (07:14 -0300)]
qemu/arm-versatile: roll back to 3.11.x kernel series

As pointed by Thomas P. kernel 3.12 oopses when loading/using the
emulated network.
Seems 3.12 broke versatile for qemu like in the past, only in a more
subtle way this time that escaped my automated qemu builds/tests.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolinux-headers: bump 3. {4, 10, 11}.x stable versions
Gustavo Zacarias [Thu, 14 Nov 2013 10:14:23 +0000 (07:14 -0300)]
linux-headers: bump 3. {4, 10, 11}.x stable versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agodocs/download.html: Fix tarball typos
Peter Korsgaard [Wed, 13 Nov 2013 20:41:04 +0000 (21:41 +0100)]
docs/download.html: Fix tarball typos

Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agodocs: add a page to thank our sponsors
Thomas Petazzoni [Wed, 13 Nov 2013 18:12:40 +0000 (19:12 +0100)]
docs: add a page to thank our sponsors

Offer a little bit more visibility to the companies who sponsored us,
either by sponsoring the developer days, or development
boards. Hopefully this will encourage other companies to do the same :)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agodocs: announce the upcoming Buildroot Developer Day
Thomas Petazzoni [Wed, 13 Nov 2013 18:12:39 +0000 (19:12 +0100)]
docs: announce the upcoming Buildroot Developer Day

[Peter: drop 'the' before FOSDEM]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibplayer: propagate mplayer arm variant dependencies
Peter Korsgaard [Wed, 13 Nov 2013 13:46:16 +0000 (14:46 +0100)]
libplayer: propagate mplayer arm variant dependencies

Fixes http://autobuild.buildroot.net/results/a91/a91647e9aca73611f3866a672c61d4d820ea1ce6/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibvncserver: fix build without pthread
Peter Korsgaard [Wed, 13 Nov 2013 08:07:41 +0000 (09:07 +0100)]
libvncserver: fix build without pthread

Fixes http://autobuild.buildroot.net/results/761/7618028d0781269d2f6f0a14d814da456f207475/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoqt5base: fix posix_fallocate patch
Samuel Martin [Tue, 12 Nov 2013 23:32:03 +0000 (00:32 +0100)]
qt5base: fix posix_fallocate patch

Fixes:
http://autobuild.buildroot.net/results/a07/a07c1825a5295a8343cd89f0901d9a74a764d804/build-end.log

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agonews.html: add 2013.11-rc1 annoucement link
Peter Korsgaard [Tue, 12 Nov 2013 23:35:31 +0000 (00:35 +0100)]
news.html: add 2013.11-rc1 annoucement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoUpdate for 2013.11-rc1
Peter Korsgaard [Tue, 12 Nov 2013 22:49:47 +0000 (23:49 +0100)]
Update for 2013.11-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolegal info: fix saving of host package licenses
Thomas De Schampheleire [Tue, 12 Nov 2013 08:47:56 +0000 (09:47 +0100)]
legal info: fix saving of host package licenses

Due to some tricky make behavior, the license texts of host packages that
did not provide an explicit HOST_FOO_LICENSE_FILES definition was not saved.
The problem is that it is not straightforward to use a variable
defined/updated inside an evaluated block as input to a foreach statement.
If you try to use $(FOO) then only the original value of FOO is used for
foreach, any update inside the block is ignored. However, if you use
$$(FOO), the entire contents of FOO (typically a list of items) is passed
as one item to foreach, thus causing just one iteration instead of several.

>From Arnout Vandecapelle's explanation:
Any variable referenced with a single $ inside the inner-generic-package
macro is expanded before the resulting contents are eval'ed. Therefore, it
is not possible to refer to variables defined by the inner-generic-package
macro from within a single-$ function call.

To fix the problem, one should defer the evaluation of the entire block
using double dollar signs.

Additionally, a few empty lines have been added to the legal-info-foo block
for clarity.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotstools: perform shared library linking step using gcc rather than ld
Peter Korsgaard [Tue, 12 Nov 2013 22:12:33 +0000 (23:12 +0100)]
tstools: perform shared library linking step using gcc rather than ld

Fixes http://autobuild.buildroot.net/results/c45/c45bbdaff6cff56b5646add38032f29bb5520f16

Using ld directly breaks with certain toolchain configurations.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoqt5base: add missing hunk in posix_fallocate patch
Fatih Aşıcı [Tue, 12 Nov 2013 12:17:06 +0000 (14:17 +0200)]
qt5base: add missing hunk in posix_fallocate patch

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoqt5base: detect posix_fallocate() at configure time
Fatih Aşıcı [Tue, 12 Nov 2013 07:02:02 +0000 (09:02 +0200)]
qt5base: detect posix_fallocate() at configure time

Fixes http://autobuild.buildroot.net/results/555278227680e90737e6dbe0a6dcc035507150aa/

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agosamba: security bump to version 3.6.20
Gustavo Zacarias [Mon, 11 Nov 2013 22:37:51 +0000 (19:37 -0300)]
samba: security bump to version 3.6.20

Fixes CVE-2013-4475 and CVE-2013-4476.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoCHANGES: update with recent changes
Peter Korsgaard [Tue, 12 Nov 2013 00:04:15 +0000 (01:04 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agodocs/news.html: announce dev meeting report
Peter Korsgaard [Mon, 11 Nov 2013 21:56:28 +0000 (22:56 +0100)]
docs/news.html: announce dev meeting report

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agodocs/about.html: we support internal (e)glibc toolchains as well now
Peter Korsgaard [Mon, 11 Nov 2013 21:46:13 +0000 (22:46 +0100)]
docs/about.html: we support internal (e)glibc toolchains as well now

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agogcc: don't patch gcc if there are no patches to apply
Mischa Jonker [Mon, 11 Nov 2013 14:36:36 +0000 (15:36 +0100)]
gcc: don't patch gcc if there are no patches to apply

While the generic package handler checks for a directory with patches
before starting apply-patches.sh, this is not the case for gcc: the
script is called, even if there is no directory with patches. This results
into a build failure, as apply-patches exits with error code 1 if the
directory doesn't exist.

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: make sure (e)glibc isn't chosen when BR2_PREFER_STATIC_LIB=y
Thomas Petazzoni [Mon, 11 Nov 2013 17:57:32 +0000 (18:57 +0100)]
toolchain-external: make sure (e)glibc isn't chosen when BR2_PREFER_STATIC_LIB=y

(e)glibc doesn't support a fully statically linked userspace. Even a
basic program such as Busybox fails to do authentication due to glibc
loading some libraries dynamically. Therefore, we disable the
possibility of using a (e)glibc toolchain when
BR2_PREFER_STATIC_LIB=y.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-buildroot: make sure glibc isn't chosen when BR2_PREFER_STATIC_LIB=y
Thomas Petazzoni [Mon, 11 Nov 2013 17:57:31 +0000 (18:57 +0100)]
toolchain-buildroot: make sure glibc isn't chosen when BR2_PREFER_STATIC_LIB=y

(e)glibc doesn't support a fully statically linked userspace. Even a
basic program such as Busybox fails to do authentication due to glibc
loading some libraries dynamically. Therefore, we disable the
possibility of building a glibc toolchain when
BR2_PREFER_STATIC_LIB=y.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-buildroot: glibc and eglibc support is no longer experimental
Thomas Petazzoni [Mon, 11 Nov 2013 17:57:30 +0000 (18:57 +0100)]
toolchain-buildroot: glibc and eglibc support is no longer experimental

The glibc and eglibc support has been introduced since a little bit of
time now, I believe we can remove the "experimental" statement next to
it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoicu: Doesn't work on ARC yet
Mischa Jonker [Mon, 11 Nov 2013 16:10:53 +0000 (17:10 +0100)]
icu: Doesn't work on ARC yet

icu depends on __sync_sub_and_fetch and other atomic primitives that
don't exist in the ARC toolchain yet.

[Peter: adjust beecrypt/php comment dependency, don't mention atomic builtins]
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoConfig.in files: whitespace cleanup
Thomas De Schampheleire [Mon, 11 Nov 2013 16:23:23 +0000 (17:23 +0100)]
Config.in files: whitespace cleanup

This patch fixes the following whitespace problems in Config.in files:
- trailing whitespace
- spaces instead of tabs for indentation
- help text not indented with tab + 2 spaces

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoliblog4c-localtime: fix linking error without pthread
Peter Korsgaard [Mon, 11 Nov 2013 20:14:01 +0000 (21:14 +0100)]
liblog4c-localtime: fix linking error without pthread

Fixes http://autobuild.buildroot.net/results/34f/34f238cdb1b1b4be1a11143b5e4a17c78c2fc289/

The rollingfile functionality only gets built if pthread support is
available, but a call to these functions from log4c_fini() was outside
the #if WITH_ROLLINGFILE conditional, causing linker errors when the
library is used.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibqmi: fix autobuild failures
Simon Dawson [Mon, 11 Nov 2013 15:43:47 +0000 (15:43 +0000)]
libqmi: fix autobuild failures

The libqmi build specifies -Werror in the CFLAGS by default. This causes
build failures such as the following.

  http://autobuild.buildroot.net/results/070/070449299aa9025c4bc6769524a6e22d66c92a65/

The -Werror flag can be disabled using a configuration switch.

[Peter: use =no instead and add a comment explaining why]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoethtool: bump version to 3.12.1
Thomas Petazzoni [Mon, 11 Nov 2013 13:58:46 +0000 (14:58 +0100)]
ethtool: bump version to 3.12.1

3.12 release notes:

* Fix: Remove alternate method to check for VLAN tag offload on Linux
  < 2.6.37 (-k/-K options)
* Fix: Hide state of VLAN tag offload and LRO if the kernel is too old
  for us to reliably detect them (-k option)
* Feature: Add register dump support for Solarflare SFC9100 family
  (-d option)

3.12.1 release notes:

This includes a couple of changes that should have gone into 3.12.

* Fix: Memory corruption when applying external calibration to
  SFF-8472 module diagnostics (-m option)
* Feature: Add Intel 82599 and x540 DCB registers to dump
  (-d option)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agodocs/manual: Add version number to perl in prerequisites
Mischa Jonker [Mon, 11 Nov 2013 13:58:12 +0000 (14:58 +0100)]
docs/manual: Add version number to perl in prerequisites

Building host-bison needs perl 5.8.7+, as it uses the "-f" option
for site customization scripts. This feature was added in 5.8.7.

Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopciutils: bump version
Thomas Petazzoni [Mon, 11 Nov 2013 13:55:28 +0000 (14:55 +0100)]
pciutils: bump version

I have just released version 3.2.1 of the pciutils. It's purely
a maintenance release with a couple of minor bug fixes and minor
improvements. Thus quoth the changelog:

2013-11-10  Martin Mares <mj@ucw.cz>

* Released as 3.2.1.

* CardBus bridge capabilities are displayed.

* PCIe L1 PM substates are decoded.

* Various bugs were fixed in decoding of PCIe capabilities.

* The sysfs back-end does not spit out unnecessary warnings when
  empty slots report only a partial device address. This actually
  happens on IBM pSeries.

* Updated pci.ids to the today's snapshot of the database.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolog4cxx: needs threads
Simon Dawson [Mon, 11 Nov 2013 13:37:09 +0000 (13:37 +0000)]
log4cxx: needs threads

Fixes build failures such as the following.

  http://autobuild.buildroot.net/results/7b73901d9e8b5098cd96b54d292bb3ffffb3fe37/

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agogst-plugins-ugly: bump version
Peter Korsgaard [Mon, 11 Nov 2013 10:31:40 +0000 (11:31 +0100)]
gst-plugins-ugly: bump version

Bugfix release.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agogst1-plugins-bad: bump version
Peter Korsgaard [Mon, 11 Nov 2013 10:30:33 +0000 (11:30 +0100)]
gst1-plugins-bad: bump version

Bugfix release. Patch is now upstream.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agogst1-plugins-good: bump version
Peter Korsgaard [Mon, 11 Nov 2013 10:29:49 +0000 (11:29 +0100)]
gst1-plugins-good: bump version

Bugfix release. Patch is now upstream.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agogst1-plugins-base: bump version
Peter Korsgaard [Mon, 11 Nov 2013 10:28:04 +0000 (11:28 +0100)]
gst1-plugins-base: bump version

Bugfix release.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agogstreamer1: bump version
Peter Korsgaard [Mon, 11 Nov 2013 10:27:23 +0000 (11:27 +0100)]
gstreamer1: bump version

Bugfix release.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoiozone: disable for uClibc 0.9.31
Simon Dawson [Mon, 11 Nov 2013 09:49:08 +0000 (09:49 +0000)]
iozone: disable for uClibc 0.9.31

uClibc 0.9.31.x does not include the pthread_setaffinity_np GNU extension.

Fixes build failures such as the following.

  http://autobuild.buildroot.net/results/e21526c0c18733310d3fb322d79d5fff3a71af51/

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoimagemagick: bump version
Peter Korsgaard [Mon, 11 Nov 2013 09:36:23 +0000 (10:36 +0100)]
imagemagick: bump version

The -3 version is no longer available at the upstream URL.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agocppdb: fix comment dependency
Peter Korsgaard [Mon, 11 Nov 2013 08:41:41 +0000 (09:41 +0100)]
cppdb: fix comment dependency

As noticed by Thomas De Schampheleir.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agocppdb: new package
Gustavo Zacarias [Tue, 15 Oct 2013 16:33:24 +0000 (13:33 -0300)]
cppdb: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoxmlstarlet: bump to version 1.5.0
Axel Lin [Thu, 10 Oct 2013 01:07:32 +0000 (09:07 +0800)]
xmlstarlet: bump to version 1.5.0

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoxmlstarlet: add license information
Axel Lin [Thu, 10 Oct 2013 01:05:04 +0000 (09:05 +0800)]
xmlstarlet: add license information

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agosystem: move init system option above /dev management.
eric.le.bihan.dev@free.fr [Wed, 6 Nov 2013 15:34:34 +0000 (16:34 +0100)]
system: move init system option above /dev management.

The option to choose init system was below the one for /dev management.
As Systemd forces the use of udev, it is logical to swap them.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/rpi-userland: bump version
Yann E. MORIN [Mon, 11 Nov 2013 00:09:15 +0000 (01:09 +0100)]
package/rpi-userland: bump version

Bump for a few more options (eg. setting the palette in 4- or 8bpp,
and rendering camera preview with GL).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/rpi-firmware: bump version
Yann E. MORIN [Mon, 11 Nov 2013 00:09:14 +0000 (01:09 +0100)]
package/rpi-firmware: bump version

Bump bootloader and GPU firmware for misc fixes:
  - cec fixes
  - DTS buffering
  - others (pause_burst_frames enabled by default. WTF is that?)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agop910nd: new package
Gustavo Zacarias [Sat, 2 Nov 2013 11:49:54 +0000 (08:49 -0300)]
p910nd: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoopenpowerlink: bump to version 1.8.4
Romain Naour [Thu, 31 Oct 2013 17:20:26 +0000 (18:20 +0100)]
openpowerlink: bump to version 1.8.4

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibmodbus: bump version and change download location
Yegor Yefremov [Thu, 31 Oct 2013 13:29:05 +0000 (14:29 +0100)]
libmodbus: bump version and change download location

The license of libmodbus is LGPL v2.1 or later and the
licence of programs in tests directory is GPL v3. So
specify only LGPL v2.1.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agohplip: bump to version 3.13.10
Olivier Schonken [Thu, 31 Oct 2013 06:30:49 +0000 (08:30 +0200)]
hplip: bump to version 3.13.10

Sections of the hplip-fix-make.patch patch file were removed, because they
no longer appear in the Makefile.am file.

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoiptables: add support for connlabel match and nfnl_osf
Gustavo Zacarias [Wed, 30 Oct 2013 18:09:10 +0000 (15:09 -0300)]
iptables: add support for connlabel match and nfnl_osf

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoipset: bump to version 6.20.1
Gustavo Zacarias [Wed, 30 Oct 2013 18:09:09 +0000 (15:09 -0300)]
ipset: bump to version 6.20.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoimagemagick: bump to version 6.8.7-3
Jerzy Grzegorek [Tue, 29 Oct 2013 09:21:10 +0000 (10:21 +0100)]
imagemagick: bump to version 6.8.7-3

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoutil-linux: disable fallocate for avr32
Simon Dawson [Sun, 3 Nov 2013 09:56:25 +0000 (09:56 +0000)]
util-linux: disable fallocate for avr32

The fallocate syscall is not implemented in the avr32 toolchain.

Fixes build failures such as the following.

  http://autobuild.buildroot.net/results/bc4/bc41a3fea20181526eb247ac910244aa2aa4c4c0/

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agouboot-tools: factor out common mkimage infrastructure
Arnout Vandecappelle [Wed, 6 Nov 2013 23:12:35 +0000 (00:12 +0100)]
uboot-tools: factor out common mkimage infrastructure

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agorootfs-cpio: add U-Boot image support
Arnout Vandecappelle [Wed, 6 Nov 2013 23:12:34 +0000 (00:12 +0100)]
rootfs-cpio: add U-Boot image support

Adds U-Boot image support for cpio root filesystems. This allows you to
use the bootm command in U-Boot to load the rootfs. It makes it possible to
verify the CRC of the initramfs before booting the kernel.

[Spenser: wrote first version of the patch.]
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agorootfs-ext2: symlink with the compressed rootfs
Arnout Vandecappelle [Wed, 6 Nov 2013 23:12:33 +0000 (00:12 +0100)]
rootfs-ext2: symlink with the compressed rootfs

Previously, a symlink was created to the uncompressed filesystem,
which made it a bit useless in case compression was chosen.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agorootfs-common: refactor the common compression commands
Arnout Vandecappelle [Wed, 6 Nov 2013 23:12:32 +0000 (00:12 +0100)]
rootfs-common: refactor the common compression commands

This makes the compression extension available in a variable, so it
can be used by the fs-specific commands. In this patch, it is used
by iso9660. Following patches show more use cases.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agorootfs-cpio: whitespace cleanup in Config.in
Arnout Vandecappelle [Wed, 6 Nov 2013 23:12:31 +0000 (00:12 +0100)]
rootfs-cpio: whitespace cleanup in Config.in

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agorootfs-common: remove the now unused ROOTFS_<PKG>_POST_GEN_HOOKS
Arnout Vandecappelle [Wed, 6 Nov 2013 23:12:30 +0000 (00:12 +0100)]
rootfs-common: remove the now unused ROOTFS_<PKG>_POST_GEN_HOOKS

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agorootfs-ext2: make the symlink as a _POST_TARGET
Arnout Vandecappelle [Wed, 6 Nov 2013 23:12:29 +0000 (00:12 +0100)]
rootfs-ext2: make the symlink as a _POST_TARGET

This will allow us to remove the unused ROOTFS_$(FSTYPE)_POST_GEN_HOOKS.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: factorize regular expressions
Thomas Petazzoni [Wed, 6 Nov 2013 23:08:03 +0000 (00:08 +0100)]
toolchain-external: factorize regular expressions

Based on a suggestion from Peter, this commit factorizes the logic and
regular expressions that are used to find the sysroot and libdir for a
given compiler. It reduces a bit the duplication of code, and
centralizes the most bizarre part of this logic in one place.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: update comments
Thomas Petazzoni [Wed, 6 Nov 2013 23:08:02 +0000 (00:08 +0100)]
toolchain-external: update comments

[Peter: drop extra # as pointed out by Baruch Siach]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: fix the SYSROOT_DIR mangling logic
Thomas Petazzoni [Wed, 6 Nov 2013 23:08:01 +0000 (00:08 +0100)]
toolchain-external: fix the SYSROOT_DIR mangling logic

In a1d94aaa3a21911 ('toolchain-external: add support for musl C
library'), we made the following change to the SYSROOT_DIR mangling
logic:

-       SYSROOT_DIR=`echo $${LIBC_A_LOCATION} | sed -r -e 's:usr/lib(32|64)?/(.*/)?libc\.a::'` ; \
+       SYSROOT_DIR=`echo $${LIBC_A_LOCATION} | sed -r -e 's:(usr/)?lib(32|64)?/(.*/)?libc\.a::'` ; \

This was needed to accomodate for musl based toolchains that don't
have libc.a in usr/lib/..., but directory in lib/... Basically, the
change makes the usr/ at the beginning optional.

However, with the very permissive (.*) matching in the middle of the
path, the change above had an unexpected consequence: any path contain
'/lib' would be truncated before this lib. As an example, Peter
reported that his builds, running from /var/lib/buildbot/ were no
longer working because the SYSROOT_DIR was decided to be /var instead
of something like
/var/lib/buildbot/buildroot/output/host/opt/ext-toolchain/arm-linux-gnueabihf/libc/.

So, this commit changes (again!) this regexp by changing (.*) to
([^/]*), the idea being that it will match only *one* path
component. Note that this intermediate (.*) directory was added in
e6e60becb008 ('external-toolchain: add support for Linaro 2012.01') to
accomodate for Linaro toolchains that have a subdirectory in their
sysroot named after the target tuple:

$ ./output/host/opt/ext-toolchain/bin/arm-linux-gnueabihf-gcc -print-file-name=libc.a
/home/thomas/projets/buildroot/output/host/opt/ext-toolchain/bin/../arm-linux-gnueabihf/libc/usr/lib/arm-linux-gnueabihf/libc.a

In addition to this, this commit also makes sure that the change
making usr/ optional is properly reported on all the instances of this
regular expression.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoinfra: clean up 'Patching' message
Thomas De Schampheleire [Thu, 7 Nov 2013 16:26:53 +0000 (17:26 +0100)]
infra: clean up 'Patching' message

The 'Patching' message in the generic infrastructure prints not only the
package name, but also a reference to the assumed package directory, based
on FOO_DIR_PREFIX/FOO_RAWNAME. This doesn't really add value, as the name
of the package is already apparent from the message and its location should
be obvious. Hence, this patch simply reduces the print to "Patching".

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoinfra: remove incorrect default for FOO_DIR_PREFIX
Thomas De Schampheleire [Thu, 7 Nov 2013 16:26:52 +0000 (17:26 +0100)]
infra: remove incorrect default for FOO_DIR_PREFIX

Variable FOO_DIR_PREFIX is populated from pkgparentdir by the various
package infrastructures. However, if that would be empty (which in fact is
the case for the linux package), FOO_DIR_PREFIX would be set to
'$(TOP_SRCDIR)/package'.
Not only does this make no sense (LINUX_DIR_PREFIX becomes /package/linux,
and for all other packages pkgparentdir is not-empty anyway), but it is also
using a non-existing variable TOP_SRCDIR.
This patch therefore removes the incorrect default.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agomanual: add some info on the POST_RSYNC hook
Thomas De Schampheleire [Thu, 7 Nov 2013 10:41:24 +0000 (11:41 +0100)]
manual: add some info on the POST_RSYNC hook

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: "Samuel Martin" <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agomanual: split info on hooks to a separate section/file
Thomas De Schampheleire [Thu, 7 Nov 2013 10:41:23 +0000 (11:41 +0100)]
manual: split info on hooks to a separate section/file

Split out the information on hooks to a separate section (and source file).
Not only because the hooks are useful for all infrastructures (and thus
don't really fit specifically in the generic infrastructure section), but
also for clarity when the info on hooks will be expanded in later patches.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoinfra: centralize rsync exclude list for VCS files
Thomas De Schampheleire [Thu, 7 Nov 2013 10:41:22 +0000 (11:41 +0100)]
infra: centralize rsync exclude list for VCS files

Buildroot has three places where rsync is used:
1. to copy the target skeleton
2. to copy the rootfs overlay(s)
3. to copy overridden package sources

In all of these cases, we want to exclude version control files by default.
Place 1 and 2 used an identical set of explicit --exclude options, while
place 3 used the option --cvs-exclude. This last option, however, not only
excludes version control files, but also binary files (.o, .so) and any file
or directory named 'core' (a problem for the linux kernel that has several
directories with this name). Moreover, the exact list of excluded files when
using --cvs-exclude depends on the version of rsync.

This patch creates one global variable RSYNC_VCS_EXCLUSIONS that can be used
by the various rsync commands. It excludes the version control files of
svn, git, hg, cvs and bzr.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoinfra: Add POST_RSYNC_HOOKS support
Thomas De Schampheleire [Thu, 7 Nov 2013 10:41:21 +0000 (11:41 +0100)]
infra: Add POST_RSYNC_HOOKS support

One of the use cases is for the 'local packages' to restore
the SCM info.  Some packages use this information to generate
version info during build time.  In this case, the local package
can have this hook to restore it by symbolic link for example.

[Thomas: update commit title]
Signed-off-by: Tzu-Jung Lee <tjlee@ambarella.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoAvoid toolchain download when it is preinstalled
Laurent GONZALEZ [Wed, 6 Nov 2013 19:19:10 +0000 (20:19 +0100)]
Avoid toolchain download when it is preinstalled

For configurations using a toolchain that is preinstalled on
the host, <pkg>_SITE and <pkg>_SOURCE variables must be kept
empty to avoid downloading any toolchain package.
The actual implementation has been proposed by Thomas Petazzoni.

Signed-off-by: GONZALEZ Laurent <br2@gezedo.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoConfig.in files: add missing dependencies to toolchain option comments
Thomas De Schampheleire [Thu, 7 Nov 2013 08:24:37 +0000 (09:24 +0100)]
Config.in files: add missing dependencies to toolchain option comments

When a package A depends on config option B and toolchain option C, then
the comment that is given when C is not fulfilled should also depend on B.
For example:

config BR2_PACKAGE_A
depends on BR2_B
depends on BR2_LARGEFILE
depends on BR2_WCHAR

comment "A needs a toolchain w/ largefile, wchar"
depends on !BR2_LARGEFILE || !BR2_WCHAR

This comment should actually be:

comment "A needs a toolchain w/ largefile, wchar"
depends on BR2_B
depends on !BR2_LARGEFILE || !BR2_WCHAR

or if possible (typically when B is a package config option declared in that
same Config.in file):

if BR2_B

comment "A needs a toolchain w/ largefile, wchar"
depends on !BR2_LARGEFILE || !BR2_WCHAR

[other config options depending on B]

endif

Otherwise, the comment would be visible even though the other dependencies
are not met.

This patch adds such missing dependencies, and changes existing such
dependencies from
  depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC
to
  depends on BR2_BASE_DEP
  depends on !BR2_TOOLCHAIN_USES_GLIBC
so that (positive) base dependencies are separate from the (negative)
toolchain dependencies. This strategy makes it easier to write such comments
(because one can simply copy the base dependency from the actual package
config option), but also avoids complex and long boolean expressions.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 (untested)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agomanual: clarify that Config.in comments should have correct dependencies
Thomas De Schampheleire [Thu, 7 Nov 2013 08:24:36 +0000 (09:24 +0100)]
manual: clarify that Config.in comments should have correct dependencies

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: "Samuel Martin" <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoqt5webkit: fix build with bison-3.0
Samuel Martin [Sat, 9 Nov 2013 15:59:49 +0000 (16:59 +0100)]
qt5webkit: fix build with bison-3.0

- Add host-bison dependency
- Fetch patch from upstream fixing build with bison-3.0
  (already included in the next 5.2 release)

Fixes:
http://autobuild.buildroot.net/results/283/2831c0d859b035f7d2786f51885833a711b46b80/build-end.log

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoqt5base: fix rpi/egl support (vc_dispmanx_element_change_attributes proto mismatch)
Samuel Martin [Sat, 9 Nov 2013 15:59:48 +0000 (16:59 +0100)]
qt5base: fix rpi/egl support (vc_dispmanx_element_change_attributes proto mismatch)

Patch from upstream already included in the next 5.2 release

Fixes:
http://autobuild.buildroot.net/results/347/347577bf1dee0fec3302a45f278eb253118a5b6f/build-end.log

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoxorg: needs thread support
Jerzy Grzegorek [Sat, 9 Nov 2013 00:21:21 +0000 (01:21 +0100)]
xorg: needs thread support

libpthread-stubs, libX11, and a few more xorg packages use threads. Since
almost all xorg packages depend on libX11 directory or indirectly, and
since the remaining ones are pretty useless on their own, just require
threads for xorg as a whole.

The thread dependency is kept in libpthread-stubs, because that package
will move out of the x11r7 directory later (pending patch by Spenser
Gilliland), so the dependency on threads will be required then.

Fixes:
  http://autobuild.buildroot.org/results/609/6099baac4bb469ae18aab6512233db25183eaabd/

[Arnout: disable all of xorg, correct comment]
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoxlib_libpthread-stubs: needs -pthread when linking statically
Arnout Vandecappelle [Sat, 9 Nov 2013 00:21:20 +0000 (01:21 +0100)]
xlib_libpthread-stubs: needs -pthread when linking statically

Fixes e.g. http://autobuild.buildroot.net/results/1eaa694263b74313b0c90c510abcb11d490a3773/

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoGeneration of locales: made call to tr more robust and added LOWERCASE macro
Thierry Bultel [Sun, 10 Nov 2013 17:32:52 +0000 (18:32 +0100)]
Generation of locales: made call to tr more robust and added LOWERCASE macro

When calling 'tr' without quoting braces, bash can make really weird things
if there are existing 'single-letter-named' directories
eg:
thierry@thierry-desktop:~$ echo AAA | tr [A-Z] [a-z]
aaa
thierry@thierry-desktop:~$ mkdir m
thierry@thierry-desktop:~$ echo AAA | tr [A-Z] [a-z]
AAA

The (quick) analysis is that the callee (tr) argvs then
contain 'm' thus the translation does not work

Using quotes works around it:
thierry@thierry-desktop:~$ echo AAA | tr '[A-Z]' '[a-z]'
aaa

Signed-off-by: Thierry Bultel <thierry.bultel@wanadoo.fr>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agozmqpp: fix build failure
Simon Dawson [Sun, 10 Nov 2013 20:58:33 +0000 (20:58 +0000)]
zmqpp: fix build failure

The zmqpp client needs a little help to link against libpthread. Fix build
failures such as the following.

  http://autobuild.buildroot.net/results/d0a/d0a740d4d5414844ca7f2de266fc92223d3d20c8

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibmicrohttpd: disable epoll support on avr32
Peter Korsgaard [Sun, 10 Nov 2013 22:33:54 +0000 (23:33 +0100)]
libmicrohttpd: disable epoll support on avr32

As it isn't available.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>