buildroot.git
10 years agotoolchain-external: restrict Musl external toolchain to Microblaze BE
Thomas Petazzoni [Fri, 30 May 2014 20:24:39 +0000 (22:24 +0200)]
toolchain-external: restrict Musl external toolchain to Microblaze BE

As reported by William Welch <bvwelch@gmail.com>, the Musl external
toolchain provided by the musl-cross project is only Microblaze
big-endian. In fact, Musl seems to only support the big endian variant
of the Microblaze architecture, with the microblaze-* tuple.

This commit makes sure the Musl pre-built external toolchain provided
by musl-cross can only be selected for a big-endian Microblaze
configuration.

Reported-by: William Welch <bvwelch@gmail.com>
Cc: William Welch <bvwelch@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agognutls: security bump to version 3.2.15
Gustavo Zacarias [Fri, 30 May 2014 12:19:56 +0000 (09:19 -0300)]
gnutls: security bump to version 3.2.15

Fixes GNUTLS-SA-2014-3 (CVE-2014-3466).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual: Fix BR2_GLOBAL_PATCH_DIR example
Sebastien Roy [Thu, 29 May 2014 15:09:32 +0000 (11:09 -0400)]
manual: Fix BR2_GLOBAL_PATCH_DIR example

As discussed on irc, there is a missing part in the BR2_GLOBAL_PATCH_DIR
    example compared to the ASCII figure under customize-packages section.

Signed-off-by: Sebastien Roy <sebastien.roy@savoirfairelinux.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqt5base: stop qt stripping installed libraries
Will Wagner [Thu, 29 May 2014 07:31:57 +0000 (08:31 +0100)]
qt5base: stop qt stripping installed libraries

By default the 'make install' step for qt5base will strip all the binaries
and libraries when they are installed to staging. This hinders debugging
as the libraries in staging dir have been stripped and is unnecessary
as buildroot will strip all files on the target

Signed-off-by: Will Wagner <will_wagner@carallon.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agothrift: disable for ARC
Baruch Siach [Thu, 29 May 2014 04:17:04 +0000 (07:17 +0300)]
thrift: disable for ARC

thrift uses the __sync_fetch_and_add() atomic primitive that is not available
for ARC.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibfribidi: depend on host-pkgconf
Baruch Siach [Thu, 29 May 2014 03:18:53 +0000 (06:18 +0300)]
libfribidi: depend on host-pkgconf

libfribidi needs macros from pkgconf to generate its configure script. Since
commit 5693f236a2a0 (libfribidi: bump version) we AUTORECONF, so host-pkgconf
is also needed.

Fixes:
http://autobuild.buildroot.net/results/5d7/5d76a8333fb05e903460ad51dc0737c18431d033/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosysklogd: needs MMU
Baruch Siach [Thu, 29 May 2014 02:53:30 +0000 (05:53 +0300)]
sysklogd: needs MMU

Fixes:
http://autobuild.buildroot.net/results/bf1/bf1a6e1d4798c5abea4ff5114279329d6d90548f/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agou-boot: use spl/u-boot-spl.bin as default spl file
Peter Korsgaard [Thu, 29 May 2014 21:13:02 +0000 (23:13 +0200)]
u-boot: use spl/u-boot-spl.bin as default spl file

Ever since u-boot introduced the generic spl support in u-boot 2012.10, the
default spl output file has been spl/u-boot-spl.bin and not u-boot-spl.bin,
so use that as a more sane default value.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual: remove contributor list and add copyright
Thomas De Schampheleire [Wed, 28 May 2014 17:29:51 +0000 (19:29 +0200)]
manual: remove contributor list and add copyright

As discussed on the mailing list [1], remove the limited explicit list of
contributors in favor of the general mention of 'The Buildroot developers'.
Add a copyright statement.
Move the generation info to the front.

[1] http://lists.busybox.net/pipermail/buildroot/2014-May/097589.html

[Peter: remove trailing +, minor rewording]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/exim: security bump
Yann E. MORIN [Wed, 28 May 2014 15:06:59 +0000 (17:06 +0200)]
package/exim: security bump

Bump exim to get an urgent security fix.

We should not be impacted, since we're not building with DMARC (where
the flaw is), but better safe than sorry.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofs/tar: use qstrip to clean up build output
Thomas De Schampheleire [Thu, 22 May 2014 12:35:41 +0000 (14:35 +0200)]
fs/tar: use qstrip to clean up build output

When using the tar filesystem method, the build output shows at the end:

echo " tar -c""f <br>/output/images/rootfs.tar -C <br>/output/target ." >>
                                    <br>/output/build/_fakeroot.fs

The inner set of quotes can be easily removed by properly stripping the tar
options (coming from the buildroot configuration).

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: permissions/users/device tables: avoid adding empty entries
Thomas De Schampheleire [Thu, 22 May 2014 12:35:40 +0000 (14:35 +0200)]
infra: permissions/users/device tables: avoid adding empty entries

In pkg-generic.mk, an entry would be added to each of the permissions,
devices and users tables, even if FOO_PERMISSIONS/DEVICES/USERS is empty. In
that last case, the entry would contain only the separator, which is
substituted to '\n' in fs/common.mk.
For configurations with many packages, this would render the build output a
bit odd, containing many \n instances (even though the end result in the
target would of course be the same).

