buildroot.git
9 years agopackage/efl/expedite: x-includes and x-libraries must be set for cross-compiling
Romain Naour [Wed, 6 May 2015 21:50:44 +0000 (23:50 +0200)]
package/efl/expedite: x-includes and x-libraries must be set for cross-compiling

If those flags are not explicitly passed, the libecore configure
script will include -I/usr/X11R6/include and -L/usr/X11R6/lib in the
compile flags, which are obviously unsafe for cross-compilation.

The fix is similar to 0d9d8984a9240a27f5ed2e15f1977ada67266906 and
da50b6b61c4a566fd28888f5a3a6dcb06fe1b495.

Fixes:
http://autobuild.buildroot.org/results/24b/24b578a28455409b7bcc0277abc6b478c51ae67f

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovalgrind: Backport patch to fix build on 4.0 host kernels
Christian Artin [Wed, 6 May 2015 17:26:58 +0000 (13:26 -0400)]
valgrind: Backport patch to fix build on 4.0 host kernels

Valgrind fails to build when the host kernel is >=4.0. This patch
backports the commit from upstream that fixes the kernel version
verification. This verification is pointless for buildroot anyway, but
it fixes the building process.

[Peter: rename patch to 0002-* and add SoB, slightly reword commit msg]
Signed-off-by: Christian Artin <christian@gridshowsystems.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agocc-tool: fix static build problem with boost regex
Thomas Petazzoni [Tue, 5 May 2015 21:36:45 +0000 (23:36 +0200)]
cc-tool: fix static build problem with boost regex

The boost.m4 logic is a bit crappy, and needs some help to know that
boost_regex needs the pthread library.

Fixes:

  http://autobuild.buildroot.org/results/69a/69aff0b9d0ac8fe08e1d2f7ffb691f6a8fc8693b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agocryptsetup: disable on broken NIOS 2 toolchains
Thomas Petazzoni [Tue, 5 May 2015 20:59:32 +0000 (22:59 +0200)]
cryptsetup: disable on broken NIOS 2 toolchains

This package triggers the infamous _gp issue with the external NIOS 2
toolchains, so let's disable it.

Fixes:

  http://autobuild.buildroot.org/results/ff4/ff456344eb5bc8af619c1f5d88be0cb758dd5075/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoiproute2: fix static build
Baruch Siach [Thu, 7 May 2015 07:20:12 +0000 (10:20 +0300)]
iproute2: fix static build

Fixes:
http://autobuild.buildroot.net/results/a10/a107ac3252ad48732069ec0de6ff8692b32c6a71/
http://autobuild.buildroot.net/results/e27/e2785a35bc6bc63d5da77e406e589889e7d39055/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoexpedite: fix dependencies comment logic
Baruch Siach [Thu, 7 May 2015 06:35:26 +0000 (09:35 +0300)]
expedite: fix dependencies comment logic

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoola: depend on python for bindings instead of selecting it
Peter Korsgaard [Wed, 6 May 2015 21:42:44 +0000 (23:42 +0200)]
ola: depend on python for bindings instead of selecting it

Most likely people have already enabled python if they want to use the
bindings for ola, so use depends on instead of select so we don't need to
propagate the dependencies here.

Python already depends on mmu, so drop that here.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodstat: propagate python !static dependency
Peter Korsgaard [Wed, 6 May 2015 21:39:54 +0000 (23:39 +0200)]
dstat: propagate python !static dependency

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogiflib: remove from the description the reference to libungif
Fabio Porcedda [Sun, 12 Apr 2015 10:13:57 +0000 (12:13 +0200)]
giflib: remove from the description the reference to libungif

Starting from version 5.0 giflib it's no longer compatible with
libungif, also the libungif is now deprecated so just remove the
reference to libungif.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Baruch Siach <baruch@tkos.co.il>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/postgresql: fix pthread flags detection
Max Filippov [Mon, 23 Mar 2015 17:23:30 +0000 (20:23 +0300)]
package/postgresql: fix pthread flags detection

PostgreSQL configure may not correctly determine flags for compiling and
linking with pthreads support when compiler or linker give irrelevant
warnings.

Record default compiler and linker output and see if adding pthread
option changes that, instead of assuming that linker and compiler are
silent by default.

Fixes:
  http://autobuild.buildroot.net/results/916487aae929c181d4e3f471c6c7508552f0b683/
  http://autobuild.buildroot.net/results/921a94d1a489d81b362c5b6a403a156b4691effd/
  http://autobuild.buildroot.net/results/dbcdc58ad32b7b811ea47b6fc0f926a477e30786/
  http://autobuild.buildroot.net/results/68b582f4caec223a646f095487263353f273156d/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/poppler: autoconf options take two dashes
Yann E. MORIN [Tue, 5 May 2015 22:48:08 +0000 (00:48 +0200)]
package/poppler: autoconf options take two dashes

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-pyqt: fix opengl build failure
Gwenhael Goavec-Merou [Wed, 6 May 2015 14:59:36 +0000 (16:59 +0200)]
python-pyqt: fix opengl build failure

Fix:
http://autobuild.buildroot.net/results/206/2062208c171207428c9121215971e00c52bf306a/

According to configure-ng.py, PyQt_NoOpenGLES must be added to qtdetail when
QT_OPENGL_ES is set.

[Thomas: add comment to explain the double negation.]

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt: fix missing target
Gwenhael Goavec-Merou [Wed, 6 May 2015 13:28:49 +0000 (15:28 +0200)]
qt: fix missing target

Fix :
 http://autobuild.buildroot.net/results/093/09302c153418c3af6dc4cdd12a0149505cfbca0b/
 http://autobuild.buildroot.net/results/96f/96f8a9758f0116aec999028fde1b9c983c143809/

sh target must be provided instead of generic to have the correct QT_NO_FPU
behaviour.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/autoconf-archive: fix ax_tls syntax error
Romain Naour [Sun, 3 May 2015 22:04:24 +0000 (00:04 +0200)]
package/autoconf-archive: fix ax_tls syntax error

The ax_tls.m4 serial 11 procude a syntax error
in configure scripts.