This patch cleans up the build output by only adding to these tables when
the package actually specified contents for them.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Acked-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoUpdate for 2014.05-rc3
Peter Korsgaard [Wed, 28 May 2014 15:07:11 +0000 (17:07 +0200)]
Update for 2014.05-rc3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodropbear: fix missing directory with systemd
Maxime Hadjinlian [Wed, 28 May 2014 07:46:20 +0000 (09:46 +0200)]
dropbear: fix missing directory with systemd

The current SysV startup script create a directory which is necessary
for dropbear to correctly work.
This creation is not done with systemd.

Instead of both init creating the directory, we add the creation of this
directory to the INSTALL_TARGET_CMDS to make sure it's present.

[Peter: use make syntax for TARGET_DIR as pointed out by Thomas]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/exim: fix static linking
Yann E. MORIN [Wed, 28 May 2014 07:47:54 +0000 (09:47 +0200)]
package/exim: fix static linking

Fixes http://autobuild.buildroot.net/results/0a3/0a392087878f80a70435981856455a30152b684d/

When building static, we need to tell exim that it needs to link
statically (obviously), and that it should link against pthreads.

Yet, exim is still not happy with that, as it still wants to build
something (a version-related program) at install time, so we need
to replicate the ld flags at install time.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomonit: uses fork(), disable for nommu
Peter Korsgaard [Wed, 28 May 2014 06:55:30 +0000 (08:55 +0200)]
monit: uses fork(), disable for nommu

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual: explicitize manual license
Thomas De Schampheleire [Tue, 27 May 2014 19:34:13 +0000 (21:34 +0200)]
manual: explicitize manual license

People reading the Buildroot manual online cannot immediately know what its
license is (unlike reading it from within the source tree). To avoid any
discussion, explicitize this in the manual.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodvb-apps: fix static linking with libiconv
Peter Korsgaard [Tue, 27 May 2014 09:27:23 +0000 (11:27 +0200)]
dvb-apps: fix static linking with libiconv

Fixes http://autobuild.buildroot.net/results/4b5/4b56b89dd0ccd3b7e4017782e8d48b9c71207ff7/

Pass the libraries to be linked in LDLIBS instead of LDFLAGS so the end up
after the object files on the linker command line.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogdb: remove remaining 6.6a reference for bfin
Peter Korsgaard [Tue, 27 May 2014 09:16:13 +0000 (11:16 +0200)]
gdb: remove remaining 6.6a reference for bfin

Fixes http://autobuild.buildroot.net/results/3e2/3e2b733758651f7a168832de2d3b34afc171609d/

We recently (dfc3cc23af: gdb: switch to 7.x for Blackfin) moved to the
normal 7.x versions for bfin, but Config.in wasn't updated, causing bfin to
still use the old 6.6a variant (but without the uClibc patch) if the
host-gdb isn't selected, breaking the build.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogdb: don't force makeinfo programs for GDB_FROM_GIT variants
Peter Korsgaard [Tue, 27 May 2014 09:02:56 +0000 (11:02 +0200)]
gdb: don't force makeinfo programs for GDB_FROM_GIT variants

Fixes:
http://autobuild.buildroot.net/results/16d/16d4a83eb1e1b9d65641de47f2a2bc5d8ab18bdd/
http://autobuild.buildroot.net/results/df6/df64fe6e834f016267f522f089e00a08b1fd893e/

The GDB_FROM_GIT variants unconditionally use makeinfo, so ensure our
host-texinfo version is used instead of the missing script.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibnss: Enable for MIPS64 n32 platforms
Vicente Olivert Riera [Thu, 22 May 2014 12:30:46 +0000 (13:30 +0100)]
libnss: Enable for MIPS64 n32 platforms

After talking with upstream we concluded that MIPS64 n32 is treated as a
32-bit architecture by libnss because it has 32-bit pointers, so
USE_64=1 should not be set in that case.

Upstream bug:
   https://bugzilla.mozilla.org/show_bug.cgi?id=1010730

WRT:
   http://git.buildroot.net/buildroot/commit/?id=73e6ae0fe6a69f88183ae33401f2314088b5f799

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomidori: force host-python dependency for waf build-system
Peter Korsgaard [Mon, 26 May 2014 13:06:20 +0000 (15:06 +0200)]
midori: force host-python dependency for waf build-system

Fixes http://autobuild.buildroot.net/results/d48/d48b68dd6a43fa9a224237e8f458ca8987a3d7b4/

Similar to the recent fix to jack2 (fc8fcec306da). The waf version included
in midori (1.5.19) is not compatible with python 3.4.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoslang: needs mmu
Peter Korsgaard [Mon, 26 May 2014 13:01:38 +0000 (15:01 +0200)]
slang: needs mmu

Fixes http://autobuild.buildroot.net/results/dbc/dbce9e591466717d9c87f42b5f192d8fd1be0475/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython2: Fix disabling module bsddb
Bernd Kuhls [Wed, 21 May 2014 11:47:44 +0000 (13:47 +0200)]
python2: Fix disabling module bsddb

Using this minimal defconfig

BR2_TOOLCHAIN_EXTERNAL=y
BR2_PACKAGE_PYTHON=y
BR2_PACKAGE_BERKELEYDB=y

the current code does not prevent the build of

output/build/python-2.7.6/Modules/_bsddb.o

because the module is really called _bsddb,
see python-2.7.6/Modules/_bsddb.c, line 9604.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoacl: clarify license info
Peter Korsgaard [Mon, 26 May 2014 09:46:06 +0000 (11:46 +0200)]
acl: clarify license info

As pointed out by Thomas Petazzoni in his review.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoattr: clarify license info
Peter Korsgaard [Mon, 26 May 2014 09:44:41 +0000 (11:44 +0200)]
attr: clarify license info

As pointed out by Thomas Petazzoni in his review.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxbmc: Add missing unicode properties supports
Maxime Hadjinlian [Sat, 24 May 2014 17:55:47 +0000 (19:55 +0200)]
xbmc: Add missing unicode properties supports

At startup, XBMC complains that PCRE is lacking unicode properties
supports.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohwdata: add license information
Heiko Abraham [Sat, 24 May 2014 13:49:43 +0000 (15:49 +0200)]
hwdata: add license information

Add missing license info and file for package 'hwdata'

[Peter: GPLv2 should be '+' variant, clarify that it is dual licensed]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoattr: add license information
Heiko Abraham [Sat, 24 May 2014 13:21:01 +0000 (15:21 +0200)]
attr: add license information

Add missing license info and file for package 'attr'

[Peter: change to '+' version of licenses]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoacl: add license information
Heiko Abraham [Sat, 24 May 2014 13:16:52 +0000 (15:16 +0200)]
acl: add license information

Add missing license info and file for package 'acl'

[Peter: change to '+' version of licenses]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agowebsite: add alt-tags to images
Thomas De Schampheleire [Sat, 24 May 2014 20:06:51 +0000 (22:06 +0200)]
website: add alt-tags to images

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agowebsite: fix typos and HTML on support page
Thomas De Schampheleire [Sat, 24 May 2014 20:06:50 +0000 (22:06 +0200)]
website: fix typos and HTML on support page

Fix a few typos on the support page, and add correct HTML <p> </p> tag
pairs.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agowebsite: remove remaining references to uclibc.org
Thomas De Schampheleire [Sat, 24 May 2014 20:06:49 +0000 (22:06 +0200)]
website: remove remaining references to uclibc.org

The website still used some uclibc.org URLs which can now use buildroot.org.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agowebsite: rework Contribute page to avoid duplication with manual
Thomas De Schampheleire [Sat, 24 May 2014 20:06:48 +0000 (22:06 +0200)]
website: rework Contribute page to avoid duplication with manual

The manual contains details about how users can contribute to
buildroot. The website also had such a list, but with much less detail and
not containing all topics.
In order to avoid duplicating this information, simply list the different
topics without detail on the website, and add a link to the relevent
chapter of the manual.

[Peter: slightly reword]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/rpi-userland: bump version
Yann E. MORIN [Sat, 24 May 2014 17:13:48 +0000 (19:13 +0200)]
package/rpi-userland: bump version

Important fix to EGL surface validation.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agophp: fix more iconv related build failures
Gustavo Zacarias [Wed, 23 Apr 2014 01:12:14 +0000 (22:12 -0300)]
php: fix more iconv related build failures

See php-01-no-iconv.patch for the gory details. Fixes:
http://autobuild.buildroot.net/results/1c9/1c9bdfe55288430dca80a1bb514b85353d2f1c54/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolesstif: needs MMU
Baruch Siach [Sun, 25 May 2014 04:41:21 +0000 (07:41 +0300)]
lesstif: needs MMU

Fixes:
http://autobuild.buildroot.net/results/9f7/9f718c9c9907d9aa2a7a0c45c872f5a8f34b8399/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconfig: kernel.org is now https-only
Yann E. MORIN [Fri, 23 May 2014 17:20:12 +0000 (19:20 +0200)]
config: kernel.org is now https-only

Every requests on kernel.org gets redirected to https.
So just set our kernel.org settings straight to begin with.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/samba{,4}: disable on nios2
Yann E. MORIN [Fri, 23 May 2014 17:59:30 +0000 (19:59 +0200)]
package/samba{,4}: disable on nios2

samba produces particularly large binaries, and the relocations needed
for it do not fit in the possible relocation mechanisms available on
nios2. Since samba is very unlikely to be used on nios2, let's just
disable it, as we've done for AVR32.

Fixes:
    http://autobuild.buildroot.net/results/7b9/7b9dcb537f98714fe57fe384ecbb49bd9ae52aee/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/connman: update homepage
Yann E. MORIN [Fri, 23 May 2014 16:37:43 +0000 (18:37 +0200)]
package/connman: update homepage

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomplayer: Add support for ARC
Anton Kolesov [Fri, 23 May 2014 13:13:32 +0000 (17:13 +0400)]
mplayer: Add support for ARC

This patch adds support for ARC architecture in Mplayer's configure script.
Same patch has been submitted to upstream MPlayer. This patch should be
removed after Buildroot will bump to next version of MPlayer (after 1.1.1).

Fixes http://autobuild.buildroot.net/results/f62/f62ace7ba49d492ea224bb8f3beb547389aab517/

[Peter: add autobuilder link]
Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agordesktop: security bump to version 1.8.2
Gustavo Zacarias [Fri, 23 May 2014 12:14:04 +0000 (09:14 -0300)]
rdesktop: security bump to version 1.8.2

Long overdue, fixes CVE-2008-1801, CVE-2008-1802, CVE-2008-1803 and
CVE-2011-1595.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolttng-babeltrace: needs posix_fallocate
Baruch Siach [Fri, 23 May 2014 03:43:55 +0000 (06:43 +0300)]
lttng-babeltrace: needs posix_fallocate