Fixes:
http://autobuild.buildroot.net/results/619/619339810617212a667fe72278ec727ee992ffbf/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual: add list of instrumentation steps
Yann E. MORIN [Sun, 3 May 2015 15:42:44 +0000 (17:42 +0200)]
docs/manual: add list of instrumentation steps

The names of steps are not obvious, so add this list to the manual.

Small formatting fix at the same time.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain/external: better report RPC error for custom toolchains
Yann E. MORIN [Sun, 3 May 2015 15:39:16 +0000 (17:39 +0200)]
toolchain/external: better report RPC error for custom toolchains

Currently, we instruct users to enable/disable BR2_TOOLCHAIN_HAS_NATIVE_RPC
but that is a blind option. The only option users can set/unset is
BR2_TOOLCHAIN_EXTERNAL_INET_RPC.

Use that in the error message.

Notes: the only way for this message to appear is for a custom external
toolchain, either downloaded or pre-installed, so even though we check
the validity of the toolchain with BR2_TOOLCHAIN_HAS_NATIVE_RPC, we do
report on BR2_TOOLCHAIN_EXTERNAL_INET_RPC.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobinutils: backport xtensa trampolines relaxation optimization
Max Filippov [Tue, 5 May 2015 19:57:21 +0000 (22:57 +0300)]
binutils: backport xtensa trampolines relaxation optimization

This optimization alone reduces gnuradio build time for xtensa from 2
hours to 40 minutes.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoarch/Config.in.xtensa: provide BR2_ENDIAN symbol
Max Filippov [Tue, 5 May 2015 16:18:24 +0000 (19:18 +0300)]
arch/Config.in.xtensa: provide BR2_ENDIAN symbol

Packages get hints from the buildroot at configure time, e.g.
ac_cv_c_bigendian=yes/no. This particular hint is based on the value of
BR2_ENDIAN and when it doesn't match actual toolchain endiannes the
build may break.
Provide BR2_ENDIAN for xtensa to fix this sort of build errors.

Fixes:
  http://autobuild.buildroot.net/results/31115fe8d88f52d77ed0f2da769eb8896a1b34a2/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofreerdp: fix build with uClibc
Baruch Siach [Tue, 5 May 2015 18:15:32 +0000 (21:15 +0300)]
freerdp: fix build with uClibc

Add upstream patch disabling use of C99 long double math functions (powl,
ceill, ...) that uClibc(-ng) don't have.

Fixes:
http://autobuild.buildroot.net/results/bda/bda53fffd4a0937fd4b2313cdf2d12ced95cc7a7/
http://autobuild.buildroot.net/results/d96/d9613c9f791157e1de3a34923f1c91b35cec693f/
http://autobuild.buildroot.net/results/bfd/bfd4ef86b257ee918e3c4463ebc5cf77694244a0/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/at: fix glibcism
Yann E. MORIN [Tue, 5 May 2015 17:57:48 +0000 (19:57 +0200)]
package/at: fix glibcism

at needs __isleap() which is in (e)glibc and uClibc, but not in musl.

Add a patch (from Open Embedded) that removes use of the macros, and
directly expands the corresponding code in lieu of the macro calls.

Fixes:
    http://autobuild.buildroot.org/results/6f2/6f25e80e8aedec91323ef9b67576b550d7abee60/
    http://autobuild.buildroot.org/results/da5/da5bb779f3077b079203fcbdb2533dd790963cd4/
    http://autobuild.buildroot.org/results/8a6/8a6ce608c6f46d08ed77049f796e98e6e10a1709/
    ...

Thanks to Jörg for pointing to the OE patch! :-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
Tested-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoipmiutil: force md2 off
Gustavo Zacarias [Tue, 5 May 2015 13:43:54 +0000 (10:43 -0300)]
ipmiutil: force md2 off

The configure test runs against LIB_DIR (which is --libdir in configure
parlay) hence it's against the distro openssl version.
On newish openssl versions md2 is disabled by default, and buildroot
doesn't try to enable it (it's obsolete), but if the distro
libcrypto/openssl has it enabled then ipmiutil tries to use it.

Force it off to avoid build breakage. Fixes:
http://autobuild.buildroot.net/results/cd2/cd2e617f8e2b00581ab5936029f85e62ed3259ba/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/neard: needs shared libs
Yann E. MORIN [Mon, 4 May 2015 22:12:27 +0000 (00:12 +0200)]
package/neard: needs shared libs

neard uses dlopen(), so needs shared libs.

Fixes:
    http://autobuild.buildroot.org/results/0a4/0a466cde55c5e128a2e201924f80f0ec6b8b5c2a/

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agowebsite/sponsors: fix typo
Yann E. MORIN [Mon, 4 May 2015 21:38:14 +0000 (23:38 +0200)]
website/sponsors: fix typo

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoRevert "qt: add QT_COORD_TYPE to double option"
Peter Korsgaard [Tue, 5 May 2015 15:06:35 +0000 (17:06 +0200)]
Revert "qt: add QT_COORD_TYPE to double option"

This reverts commit 7619aba496208102e098e24454371b9513ec2f90.

This change causes a number of build issues with poppler / pinentry /
python-pyqt and Qt itself on various architectures, so lets revert it for
now and rework it for the 2015.08 cycle.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoRevert "qt: QT_COORD_TYPE_DOUBLE should only be set on soft float"
Peter Korsgaard [Tue, 5 May 2015 15:06:13 +0000 (17:06 +0200)]
Revert "qt: QT_COORD_TYPE_DOUBLE should only be set on soft float"

This reverts commit e07ec136ee3dd4bf16b18571623ac57f99136faa.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodocs/website/news.html: add 2015.05-rc1 announcement link
Peter Korsgaard [Mon, 4 May 2015 20:39:48 +0000 (22:39 +0200)]
docs/website/news.html: add 2015.05-rc1 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoUpdate for 2015.05-rc1
Peter Korsgaard [Mon, 4 May 2015 19:25:41 +0000 (21:25 +0200)]
Update for 2015.05-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agowpa_supplicant: apply upstream security patches
Baruch Siach [Mon, 4 May 2015 18:04:40 +0000 (21:04 +0300)]
wpa_supplicant: apply upstream security patches

This commit adds patches for three different upstream security advisories. No
CVE numbers stated.