Fixes:
http://autobuild.buildroot.net/results/d8b/d8b5ccc643fe0fb5577392fed37e05b89d4a3951/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohttping: fix static linking when libintl+libiconv are enabled
Peter Korsgaard [Fri, 23 May 2014 10:39:35 +0000 (12:39 +0200)]
httping: fix static linking when libintl+libiconv are enabled

Fixes http://autobuild.buildroot.net/results/365/365d6be787c5560aa1daa28065668261e1171d24/

If libiconv is enabled, libintl will contain references to it, so we need to
explicitly link against it when statically linking against libintl.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosystem/timezone: check localtime exists
Yann E. MORIN [Thu, 22 May 2014 20:40:59 +0000 (22:40 +0200)]
system/timezone: check localtime exists

When installing a localtime, check it is a valid timezone.

[Peter: extend error message to make it clear to the user what to change]
Reported-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoruby: disable openssl for host variant
Gustavo Zacarias [Thu, 22 May 2014 18:04:28 +0000 (15:04 -0300)]
ruby: disable openssl for host variant

As reported by Fatih Aşıcı on the mailing list it sometimes fails with
the host openssl depending on versions when development files are
installed.
And as suggested by Thomas Petazzoni it's really not required for
anything so just disable it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodosfstools: fix static linking with libiconv
Peter Korsgaard [Thu, 22 May 2014 20:05:42 +0000 (22:05 +0200)]
dosfstools: fix static linking with libiconv

Fixes http://autobuild.buildroot.net/results/246/246c067f1e9def748498f0c6fa6988c036e1d109/

Pass the libraries to be linked in LDLIBS instead of LDFLAGS so the end up
after the object files on the linker command line.

While we are at it, use TARGET_CONFIGURE_OPTS instead of explictly passing
CC/CFLAGS/LDFLAGS.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoflite: fix static linking against alsa
Baruch Siach [Thu, 1 May 2014 03:17:28 +0000 (06:17 +0300)]
flite: fix static linking against alsa

Fixes:
http://autobuild.buildroot.net/results/3ff/3ff2217a4fccbddbdb2bc8ade68c88fc52848d36/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibv4l: needs mmu
Gustavo Zacarias [Wed, 21 May 2014 17:35:29 +0000 (14:35 -0300)]
libv4l: needs mmu

Fixes:
http://autobuild.buildroot.net/results/989/989d32f3532283817e9439aa78cceff5983dc421/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoUpdate for 2014.05-rc2
Peter Korsgaard [Wed, 21 May 2014 15:17:03 +0000 (17:17 +0200)]
Update for 2014.05-rc2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agowpa_supplicant: fix internal TLS implementation security issues
Baruch Siach [Wed, 21 May 2014 09:54:00 +0000 (12:54 +0300)]
wpa_supplicant: fix internal TLS implementation security issues

Add upstream patches fixing internal TLS validation of X.509 certificates. See
http://lists.shmoo.com/pipermail/hostap/2014-May/030273.html for details.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: pkg-utils.mk replace "echo -e" with printf
Maxime Hadjinlian [Wed, 21 May 2014 08:25:10 +0000 (10:25 +0200)]
infra: pkg-utils.mk replace "echo -e" with printf

printf is POSIX-compliant, echo -e is not.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoacpid: replace "echo -e" with printf
Maxime Hadjinlian [Wed, 21 May 2014 08:25:09 +0000 (10:25 +0200)]
acpid: replace "echo -e" with printf

printf is POSIX-compliant, echo -e is not.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain-external: fix Linaro 2014.02 symlink
Thomas Petazzoni [Wed, 21 May 2014 07:52:02 +0000 (09:52 +0200)]
toolchain-external: fix Linaro 2014.02 symlink

In commit cd32da8f7931af61737df293d1f8bcedaab8648e
("toolchain-external: add Linaro ARM big endian toolchain") a mistake
was made, probably due to a rebase conflict that was incorrectly solved:
the call to the post install staging hook that creates the necessary
symbolic links for a root filesystem based on Linaro 2014.02 to work
was removed.

This commit reinstates this call, which should fix the problem
observed by Maxime Hadjinlian while using Linaro 2014.02.

Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonodejs: fix build when python3 is selected in Buildroot
Thomas Petazzoni [Wed, 21 May 2014 07:38:01 +0000 (09:38 +0200)]
nodejs: fix build when python3 is selected in Buildroot

When Python 3 is selected in Buildroot, the host/usr/bin/python
symlink of the host Python interpreter points to python3. Packages
that need to use the host Python 2 interpreter have to use python2.