http://w1.fi/security/2015-2/wps-upnp-http-chunked-transfer-encoding.txt
http://w1.fi/security/2015-3/integer-underflow-in-ap-mode-wmm-action-frame.txt
http://w1.fi/security/2015-4/eap-pwd-missing-payload-length-validation.txt

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agohostapd: apply upstream security patches
Baruch Siach [Mon, 4 May 2015 18:04:39 +0000 (21:04 +0300)]
hostapd: apply upstream security patches

This commit adds patches for three different upstream security advisories. No
CVE numbers stated.

http://w1.fi/security/2015-2/wps-upnp-http-chunked-transfer-encoding.txt
http://w1.fi/security/2015-3/integer-underflow-in-ap-mode-wmm-action-frame.txt
http://w1.fi/security/2015-4/eap-pwd-missing-payload-length-validation.txt

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoCHANGES: document external-deps / legal-info / source / source-checks changes
Peter Korsgaard [Mon, 4 May 2015 18:44:02 +0000 (20:44 +0200)]
CHANGES: document external-deps / legal-info / source / source-checks changes

And fixup indentation for version/patch dependencies section.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosane-backends: unbreak on toolchains without threads support
Peter Korsgaard [Mon, 4 May 2015 17:11:09 +0000 (19:11 +0200)]
sane-backends: unbreak on toolchains without threads support

Fixes:
http://autobuild.buildroot.net/results/f2a/f2a43b62aa2a720c538fc60c80c78c8ed5b04dea/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovlc: ensure correct directfb-config is used
Peter Korsgaard [Mon, 4 May 2015 14:27:10 +0000 (16:27 +0200)]
vlc: ensure correct directfb-config is used

Otherwise we can end up using host includes/libraries if the build host has
directfb-config.

Fixes:
http://autobuild.buildroot.net/results/361/3612b54b0bbc2a55ba6f0febb7be32595b523d96/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotoolchain-external: mark musl based toolchains as experimental
Peter Korsgaard [Mon, 4 May 2015 14:01:37 +0000 (16:01 +0200)]
toolchain-external: mark musl based toolchains as experimental

Like we do for the internal musl backend. We still see a large number of
build failures with musl, so warn users about it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomanual: Add notes about GitHub and hashes
Maxime Hadjinlian [Sun, 3 May 2015 15:37:40 +0000 (17:37 +0200)]
manual: Add notes about GitHub and hashes

We can't take hashes from GitHub, unless the tarball has been uploaded by
the maintainer, otherwise it is generated and may change over time,
which renders hash files useless.

[Peter: slightly reword]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodocs/manual: also document md5 hash
Yann E. MORIN [Sun, 3 May 2015 15:37:39 +0000 (17:37 +0200)]
docs/manual: also document md5 hash

We accept an md5 hash, but only if coming from upstream, and if also
accompanied with a stronger hash.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoautotools-package: also handle pre-installed external toolchain in .la fixup
Arnout Vandecappelle [Sun, 3 May 2015 21:30:38 +0000 (23:30 +0200)]
autotools-package: also handle pre-installed external toolchain in .la fixup

The .la fixup handling looks for paths starting with /usr and assumes
that they are missing the installation prefix (i.e. $(STAGING_DIR)). It
already handles the cases that $(STAGING_DIR) itself and $(BASE_DIR)
are under /usr, but it does not yet handle the case that a
pre-installed external toolchain is under /usr (and tracks that fact
in some .la file). For instance, if you use buildroot to generate a
toolchain with HOST_DIR=/usr/local/some_path, this problem will occur.

Fix this in the same way as $(STAGING_DIR) and $(BASE_DIR), but in
addition check that TOOLCHAIN_EXTERNAL_INSTALL_DIR is non-empty. For
internal toolchains, it is empty and the sed expression would fail.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reported-by: Carlos Soto <csotoalonso@gmail.com>
Cc: Carlos Soto <csotoalonso@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agognutls: security bump to version 3.3.15
Gustavo Zacarias [Mon, 4 May 2015 10:49:30 +0000 (07:49 -0300)]
gnutls: security bump to version 3.3.15