In commit 40218a16526946f35dab0d05f379f71a01f29530 ("nodejs: force
python interpreter"), Samuel made some changes to the nodejs package
to use python2. One part of the changes is to sed a .gyp file to
replace the string 'python' by the path to python2. However, this
operation is done *after* calling the configure script, so it has in
fact no effect. Putting this sed before calling the configure script
fixes the problem.

However, there is a better solution: the nodejs build system has a
mechanism of variables, and it already defines a python variable
according to the environment variable PYTHON being passed. So this
patch instead adds a new patch to nodejs to use this python variable.

Fixes:

  http://autobuild.buildroot.org/results/aff/affd7300895ec400de50a33d51b4e94e15d63341/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackages: make providers declare what they provide
Yann E. MORIN [Thu, 15 May 2014 17:37:05 +0000 (19:37 +0200)]
packages: make providers declare what they provide

Fixes:
    http://autobuild.buildroot.org/results/285/2851069d6964aa46d26b4aabe7d84e8c0c6c72ce
    http://autobuild.buildroot.net/results/9b7/9b7870354d70e27e42d3d9c1f131ab54706bf20e
    [...]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodocs/manual: document the new FOO_PROVIDES variable
Yann E. MORIN [Thu, 15 May 2014 17:37:04 +0000 (19:37 +0200)]
docs/manual: document the new FOO_PROVIDES variable

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra/pkg-virtual: validate only one provider provides an implementation
Yann E. MORIN [Thu, 15 May 2014 17:37:03 +0000 (19:37 +0200)]
infra/pkg-virtual: validate only one provider provides an implementation

Currently, it is possible that more than one provider of a virtual package
is selected in the menuconfig.

This leads to autobuild failures, and we do not protect the user from
making a mistake in the configuration. The failure is then hard to
troubleshoot in any case.

We can't use kconfig constructs to prevent this, since kconfig does not
tell how many options did a select on another option.

This change introduces a new variable a provider *must* define to include
all the virtual packages it is an implementation of. Then, when evaluating
the package's rules, we check that the provider is indeed the declared one
for each virtual package it claims to be an implementation of.

This works by taking advantage that when more than one provider is
selected, only one of them will 'win' in setting the _PROVIDES_FOO
option. Thus any provider just has to check it is indeed the declared
provider. If not, it means that one or more other provider is selected.

This gives the opportunity to the user to change its configuration, and
we can match the error message in the autobuilders to skip those failures
(we can skip them instead of reporting them, since they are obviously
configuration errors that should not happen in the first place.)

[Note: kudos to Arnout for suggesting this actual implementation. :-)]

Fixes:
    http://autobuild.buildroot.org/results/285/2851069d6964aa46d26b4aabe7d84e8c0c6c72ce
    http://autobuild.buildroot.net/results/9b7/9b7870354d70e27e42d3d9c1f131ab54706bf20e
    [...]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobuild/sstrip: deprecate for 2014.05
Yann E. MORIN [Tue, 20 May 2014 21:54:02 +0000 (23:54 +0200)]
build/sstrip: deprecate for 2014.05

Quoting Thomas on IRC:
  > sstrip is a piece of crap that we should exterminate
  > from the surface of the planet

sstrip is now unmaintained, has a long history of generating butchered
binaries in some cases, and does not gain that much space in the end.

We'd like to obliviate sstrip from the strip options, anihilate the
sstrip package, scorch any reference in fire, and cleanse our tree
free of any remnants...

But first, let's just deprecate it for now.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouboot: check various configuration parameters and bail out if empty
Thomas Petazzoni [Tue, 20 May 2014 20:42:31 +0000 (22:42 +0200)]
uboot: check various configuration parameters and bail out if empty

Following the issues reported by Jerry <g4@novadsp.com>, it appears
that there are a number of U-Boot configuration variables we are not
checking properly, leaving users with weird behavior at build time.

This commit extends the existing U-Boot checks to verify that when a
custom version, custom tarball, or custom Git or Mercurial
repositories are selected, the appropriate fields are not empty in the
configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoipsec-tools: needs MMU support
Thomas Petazzoni [Tue, 20 May 2014 21:32:40 +0000 (23:32 +0200)]
ipsec-tools: needs MMU support

ipsec-tools currently fails to build for Blackfin due to GLOB_TILDE
not being supported in Blackfin external toolchains. However, after
fixing this problem (which will be fixed in later versions of the
Blackfin external toolchains) allows to discover that ipsec-tools uses
fork() anyway.

Therefore, this patch simply marks ipsec-tools as not available on
non-MMU systems.

Consequently, it fixes:

  http://autobuild.buildroot.org/results/fc4/fc4ef4101a20e64eb52da56557d6996dd73b3d86/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomatchbox-keyboard: fix dependencies
Peter Korsgaard [Tue, 20 May 2014 21:40:37 +0000 (23:40 +0200)]
matchbox-keyboard: fix dependencies

Correct a number of issues with matchbox-keyboard:
 - Missing dependencies on host-pkgconf and expat
 - Missing kconfig select on xlib_libXft
 - pango/cairo confusion, ensure cairo is built before if enabled
 - _CONF_OPT variable typo

Fixes:
http://autobuild.buildroot.net/results/473/47380d57e507ec395a1132dfd7b32d35459c1c7a//
http://autobuild.buildroot.net/results/d9a/d9aa2b6ddce920ea45fbd7093addfc0ee6b94467//
http://autobuild.buildroot.net/results/aad/aad393a81812df28cbc296f556de2acb4e6d114b//
http://autobuild.buildroot.net/results/124/124b28336ed61822fa6d5d2591b4e70d83b8a213//
and 17 other build errors, dating back to 2013-07-03

Reported-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopciutils: disallow on Blackfin
Thomas Petazzoni [Tue, 20 May 2014 15:48:09 +0000 (17:48 +0200)]
pciutils: disallow on Blackfin

Even though some Blackfin processors have PCI interfaces, the PCI
support is not supported by the Linux kernel: it has been marked as
broken since 2008. This means there's probably little interest for PCI
on Blackfin, and consequently little interest about getting pciutils
to build.

Fixes http://autobuild.buildroot.net/results/a27/a27ce61967ef8f780887f7681c8b0edd91656be6/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosamba: disable on AVR32
Thomas Petazzoni [Tue, 20 May 2014 07:20:23 +0000 (09:20 +0200)]
samba: disable on AVR32