Fixes:
GNUTLS-SA-2015-2 - Fix for MD5 downgrade in TLS 1.2 signatures.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobarebox: unbreak custom patch handling after 0eba4759 (packages: apply custom patches...
Peter Korsgaard [Mon, 4 May 2015 12:33:18 +0000 (14:33 +0200)]
barebox: unbreak custom patch handling after 0eba4759 (packages: apply custom patches using *.patch instead of <pkg>-*.patch)

The commit accidently dropped the continuation character (\), breaking the logic.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobarebox: bump to version 2015.04.0 and add hash file
Fabio Porcedda [Mon, 4 May 2015 06:43:38 +0000 (08:43 +0200)]
barebox: bump to version 2015.04.0 and add hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoCHANGES: Update with recent changes
Peter Korsgaard [Sun, 3 May 2015 21:49:42 +0000 (23:49 +0200)]
CHANGES: Update with recent changes

And list major additions in 2015.05.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinknx: needs argp-standalone on uClibc
Peter Korsgaard [Sun, 3 May 2015 21:15:05 +0000 (23:15 +0200)]
linknx: needs argp-standalone on uClibc

Fixes:
http://autobuild.buildroot.net/results/b27/b27c4b0822494fb393a5e28b8febd063222bd83f/
http://autobuild.buildroot.net/results/9db/9db2cc9fe6ddfda5663251872fdba00998020fce/
http://autobuild.buildroot.net/results/465/465328d0aa6b5f4b36903e2a4bc41d4ddd343db8/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibfreeimage: disable on ARC and Blackfin
Thomas Petazzoni [Sun, 3 May 2015 12:37:50 +0000 (14:37 +0200)]
libfreeimage: disable on ARC and Blackfin

libfreeimage fails to build on ARC, due to compiler issues:

  Error: invalid register number `63'

This should probably be fixed at the compiler level.

It also fails to build on Blackfin, due to numerous libfreeimage
issues:

  1/ Missing LL suffixes in Source/OpenEXR/IlmImf/ImfFastHuf.cpp. This
     can be fixed by backporting upstream OpenEXR commit
     https://github.com/openexr/openexr/commit/57ecf581d053f5cacf2e8fc3c024490e0bbe536f.patch.

  2/ Invalid characters in libraw_x3f.cpp. This can be fixed by
     applying dos2unix on the file.

  3/ Usage of too long constants in an unsigned long in
     dcraw_common.cpp, in code like "id == 0x4434303430" where id is
     an "unsigned long" i.e 32 bits on 32 bits platform.

Due to (3) being apparently unsolved upstream, and causing a build
error on Blackfin, we disable libfreeimage on this
architecture. However, this code seems so broken that making
libfreeimage as entirely broken would maybe be a better option.

Fixes:

  http://autobuild.buildroot.org/results/b33/b3372581c82786cc0a87f8cc2e78f047cc079255/ (ARC issue)
  http://autobuild.buildroot.org/results/f3b/f3bd6be448cffed3caae7850233168e6d0f6a5bd/ (Blackfin issue)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibfreeimage: add patch to fix x86 build problem
Thomas Petazzoni [Sun, 3 May 2015 12:37:49 +0000 (14:37 +0200)]
libfreeimage: add patch to fix x86 build problem

Add a patch to fix an x86 build problem caused by invalid register
usage when -fPIC is used.

Fixes:

  http://autobuild.buildroot.org/results/fe7/fe72243a84a91b68ef3138847294674b36f16c58/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogdb: disable on Blackfin
Thomas Petazzoni [Sun, 3 May 2015 14:28:34 +0000 (16:28 +0200)]
gdb: disable on Blackfin

gdbserver does not build on Blackfin FLAT (undefined reference to
`_td_thr_tlsbase') and while it builds on Blackfin FDPIC, it's pretty
unlikely that it is going to work properly with the cross-gdb provided
by the Analog Devices toolchain: the Analog Devices toolchain provides
a 6.6 cross-gdb, while we use gdb 7.8.2 for gdbserver.

Therefore, let's simply disable gdb completely for Blackfin.

Fixes:

  http://autobuild.buildroot.org/results/2e5/2e5310d0e869f036ec70b978c62c7bd9d3d2bd70/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libatomic_ops: bump version to 7.4.2
Bernd Kuhls [Sat, 2 May 2015 21:53:25 +0000 (23:53 +0200)]
package/libatomic_ops: bump version to 7.4.2

Also add project URL to Config.in

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibcurl: use c-ares if available
John Keeping [Sat, 2 May 2015 10:58:18 +0000 (11:58 +0100)]
libcurl: use c-ares if available

By default libcurl uses the C library's DNS resolver which is
synchronous, even if an application is using libcurl's non-blocking mode
of operation.

Configure libcurl to use c-ares if it is selected so that it can resolve
addresses asynchronously if required.

[Peter: explicitly disable c-ares support if not enabled]
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/argp-standalone: is useless for (e)glibc toolchains
Romain Naour [Sat, 2 May 2015 10:28:06 +0000 (12:28 +0200)]
package/argp-standalone: is useless for (e)glibc toolchains

According to Thomas's remark [1], (e)glibc toolchains provide it's
own argp.h version.
Also, it appears that argp.h from glibc is more up to date should
be preferred to argp-standalone one.

[1] http://lists.busybox.net/pipermail/buildroot/2015-May/127511.html

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopoppler: help finding libtiff in static linking scenarios
Thomas Petazzoni [Sun, 3 May 2015 13:41:13 +0000 (15:41 +0200)]
poppler: help finding libtiff in static linking scenarios

In static linking scenarios, poppler doesn't find libtiff because it
doesn't use pkg-config, so it doesn't know which additional libraries
it should link with to test the availability of libtiff. We help
poppler in this work by passing a LIBTIFF_LIBS variable, resulting for
a pkg-config invocation.

Also, since poppler uses pkg-config, we make this dependency explicit
in this patch, even though it was already carried by the fontconfig
dependency.

Fixes:

  http://autobuild.buildroot.org/results/be7/be78957dd852233c81bd364ddf664564ce8f0208/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopoppler: add patch to fix invalid syntax in configure script
Thomas Petazzoni [Sun, 3 May 2015 13:41:12 +0000 (15:41 +0200)]
poppler: add patch to fix invalid syntax in configure script

When configuring poppler, a shell error occurs:

./configure: line 19741: test: x: unary operator expected

This is due to an invalid configure test, which is fixed by a newly
added patch. We patch the configure script directly because poppler
doesn't autoreconf properly. A patch on configure.ac has been
submitted upstream so that hopefully we can drop our patch in a future
release of poppler.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agocc-tool: fix missing stdarg.h include on uClibc
Thomas Petazzoni [Sun, 3 May 2015 13:08:59 +0000 (15:08 +0200)]
cc-tool: fix missing stdarg.h include on uClibc

This commit adds a patch to fix a missing <stdarg.h> include for
va_list.

Fixes:

  http://autobuild.buildroot.org/results/9c8/9c828b1da8983577f93bdfae5275fc5122ae874f/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosh4: fix toolchain creation
Waldemar Brodkorb [Wed, 8 Apr 2015 08:54:55 +0000 (10:54 +0200)]
sh4: fix toolchain creation

The Linux kernel does force compile with -m4-nofpu, which is only
available when building a multilib toolchain.
The interesting part here is, that buildroot use --disable-multilib for
gcc configure, but enables --with-multilib-list=m4,m4-nofpu in
the default configuration for Qemu targeting r2d emulation.
This results in a toolchain, which can be used for the kernel and
for userland without creating a multilib toolchain with different
kinds of libgcc version. In the multilib case there would be
subdirectories created (!m4 and m4-nofpu). As buildroot uses a
short version of toolchain creation, a multilib enabled gcc build
fails when creating libgcc.

So the best solution is to just keep multilib disabled, but always
add --with-multilib-list when sh4/sh4eb/sh4a/sh4aeb is choosen.

Tested with sh4/sh4a toolchain build and qemu defconfig with
gcc 4.8.x/4.9.x (with and without C++ enabled), uClibc and glibc.

Disable sh4a/sh4aeb for uClibc, as it does not implemented, yet.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 (ARM and SH4 uClibc toolchain builds)

9 years agobcusdk: needs argp-standalone on uClibc
Peter Korsgaard [Sun, 3 May 2015 11:33:02 +0000 (13:33 +0200)]
bcusdk: needs argp-standalone on uClibc

Fixes:
http://autobuild.buildroot.net/results/181/181f12d3a46ef10113ab47f75ccf57cfc1b6210f/
http://autobuild.buildroot.net/results/25c/25cb21dd5a0dad318c498fcf7a889ae2ce93c697/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibecore: x-includes and x-libraries must be set for cross-compiling
Thomas Petazzoni [Sun, 3 May 2015 09:44:41 +0000 (11:44 +0200)]
libecore: x-includes and x-libraries must be set for cross-compiling

If those flags are not explicitly passed, the libecore configure
script will include -I/usr/X11R6/include and -L/usr/X11R6/lib in the
compile flags, which are obviously unsafe for cross-compilation.

The fix is similar to "package/efl/libevas: x-includes and x-libraries
must be set for cross-compiling" done by Romain Naour on libecore.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/efl/libevas: x-includes and x-libraries must be set for cross-compiling
Romain Naour [Sat, 2 May 2015 20:16:36 +0000 (22:16 +0200)]
package/efl/libevas: x-includes and x-libraries must be set for cross-compiling

evas_engine_software_xlib_cflags and evas_engine_software_xlib_libs
contains unsafe libraries paths if x-include and x-libraries are
not set in libevas.mk.

config.log:
evas_engine_software_xlib_cflags='-I/usr/X11R6/include'
evas_engine_software_xlib_libs='-L/usr/X11R6/lib -lX11 -lXext'

Fixes:
http://autobuild.buildroot.net/results/e5f/e5fb1e62cb634b20233751b4ea3b0630de70e9e0/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocc-tool: new package
Marcin Bis [Sat, 2 May 2015 19:03:33 +0000 (21:03 +0200)]
cc-tool: new package

cc-tool provides support for Texas Instruments CC Debugger

Signed-off-by: Marcin Bis <marcin@bis.org.pl>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 [Arnout: avoid adding /usr/local to library path]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosdl_sound: add patch to remove -Werror when --enable-debug is passed
Thomas Petazzoni [Sat, 2 May 2015 18:09:52 +0000 (20:09 +0200)]
sdl_sound: add patch to remove -Werror when --enable-debug is passed

Fixes:

  http://autobuild.buildroot.org/results/37d/37d0ae47902c5fa6f749e8b832f31924ad03b7af/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agophp.ini: set date.timezone
Floris Bos [Sat, 2 May 2015 15:10:15 +0000 (17:10 +0200)]
php.ini: set date.timezone

Set date.timezone in php.ini to match time zone settings.
Prevents a warning being logged about it not being set
each time a PHP date/time method is used.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorpi-firmware: modify settings for Pi 2
Floris Bos [Sat, 2 May 2015 15:10:14 +0000 (17:10 +0200)]
rpi-firmware: modify settings for Pi 2

Remove low-level settings from config.txt like arm_freq and sdram_freq.
The defaults should be good for most and differ by Pi model.
E.g. the Pi 2 runs at 900 Mhz by default, setting arm_freq=700
like we had previously would underclock it.

Add short description in comments to options.
Mention initramfs option.

Remove obsolete options from cmdline.txt

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/vlc: Fix strerror_l related compile error
Bernd Kuhls [Sat, 2 May 2015 15:13:54 +0000 (17:13 +0200)]
package/vlc: Fix strerror_l related compile error

strerror_l is not implemented by uClibc.

Fixes
http://autobuild.buildroot.net/results/ae3/ae31f4585d2c2f850473c446f1ccfba7699c711b/
http://autobuild.buildroot.net/results/504/504cf78a08315e2fc6eaeb9a29ae791972753830/
http://autobuild.buildroot.net/results/092/09280c5d63da9b8b58916c32e6040a98f7ff0ee8/
http://autobuild.buildroot.net/results/da6/da62d97ea060ce03db94f59a91d84a235d03e8f0/
http://autobuild.buildroot.net/results/7a4/7a40f66b3be8cd71a27df04415c4851cd4426cc3/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mono: bump to version 4.0.1
Angelo Compagnucci [Thu, 30 Apr 2015 14:03:15 +0000 (16:03 +0200)]
package/mono: bump to version 4.0.1

This patch:

* bumps mono version to 4.0.1.
* Removes no more needed patches included upstream
* Removes profile switches no more present in configure

[Thomas:
  - add Config.in.legacy handling for the removed options.
  - remove the select that ensured at least one of the .Net runtime
    version was enabled.]

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/monolite: bump to version 117
Angelo Compagnucci [Thu, 30 Apr 2015 14:03:14 +0000 (16:03 +0200)]
package/monolite: bump to version 117

This bump is required for proper compiling mono 4.0.1.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: do not check hashes for custom versions and tarballs
Yann E. MORIN [Sat, 2 May 2015 09:05:06 +0000 (11:05 +0200)]
linux: do not check hashes for custom versions and tarballs

This one is a bit tricky, as the version can come from the linux-headers
package, so we must also account for that.

We currently have no hash file for linux, but better do the change now,
which allows us to later add a hash file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/xenomai: add hash file
Yann E. MORIN [Sat, 2 May 2015 09:05:05 +0000 (11:05 +0200)]
package/xenomai: add hash file

Now that custom versions are properly excluded from the list, we can add
a hash for the version we package.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/xenomai: ignore custom versions
Yann E. MORIN [Sat, 2 May 2015 09:05:04 +0000 (11:05 +0200)]
package/xenomai: ignore custom versions

We can safely reference XENOMAI_SOURCE, even though it is defined later,
because BR_NO_CHECK_HASH_FOR is a recursively-expanded variable, so its
content is only evaluated when the variable is referenced.

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>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/mxs-bootlets: do not check hash of custom tarball
Yann E. MORIN [Sat, 2 May 2015 09:05:03 +0000 (11:05 +0200)]
boot/mxs-bootlets: do not check hash of custom tarball

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/barebox: do not check hash for custom versions
Yann E. MORIN [Sat, 2 May 2015 09:05:02 +0000 (11:05 +0200)]
boot/barebox: do not check hash for custom versions

As we recently did for U-Boot, disable checking hashes for custom
versions of barebox.

Note that we currently have no hash file for barebox, but avoiding the
check will already be in place when we do add it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/uboot: do not check hash for custom versions
Yann E. MORIN [Sat, 2 May 2015 09:05:01 +0000 (11:05 +0200)]
boot/uboot: do not check hash for custom versions

For custom tarballs, it's quite obvious we can not check hashes.

For custom versions, that's not so obvious. One might think we could
have hashes for all the official releases, but that's not possible: if
the user uses a released version of Buildroot (say 2015.05) much later
in the future, and wants to use the then-released 2038.02 U-Boot. It now
seems pretty obvious that Buildroot 2015.02 can't know the hash for
U-Boot 2038.02.

So, disable checking the hash for custom tarballs and custom versions.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Vincent Stehle <vincent.stehle@laposte.net>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-infra: assign BR_NO_CHECK_HASH_FOR so it is recursively-expanded
Yann E. MORIN [Sat, 2 May 2015 09:05:00 +0000 (11:05 +0200)]
pkg-infra: assign BR_NO_CHECK_HASH_FOR so it is recursively-expanded

Currently, assigning to BR_NO_CHECK_HASH_FOR but referencing variable
assigned to later, fails. Here's a failing test-case, which is the
reduced test-case of how we handle BR_NO_CHECK_HASH_FOR for now (warning
added for test-case):

    export BR_NO_CHECK_HASH_FOR
    BR_NO_CHECK_HASH_FOR += $(XENOMAI_SOURCE)
    XENOMAI_VERSION = 2.6.4
    XENOMAI_SOURCE = xenomai-$(XENOMAI_VERSION).tar.bz2
    $(warning BR_NO_CHECK_HASH_FOR='$(BR_NO_CHECK_HASH_FOR)')
    all:

Run it with simply make:

    $ make
    BR_NO_CHECK_HASH_FOR=' '

Now, change the first line to read:

    export BR_NO_CHECK_HASH_FOR =

And we now get:

    $ make
    BR_NO_CHECK_HASH_FOR=' xenomai-2.6.4.tar.bz2'

This new behaviour will be needed later for Xenomai, which handles the
version string in an unusual way, so we can exclude its custom versions.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libpthsem: remove argp-standalone dependency
Romain Naour [Sat, 2 May 2015 10:28:05 +0000 (12:28 +0200)]
package/libpthsem: remove argp-standalone dependency

argp-standalone provide libargp.a and argp.h which are
never used in libpthsem.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoimx-usb-loader: cleanup
Peter Korsgaard [Sat, 2 May 2015 11:14:29 +0000 (13:14 +0200)]
imx-usb-loader: cleanup

HOST_CONFIGURE_OPTS is a superset of HOST_MAKE_ENV, so there is no need to
pass them both.  Also use HOST_CONFIGURE_OPTS for the install step for
consistency, and finally, add host-pkgconf to _DEPENDENCIES as it is
explicitly used (currently gets pulled in by host-libusb though).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoimx-usb-loader: fix build issue
Thomas Petazzoni [Sat, 2 May 2015 11:11:41 +0000 (13:11 +0200)]
imx-usb-loader: fix build issue

host-imx-usb-loader uses pkg-config to find libusb-1.0, but since it's
a host package, pkg-config needs to be passed the appropriate
environment variables, which are in $(HOST_CONFIGURE_OPTS). Therefore,
we now pass $(HOST_CONFIGURE_OPTS) in the environment when building
host-imx-usb-loader.

Fixes:

  http://autobuild.buildroot.org/results/fba/fba11afe003c512ed5c529c417f3a0feb920b0ed/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosquid: security bump to version 3.5.4
Gustavo Zacarias [Sat, 2 May 2015 09:42:42 +0000 (06:42 -0300)]
squid: security bump to version 3.5.4

Fixes:
CVE-2015-3455 - Incorrect X509 server certificate validation

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agonetwork-manager: remove redundant dependencies
Arnout Vandecappelle [Sat, 2 May 2015 08:38:38 +0000 (10:38 +0200)]
network-manager: remove redundant dependencies

Now network-manager depends on glibc, there is no need anymore for the
wchar and threads dependencies (implied by glibc). So remove them.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agonetwork-manager: needs (e)glibc
Peter Korsgaard [Sat, 2 May 2015 08:04:44 +0000 (10:04 +0200)]
network-manager: needs (e)glibc

Fixes:
http://autobuild.buildroot.net/results/1cc/1ccd21cf2ae58ecac75a4cba393b7be4d2e43e5d/
http://autobuild.buildroot.net/results/718/718fc0eb28fc056ac83352547fe92313b33c3d59/
http://autobuild.buildroot.net/results/704/704bff70b73e77f552dc6b91732afefd846a1f50/
http://autobuild.buildroot.net/results/1ee/1eef17a793d151eb140d3364fbb8020e53eec10f/

And many more.

With the recent inclusion of systemd-dhcp, network-manager no longer builds
on uClibc/musl as it uses:

- CLOCK_BOOTTIME (not available in uClibc 0.9.33.2)
- IPTOS_CLASS_* (not available in uClibc/musl)
- Uses locale functionality (may not be available in uClibc)

Now, patches could be written to make these things optional, but systemd is
historically not known to be receptive of such kind of patches (and NM wants
to be able to sync with systemd with minimal effort, so is not interested in
diverging from upstream), and NM is big / has lots of dependencies so just
mark it (e)glibc-only like systemd.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoimx-usb-loader: new host package
Antoine Ténart [Fri, 1 May 2015 16:15:40 +0000 (18:15 +0200)]
imx-usb-loader: new host package

This host package allows to build tools to download and execute code on
Freescale i.MX5/i.MX6 and Vybrid SoCs through the Serial Download
Protocol.

The work behind this commit was funded by ECA Group
<http://www.ecagroup.com>. ECA Group is the copyright owner of the
contributed code.

Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agophp: fpm sapi: install php-fpm.conf
Floris Bos [Fri, 1 May 2015 18:12:34 +0000 (20:12 +0200)]
php: fpm sapi: install php-fpm.conf

Install a custom php-fpm.conf instead of the stock one.

- Listening on /var/run/php-fpm.sock instead of TCP port so we can
  restrict access to webserver user www-data.
- Using ondemand pm, so PHP children are only started after a PHP
  request, instead of kept resident all the time.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agophp: fpm sapi: install startup script
Floris Bos [Fri, 1 May 2015 18:12:33 +0000 (20:12 +0200)]
php: fpm sapi: install startup script

Install the startup script if using the FastCGI Process Manager.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboa: add patch to fix musl build issue
Thomas Petazzoni [Sat, 2 May 2015 07:41:35 +0000 (09:41 +0200)]
boa: add patch to fix musl build issue

Fixes:

  http://autobuild.buildroot.org/results/76a/76a8d5750c30321825acaa2fc3ce9d73a1c87bc7/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython: needs dynamic library support
Peter Korsgaard [Sat, 2 May 2015 07:37:12 +0000 (09:37 +0200)]
python: needs dynamic library support

Fixes:
http://autobuild.buildroot.net/results/7a0/7a044d5c8bf7526fcf4f0ec80a2b9b18d1f632a1/
http://autobuild.buildroot.net/results/27f/27ff12127dee3b1a8df86ef8b05681d695b2cac8/
http://autobuild.buildroot.net/results/7ce/7ce78169b661dcd6c04dc3ee5b1877c0de09f91d/
http://autobuild.buildroot.net/results/e58/e583583bc0ba4aff84d896fb7e6caf4793e03eb9/

And many more.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython: move toolchain comment above main option
Peter Korsgaard [Sat, 2 May 2015 07:35:16 +0000 (09:35 +0200)]
python: move toolchain comment above main option

So suboptions are correctly indented.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibcap-ng: add patch to fix musl build
Thomas Petazzoni [Sat, 2 May 2015 07:32:38 +0000 (09:32 +0200)]
libcap-ng: add patch to fix musl build

Fixes:

  http://autobuild.buildroot.org/results/98c/98c296d8bd717f4419fc6010dc9c92df3027a9f0/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-pyxml: fix <pkg>_LICENSE_FILES
Thomas Petazzoni [Sat, 2 May 2015 07:11:28 +0000 (09:11 +0200)]
python-pyxml: fix <pkg>_LICENSE_FILES

Fixes:

  http://autobuild.buildroot.org/results/972/9727fdeccc6df40c791f8ab31a606e0a8caedb87/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ola: fix autoreconf issue for host-ola
Romain Naour [Sat, 2 May 2015 00:14:51 +0000 (02:14 +0200)]
package/ola: fix autoreconf issue for host-ola

CXX variable is overwritten with an empy value when
host-autoconf-archive package has been installed before
host-ola.

config.log:
configure:19965:  -o conftest -O2 [snip -I and -L] conftest.cpp  -ldl

Fixes:
http://autobuild.buildroot.net/results/8fa/8fa0a64422a96023a926412a033d9a4f01af5a71/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodoc/manual: fix generating manual after legacy overhaul
Yann E. MORIN [Fri, 1 May 2015 16:35:34 +0000 (18:35 +0200)]
doc/manual: fix generating manual after legacy overhaul

Commit 53903a15 (*config: improve handling of BR2_LEGACY) added an
option to entirely skip legacy entries, by passing a variable in the
environment.

However, it missed one location where that variable is also needed,
which is generating the list of packages and deprecated features for
inclusion in the manual.

Fix that by re-using the global $(COMMON_CONFIG_ENV) variable,
overriding just what we don't want (i.e. br2-external location and
defconfig path).

Also, slightly re-order variables so the ones we override come right
after the common settings, moving the specific ones at the end, one
variable per line.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/wvstreams: add argp-standalone as optional dependency
Romain Naour [Fri, 1 May 2015 16:44:46 +0000 (18:44 +0200)]
package/wvstreams: add argp-standalone as optional dependency

This ensures the build reproducibility.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqmx6_defconfig: update
Jérôme Pouiller [Thu, 30 Apr 2015 15:12:28 +0000 (17:12 +0200)]
qmx6_defconfig: update

- Update kernel
- Add u-boot configuration
- 6q_bootscript.txt is no more needed by new version of u-boot

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
[build test only]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofreescale_imx6*_defconfig: bump kernel to 3.10.17_1.0.1_ga
Jérôme Pouiller [Thu, 30 Apr 2015 15:12:27 +0000 (17:12 +0200)]
freescale_imx6*_defconfig: bump kernel to 3.10.17_1.0.1_ga

Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonitrogen6x_defconfig: bump kernel to 3.10.17_1.0.1_ga
Jérôme Pouiller [Thu, 30 Apr 2015 15:12:26 +0000 (17:12 +0200)]
nitrogen6x_defconfig: bump kernel to 3.10.17_1.0.1_ga

Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoVivante drivers: bump to version 3.10.17-1.0.1
Jérôme Pouiller [Thu, 30 Apr 2015 15:12:25 +0000 (17:12 +0200)]
Vivante drivers: bump to version 3.10.17-1.0.1

Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt5base: fix "Unable to find an X11 visual" error
Jérôme Pouiller [Thu, 30 Apr 2015 15:12:24 +0000 (17:12 +0200)]
qt5base: fix "Unable to find an X11 visual" error