samba produces particularly large binaries, and the relocations needed
for it do not fit in the possible relocation mechanisms available on
AVR32. Since samba is very unlikely to be used on AVR32, let's just
disable it, as we've already done for samba4.

Fixes:

  http://autobuild.buildroot.net/results/0142b1d5b8c3f20f1bff76ece646d901407f7490/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/webkit: Fix OpenGL-related dependencies
Bernd Kuhls [Mon, 19 May 2014 20:51:35 +0000 (22:51 +0200)]
package/webkit: Fix OpenGL-related dependencies

fixes
http://autobuild.buildroot.net/results/27a/27a674c6a19a729fae5cc33de0360b2a061930c1/

This patch indeed fixes several problems based on the autobuilder-defconfig used.

1) Add missing dependencies when opengl is detected by webkit to satisfy autobuilder:

checking which GPU acceleration backend to use... opengl
checking for XCOMPOSITE... yes
checking for XDAMAGE... no
configure: error: Package requirements (xdamage) were not met:

2) ... but opengl should not have been detected with the used defconfig:
$ grep MESA .config
BR2_PACKAGE_MESA3D=y

which will lead to a link error although webkit configure found all dependencies:

/home/br2/output/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/4.7.3/../../../../mips-linux-gnu/bin/ld: cannot find -lGL

3) same is valid for glx, having GL/glx.h means nothing

4) add some configure options for gles/egl as well, just to make sure ;)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogdb: switch to 7.x for Blackfin
Thomas Petazzoni [Mon, 19 May 2014 22:07:19 +0000 (00:07 +0200)]
gdb: switch to 7.x for Blackfin

For some reason, we were keeping gdb version 6.6a specially for
Blackfin. However, it turns out that support for Blackfin was merged
in gdb 7.4 (cross-gdb and gdbserver, not native gdb on the
target). Therefore, we can simply remove the support for version 6.6a
and use 7.5 as the default.

Both 7.4 and 7.5 were built tested, including cross-gdb and gdbserver.

The original reason to switch to 7.x is that 6.6a doesn't build for
Blackfin FLAT, and while it builds for Blackfin FDPIC, it only builds
libiberty.a and does not actually build a cross debugger.

Fixes:

  http://autobuild.buildroot.org/results/b47/b47f85553336b7f63ee4ecdf8598374ce4a225a3/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogdb: fix build of host-gdb 7.4
Thomas Petazzoni [Mon, 19 May 2014 22:07:18 +0000 (00:07 +0200)]
gdb: fix build of host-gdb 7.4

The build of host-gdb 7.4 fails due to some texinfo issue. To avoid
that, use the same trick as is used for the target variant of gdb:
tell gdb that makeinfo is missing.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofio: disable on nios2 because of missing fallocate64()
Frank Bergmann [Mon, 19 May 2014 19:23:30 +0000 (21:23 +0200)]
fio: disable on nios2 because of missing fallocate64()

The fallocate() function is replaced by fallocate64() while compiling
with LARGE_FILE flags. Current nios2 toolchain is missing the fallocate64()
function.

Fixes:
    http://autobuild.buildroot.net/results/9cd/9cd30031a40f768f6090cfba44c880fb2406672b
    http://autobuild.buildroot.net/results/7da/7da32ca8178aa6bada06dfaea38e9e693fba0db2
    http://autobuild.buildroot.net/results/0ef/0ef7358289bff2a5f9efda27115eddb379c1a0b9
    [...]

[Peter: reference BR2_LARGEFILE, add autobuilder refs as suggested by Yann]
Signed-off-by: Frank Bergmann <frank@frajasalo.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: bump 3.{2,4,12}.x series
Gustavo Zacarias [Mon, 19 May 2014 12:31:37 +0000 (09:31 -0300)]
linux-headers: bump 3.{2,4,12}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosamba4: disable libbsd support
Gustavo Zacarias [Mon, 19 May 2014 12:27:57 +0000 (09:27 -0300)]
samba4: disable libbsd support

There's a symbol conflict between regular (POSIX) link(2) and the BSD
variant for builtin heimdal when libbsd is around and used. Fixes:
http://autobuild.buildroot.net/results/657/65726ceccbc2d8fa24e178ea66cd44703768bc95/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoMakefile: move fs/common.mk above external.mk
Philippe Reynes [Mon, 5 May 2014 07:52:13 +0000 (09:52 +0200)]
Makefile: move fs/common.mk above external.mk

The file external.mk was included before fs/common.mk, so it was impossible
to add rootfs targets using the BR2_EXTERNAL mechanism.
This change moves the inclusion of fs/common.mk before external.mk to allow
this.

Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
[ThomasDS: rebased, update commit message]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonews.html: add 2014.05-rc1 announcement mail link
Peter Korsgaard [Sun, 18 May 2014 22:24:08 +0000 (00:24 +0200)]
news.html: add 2014.05-rc1 announcement mail link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/imagemagick: remove useless makefile target.
Romain Naour [Sun, 18 May 2014 20:24:10 +0000 (22:24 +0200)]
package/imagemagick: remove useless makefile target.

Makefile's target "install-magickincarchHEADERS" and "magick-install-data-local"
install both the same file (magick-baseconfig.h) in the same time...

The problem can be reproduced with:
mkdir /tmp/bar
/usr/bin/install -c -m 644 foo /tmp/bar &
/usr/bin/install -c -m 644 foo /tmp/bar/foo
/usr/bin/install: cannot create regular file '/tmp/bar/foo' : File exists

So, remove one of them.