Fix "Unable to find an X11 visual" bug that produce at runtime with Vivante
drivers. Add a conditionnal patch and add variable QT5BASE_EXTRA_CFLAGS in
order to enable workaround.

This patch is actually an improvement over the fix available in Yocto:
https://github.com/Freescale/meta-fsl-arm/blob/dizzy/qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch

[Thomas:
 - Add SoB from Jérôme Pouiller inside the patch imported from Yocto.
 - Add a space between $(TARGET_CFLAGS) and $(QT5BASE_EXTRA_CFLAGS),
   and ditto for CXXFLAGS.
 - Merge the QT5BASE_EXTRA_CFLAGS into an existing
   BR2_PACKAGE_GPU_VIV_BIN_MX6Q conditional.]

Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt5base: fix compilation with Vivante headers.
Jérôme Pouiller [Thu, 30 Apr 2015 15:12:23 +0000 (17:12 +0200)]
qt5base: fix compilation with Vivante headers.

Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxdriver_xf86-video-imx-viv: new package
Jérôme Pouiller [Thu, 30 Apr 2015 15:12:22 +0000 (17:12 +0200)]
xdriver_xf86-video-imx-viv: new package

Xorg driver for imx6. Inspired from Yocto project.

I did not find any problem, but notice Yocto project force Xorg xserver
1.14.4 while we use 1.16.

Notice Vivante driver should be able to provide Desktop OpenGL implementation.
However, this feature seems broken for a while[1]. Yocto use Mesa3D/swraster
to provide Desktop OpenGL API[2].

[1] http://comments.gmane.org/gmane.linux.embedded.yocto.meta-freescale/8253
[2] See recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_3.10.17-1.0.1.bb
    in meta-fsl-arm layer

Tested with:
    subsequent qt5base and libdrm fixes +
    QMX6 board +
    BR2_ARM_EABIHF= both tested
    BR2_ARM_ENABLE_NEON=y
    BR2_ARM_FPU_NEON=y
    BR2_TOOLCHAIN_EXTERNAL=y
    BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
    BR2_TARGET_GENERIC_GETTY_PORT="ttymxc1"
    BR2_LINUX_KERNEL=y
    BR2_LINUX_KERNEL_CUSTOM_GIT=y
    BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://git.congatec.com/arm/qmx6_kernel.git"
    BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9bafbcba67f7bb2a48a5e05998cecb1165aa444f"
    BR2_LINUX_KERNEL_DEFCONFIG="qmx6"
    BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
    BR2_LINUX_KERNEL_DTS_SUPPORT=y
    BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-qmx6"
    BR2_PACKAGE_QT5=y
    BR2_PACKAGE_QT5BASE_LICENSE_APPROVED=y
    BR2_PACKAGE_QT5BASE_EXAMPLES=y
    BR2_PACKAGE_QT5BASE_OPENGL_ES2=y
    BR2_PACKAGE_QT5BASE_OPENGL_LIB=y
    BR2_PACKAGE_QT5BASE_XCB=y
    BR2_PACKAGE_QT5BASE_DEFAULT_QPA="xcb"
    BR2_PACKAGE_QT5BASE_GIF=y
    BR2_PACKAGE_QT5BASE_JPEG=y
    BR2_PACKAGE_QT5BASE_PNG=y
    BR2_PACKAGE_QT5QUICKCONTROLS=y
    BR2_PACKAGE_XORG7=y
    BR2_PACKAGE_XSERVER_XORG_SERVER=y
    BR2_PACKAGE_XSERVER_XORG_SERVER_MODULAR=y
    BR2_PACKAGE_XDRIVER_XF86_INPUT_EVDEV=y
    BR2_PACKAGE_XDRIVER_XF86_VIDEO_IMX_VIV=y
    BR2_PACKAGE_FREESCALE_IMX=y
    BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q=y
    BR2_PACKAGE_GPU_VIV_BIN_MX6Q=y
    BR2_PACKAGE_GPU_VIV_BIN_MX6Q_EXAMPLES=y