Fixes:
http://autobuild.buildroot.net/results/d34/d34077ce582866c50bbd90de10bbe593e39463f1/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoduma: not available on non-MMU platforms
Thomas Petazzoni [Sun, 18 May 2014 17:45:00 +0000 (19:45 +0200)]
duma: not available on non-MMU platforms

By design, building duma on Blackfin and other non-MMU platforms is
quite useless: it uses page mappings to detect buffer overrun and
use-after-free programming errors. Therefore, this commit simply marks
duma as not available on non-MMU platforms.

Fixes:

  http://autobuild.buildroot.org/results/951/9519d7abb45c6a789874ec6bb84418c31a98916b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofbgrab: fix static linking
Thomas Petazzoni [Sun, 18 May 2014 17:26:28 +0000 (19:26 +0200)]
fbgrab: fix static linking

Fixes:

  http://autobuild.buildroot.org/results/9e0/9e079632a6c0556c96ec8ed7564286aa84044bf7/
  http://autobuild.buildroot.org/results/401/401105b5e120176e78c2e5fcabe54ab0bde1bf40/
  and more

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomplayer: not supported on ARC
Thomas Petazzoni [Sun, 18 May 2014 17:16:54 +0000 (19:16 +0200)]
mplayer: not supported on ARC

Fixes:

  http://autobuild.buildroot.org/results/af1/af1ca869dbc7a71aa4cc89373d605ca8f790fcc9/

[Peter: also adjust largefile comment dependency]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocairo: fix build issue with gcc 4.9
Thomas Petazzoni [Sun, 18 May 2014 17:14:30 +0000 (19:14 +0200)]
cairo: fix build issue with gcc 4.9

Fixes:

  http://autobuild.buildroot.org/results/277/277038de62d6262576a63b213374a33357a8333b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoDrop 'foo' debug file from previous commit
Peter Korsgaard [Sat, 17 May 2014 21:40:50 +0000 (23:40 +0200)]
Drop 'foo' debug file from previous commit

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agograph-depends: rename the variable to pass the max depth
Yann E. MORIN [Fri, 16 May 2014 21:05:13 +0000 (23:05 +0200)]
graph-depends: rename the variable to pass the max depth

There will soon be new options to the graph-depends script, which we
can only sanely pass via environment variables.

Currently, we use such an environment variable to pass the maximum depth
of the dependency graph; the name of that variable is explicit that it
contains just the depth.

However, there has been so far no release of Buildroot which would make
use of that variable, so no user should have come to rely on it.

Rename that variable so it is less specific, and more generic, so it can
be used to pass more options to graph-depends.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/duma: do not let Makefile guess OS
Yann E. MORIN [Sat, 17 May 2014 17:34:50 +0000 (19:34 +0200)]
package/duma: do not let Makefile guess OS

We need to tell the duma Makefile what OS we're gonna run on, or it
uses default values.

It turns out the default values are the same as for OS=linux (and so
this change should be a no-op), but it's just better to force it, and
it avoids a warning during the build.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxlib_libXpm: fix build on noMMU architectures
Thomas Petazzoni [Sat, 17 May 2014 16:53:30 +0000 (18:53 +0200)]
xlib_libXpm: fix build on noMMU architectures

Add a patch to libXpm to fix build on noMMU architectures.

Fixes:

  http://autobuild.buildroot.org/results/c57/c571b0a9d9f36a445ea36a4bd609154f9a9bddd5/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopulseaudio: uses fork(), not available on noMMU platforms
Thomas Petazzoni [Sat, 17 May 2014 14:40:31 +0000 (16:40 +0200)]
pulseaudio: uses fork(), not available on noMMU platforms

Even though pulseaudio has some HAVE_FORK compile-time conditionals to
avoid using fork(), those parts of pulseaudio are not using it. Since
using pulseaudio on !MMU platforms is fairly unlikely, we simply
disable it when no MMU is available, and propagate this dependency to
the appropriate locations.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofluxbox: uses fork(), not available on noMMU platforms
Thomas Petazzoni [Sat, 17 May 2014 14:18:22 +0000 (16:18 +0200)]
fluxbox: uses fork(), not available on noMMU platforms

fluxbox uses the fork() system call, not available on noMMU
platforms. It's also fairly unlikely to have to use a full-blown
X.org window manager on such platforms.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agophp-imagick: propagate BR2_USE_MMU dependency
Thomas Petazzoni [Sat, 17 May 2014 14:02:24 +0000 (16:02 +0200)]
php-imagick: propagate BR2_USE_MMU dependency

php-imagick selects imagemagick, and imagemagick 'depends on
BR2_USE_MMU', but this dependency was not propagated to
php-imagick. This commit fixes that.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agozyre: propagate missing BR2_USE_MMU dependency
Thomas Petazzoni [Sat, 17 May 2014 14:02:23 +0000 (16:02 +0200)]
zyre: propagate missing BR2_USE_MMU dependency

zyre selects filemq, and filemq 'depends on BR2_USE_MMU', but this
dependency was not propagated to zyre. This commit fixes that.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/x11r7/xserver_xorg-server: Udev kms support depends on libdrm
Bernd Kuhls [Sat, 17 May 2014 11:28:38 +0000 (13:28 +0200)]
package/x11r7/xserver_xorg-server: Udev kms support depends on libdrm

Fixes
http://autobuild.buildroot.net/results/18c/18c554d148fc00f85690c1638976dd6d0d7ff219/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomysql: Add optional OpenSSL dependency
Bernd Kuhls [Sat, 17 May 2014 10:32:44 +0000 (12:32 +0200)]
mysql: Add optional OpenSSL dependency

Make sure OpenSSL is built before mysql.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomysql: Add optional zlib dependency
Bernd Kuhls [Sat, 17 May 2014 10:32:43 +0000 (12:32 +0200)]
mysql: Add optional zlib dependency

Make sure zlib is built before mysql.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogpm: fix build on Microblaze due to ELF check
Thomas Petazzoni [Sat, 17 May 2014 09:50:21 +0000 (11:50 +0200)]
gpm: fix build on Microblaze due to ELF check

Fixes:

  http://autobuild.buildroot.org/results/19d/19d93324caac8b4aad7abfe7b6c3d85612636368/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosane-backends: uses fork(), not available on noMMU systems
Thomas Petazzoni [Sat, 17 May 2014 09:31:14 +0000 (11:31 +0200)]
sane-backends: uses fork(), not available on noMMU systems

sane-backends currently doesn't build with the ADI external
toolchains, due to an internal compiler failure. However, using the
internal toolchain backend for Blackfin goes past this internal
compiler failure, but raises the problem that sane-backends uses
fork(). Sane-backends has a --enable-pthreads option that allows to
use threads instead of forking in some parts of sane, but there are
still some other areas of sane-backends that continue to use fork().

Since the probability of using sane-backends on a noMMU system is
fairly small, we'll just disable this package for now on such
architectures, until someone cares enough to investigate deeper.

Fixes:

  http://autobuild.buildroot.org/results/136/136100c3a2d843b7915fdd83d23d8b301fee577e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotstools: uses fork() therefore needs MMU
Thomas Petazzoni [Sat, 17 May 2014 09:17:44 +0000 (11:17 +0200)]
tstools: uses fork() therefore needs MMU

Fixes:

  http://autobuild.buildroot.org/results/4f6/4f611e085a3e21319a98f5383adf2caac77a0bd6/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoelfutils: disable on Blackfin, problem of assembly symbol prefix
Thomas Petazzoni [Sat, 17 May 2014 08:54:03 +0000 (10:54 +0200)]
elfutils: disable on Blackfin, problem of assembly symbol prefix

Fixes:

  http://autobuild.buildroot.org/results/922/92291286e86f9ea943ae7aa58cbd884c8db0c5d2/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoelfutils: propagate architecture dependency to comment
Thomas Petazzoni [Sat, 17 May 2014 08:52:51 +0000 (10:52 +0200)]
elfutils: propagate architecture dependency to comment

elfutils depends on !BR2_avr32, but this dependency was not properly
propagated to the comment about toolchain options. This commit fixes
that.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agojack2: not available on ARC
Thomas Petazzoni [Sat, 17 May 2014 08:30:57 +0000 (10:30 +0200)]
jack2: not available on ARC

ARC lacks some compiler intrinsics to build jack2.

Fixes:

  http://autobuild.buildroot.org/results/c21/c218be876d3abf7a8e212b6d526595bfd835e1c5/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agojack2: requires MMU support
Thomas Petazzoni [Sat, 17 May 2014 08:30:04 +0000 (10:30 +0200)]
jack2: requires MMU support

jack2 uses fork(), so it's not available on non-MMU architectures.

Fixes:

  http://autobuild.buildroot.org/results/0d4/0d441bf1831b2a657b466e44c29423c45c07decd/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibdvd{nav, read}: add patches to fix build on NIOS II
Thomas Petazzoni [Sat, 17 May 2014 08:28:08 +0000 (10:28 +0200)]
libdvd{nav, read}: add patches to fix build on NIOS II

Fixes:

  http://autobuild.buildroot.org/results/628/62839c4b2e687b940b97ad61bceb41cd5eb6e17a/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/avahi: does not build with static-only
Yann E. MORIN [Fri, 16 May 2014 20:22:59 +0000 (22:22 +0200)]
package/avahi: does not build with static-only

... and propagate to reverse dependencies.

Fixes (which I reproduced here):
    http://autobuild.buildroot.net/results/ea2/ea2c8f20c4032bf82876805ea787a55834091cec

Should fix (which I did not even try to reproduce):
    http://autobuild.buildroot.net/results/4ef/4ef5bfc17f50bddb00f7ef3d62fc1fe963b7da82
    http://autobuild.buildroot.net/results/76e/76e4854812b0ef3862c080eead4012b35ef27f0f
    http://autobuild.buildroot.net/results/5bf/5bfb3fd9fe61bef5f998dc5999ce2060c334662c
    http://autobuild.buildroot.net/results/dc6/dc607c35471ef6dda04e06ad05ae7794615af578

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoudev: replace "echo -en" with printf
Maxime Hadjinlian [Wed, 14 May 2014 10:26:53 +0000 (12:26 +0200)]
udev: replace "echo -en" with printf

printf is POSIX-compliant, echo -e/n is not.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoeudev: replace "echo -en" with printf
Maxime Hadjinlian [Wed, 14 May 2014 10:26:52 +0000 (12:26 +0200)]
eudev: replace "echo -en" with printf

printf is POSIX-compliant, echo -e/n is not.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonetsnmp: cleanup configure flags handling
Peter Korsgaard [Fri, 16 May 2014 20:28:38 +0000 (22:28 +0200)]
netsnmp: cleanup configure flags handling

No functional change, but cleaner.

Remove the double --disable-manuals and move the debug handling together
with the other optional configure flags.

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