[Thomas:
  - license is GPLv2+ and not GPLv2
  - use full destination path when using $(INSTALL), and use -D option.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
merge

9 years agogpu-viv-bin-mx6q: change output selection mechanism
Jérôme Pouiller [Thu, 30 Apr 2015 15:12:21 +0000 (17:12 +0200)]
gpu-viv-bin-mx6q: change output selection mechanism

Move output selection to Config.in. It easier to add new backends selection
(wayland, directfb, ...).

Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogpu-viv-bin-mx6q: add version in libraries symlinks
Jérôme Pouiller [Thu, 30 Apr 2015 15:12:20 +0000 (17:12 +0200)]
gpu-viv-bin-mx6q: add version in libraries symlinks

Create libraries symbolic links with version numbers.

This now matches what is done in Yocto:
https://github.com/Freescale/meta-fsl-arm/blob/dizzy/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc#L165

Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogpu-viv-bin-mx6q: remove useless build time deps
Jérôme Pouiller [Thu, 30 Apr 2015 15:12:19 +0000 (17:12 +0200)]
gpu-viv-bin-mx6q: remove useless build time deps

Since gpu-viv-bin-mx6q is provided as binary package, there is no build
time dependencies.

Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogpu-viv-bin-mx6q: make fb/x11 choice explicit
Jérôme Pouiller [Thu, 30 Apr 2015 15:12:18 +0000 (17:12 +0200)]
gpu-viv-bin-mx6q: make fb/x11 choice explicit

This approach is less error-prone during development.

Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogpu-viv-bin-mx6q: fix compiling issues with EGL_API_FB
Jérôme Pouiller [Thu, 30 Apr 2015 15:12:17 +0000 (17:12 +0200)]
gpu-viv-bin-mx6q: fix compiling issues with EGL_API_FB

To compile with Vivante header and use framebuffer, it is necessary to
pass option -DEGL_API_FB. This option is declared in pkg-config file of
Vivante library. But many packages (especialy qt5 components) does not
consider these flags.

So instead of patching every packages that use EGL, it is more
convenient to patch Vivante headers.

This commit add #define EGL_API_FB on top of eglvivante.h when
necessary.

[Thomas: fix syntax error.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomesa3d: Give possibility to external backends to enable DRI/Gallium
Jérôme Pouiller [Thu, 30 Apr 2015 15:12:16 +0000 (17:12 +0200)]
mesa3d: Give possibility to external backends to enable DRI/Gallium

Thus, it is possible to force compilation of Gallium/DRI support in
mesa3d even if no Gallium/DRI drivers are selected. This is intended to
be used by external OpenGL provider (especialy further imx6 support).

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain-external: remove non-existent mips-sf musl toolchains
Arnout Vandecappelle [Fri, 1 May 2015 16:19:43 +0000 (18:19 +0200)]
toolchain-external: remove non-existent mips-sf musl toolchains

Since 1.1.6, the mips softfloat toolchains are merged into the mips
toolchain using multilib. Our external toolchain infrastructure copies
the correct version to the target depending on the BR2_SOFT_FLOAT
option.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotoolchain-external: add hashes for musl toolchains
Arnout Vandecappelle [Fri, 1 May 2015 16:19:42 +0000 (18:19 +0200)]
toolchain-external: add hashes for musl toolchains

Add hashes for all musl toolchains, including the ones that we
currently don't support (arm hf, sh4, x86_64-x32).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>