buildroot.git
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>
9 years agopython-pyxml: new package
Clayton Shotwell [Fri, 1 May 2015 16:01:24 +0000 (18:01 +0200)]
python-pyxml: new package

It always uses its own copy of pyexpat, but we can at least make it use
buildroot's expat.so.

[Peter: select expat]
Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agophp: readline needs dynamic library
Gustavo Zacarias [Fri, 1 May 2015 15:48:29 +0000 (12:48 -0300)]
php: readline needs dynamic library

Fixes:
http://autobuild.buildroot.net/results/604/604995ecf88e97976cbb9e4257ce85df66934ff3/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotoolchain-external: fix rebuild/reinstall for Linaro toolchains
Thomas Petazzoni [Wed, 29 Apr 2015 10:28:19 +0000 (12:28 +0200)]
toolchain-external: fix rebuild/reinstall for Linaro toolchains

For Linaro toolchains, a special post install staging hook is used to
create two symlinks needed for the dynamic loader to find the
libraries. However, the way the link is created prevents a 'make
toolchain-external-reinstall' from succeeding, because the symlink
already exists and points to a directory:

ln -sf . /home/thomas/projets/outputs/training/target/lib/arm-linux-gnueabihf
ln: '/home/thomas/projets/outputs/training/target/lib/arm-linux-gnueabihf/.': cannot overwrite directory

This commit adjust the hook to pass the '-n' option so that the link
name is treated as a normal file if it is a symbolic link to a
directory.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
9 years agoleveldb: disable for blackfin
Gustavo Zacarias [Fri, 1 May 2015 13:57:34 +0000 (10:57 -0300)]
leveldb: disable for blackfin

Fixes:
http://autobuild.buildroot.net/results/f79/f7930231cadeef7ccb0df6acf41b62c2c6fd1e02/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosane-backends: bump to version 1.0.24
Gustavo Zacarias [Fri, 1 May 2015 13:40:47 +0000 (10:40 -0300)]
sane-backends: bump to version 1.0.24

Bump sane-backends to a "modern" 1.0.24 version.
Tweak the patches to avoid autoreconf (it doesn't seem to be happy for
me in gentoo).
Disable cups support (checks are wrong and it's no longer required).
Disable systemd support (checks are wrong and we never accounted for
this).

Should fix wine failure (i was unable to build sane-backends before):
http://autobuild.buildroot.net/results/d01/d01a3c7786df8cfd962a27f39283851db45c6165/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowine: fix alsa-related build error
Gustavo Zacarias [Fri, 1 May 2015 13:40:28 +0000 (10:40 -0300)]
wine: fix alsa-related build error

The fix from 81230a5b3a27e315f0ba1334d7ab257812b7ab69 is incomplete.
BR2_PACKAGE_ALSA_LIB_RAWMIDI is required as well. Fixes:
http://autobuild.buildroot.org/results/018/018391c5e70d33bc0b5745ad7a2a273efa9be0d7/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowine: fix build breakage with ncursesw
Gustavo Zacarias [Fri, 1 May 2015 12:37:19 +0000 (09:37 -0300)]
wine: fix build breakage with ncursesw

The configure script doesn't detect ncursesw at all hence breaks the
build. Backport a patch from upstream for this. Fixes:
http://autobuild.buildroot.net/results/426/42669ca3b7215765a59a85c53ed724cbff79384e/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogptfdisk: reinstate ldlibs support patch
Gustavo Zacarias [Fri, 1 May 2015 11:49:16 +0000 (08:49 -0300)]
gptfdisk: reinstate ldlibs support patch

I removed that in fac3042cc53a9aff87cb047f55a12d23c9973f4d because the
ICU part was no longer required.
However the LDLIBS part is for static builds and should have been a
separate patch to avoid confusion. Fixes:
http://autobuild.buildroot.net/results/a90/a9092d01a71e2d799e5b7b3afb9fd3e304370d0c/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoargp-standalone: fix build issue caused by UCHAR_MAX definition
Thomas Petazzoni [Fri, 1 May 2015 14:19:03 +0000 (16:19 +0200)]
argp-standalone: fix build issue caused by UCHAR_MAX definition

The issue was simply that the patch from Max Filippov forgot to
include <limits.h> to get the definition of UCHAR_MAX.

Fixes:

  http://autobuild.buildroot.org/results/bd1/bd120ada4830fda3db96da945513d4f6f7b2d419/

and lots of similar build failures.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agojson-c: add patch to make sure the library is linked against libm when needed
Thomas Petazzoni [Fri, 1 May 2015 10:59:37 +0000 (12:59 +0200)]
json-c: add patch to make sure the library is linked against libm when needed

On uClibc, a number of symbols such as isnan() are in libm and not
libc, so we might need to link against libm. This commit adds a patch
to json-c that does this.

Fixes:

  http://autobuild.buildroot.net/results/94d/94dd7f38ae105e7cd2f342d718e27a65edcf3a3d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoRevert "package/boost: bump to version 1.58.0"
Thomas Petazzoni [Fri, 1 May 2015 09:32:34 +0000 (11:32 +0200)]
Revert "package/boost: bump to version 1.58.0"

This reverts commit 25655021fb66f58afe4966face0afdda1e7be65a.

Boost 1.58.0 breaks the build, trying to pass -m32 to compilers that
do not support it:

  http://autobuild.buildroot.org/results/66c/66c3a868816dfe4bd4d0ffafec6988fd87a2c058/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain-external: mark Synopsys toolchain as broken
Thomas Petazzoni [Fri, 1 May 2015 09:13:54 +0000 (11:13 +0200)]
toolchain-external: mark Synopsys toolchain as broken

This uClibc toolchain does not provide an appropriate uClibc
configuration for Buildroot: missing IPv6, missing nsl stub, missing
program invocation, etc. Therefore, we mark it as broken, waiting for
a new upstream release of a new toolchain.

We keep around the toolchain-external Synopsys code anyway, since it
will most likely be identical for the new toolchain version. However,
we remove all the quirks that were introduced to start work around
issues related to this toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoargp-standalone: restrict value range passed to isprint function
Max Filippov [Tue, 28 Apr 2015 08:50:36 +0000 (11:50 +0300)]
argp-standalone: restrict value range passed to isprint function

According to C standards isprint argument shall be representable as an
unsigned char or be equal to EOF, otherwise the behaviour is undefined.

Passing arbitrary ints leads to segfault in nm program from elfutils.

Restrict isprint argument range to values representable by unsigned char.

Note: a similar change was done to the internal argp implementation of
glibc in commit
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=9055724a92433ffa4c36f93d918ee1b3dfa1d6f7.

[Thomas: add a reference to the corresponding glibc fix.]

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoQEMU: Bump to 2.3.0
Markos Chandras [Wed, 29 Apr 2015 12:21:29 +0000 (13:21 +0100)]
QEMU: Bump to 2.3.0

Bump QEMU to 2.3.0

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/gummiboot: switch to http for git clone
Yann E. MORIN [Tue, 28 Apr 2015 22:39:58 +0000 (00:39 +0200)]
boot/gummiboot: switch to http for git clone

The git:// protocol may not go through conservative corporate firewalls.
Use http, that goes out through about anything.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoraspberrypi: bump raspberrypi_dt_defconfig kernel
Frank Hunleth [Wed, 29 Apr 2015 13:36:44 +0000 (09:36 -0400)]
raspberrypi: bump raspberrypi_dt_defconfig kernel

This brings the raspberrypi_dt_defconfig up to the same kernel used by
the raspberrypi2_defconfig. Also changed the git URL to use HTTP for
consistency.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoraspberrypi2: switch Linux kernel to rpi-3.18.y
Frank Hunleth [Wed, 29 Apr 2015 13:36:43 +0000 (09:36 -0400)]
raspberrypi2: switch Linux kernel to rpi-3.18.y

This changes the kernel used on the Raspberry Pi 2 from the 3.19 branch
back to the 3.18 branch. This provides a couple of advantages:

  1. mmc0 works again. Floris Bos found out that this was due to using
     the precompiled DTB files from rpi-firmware. These DTBs were built
     using 3.18.
  2. The rpi-3.18.y branch is not regularly rebased like rpi-3.19.y
     according to popcornmix. See
     https://github.com/raspberrypi/linux/issues/915.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Reviewed-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/boost: bump to version 1.58.0
Jörg Krause [Thu, 30 Apr 2015 11:29:21 +0000 (13:29 +0200)]
package/boost: bump to version 1.58.0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/celt051: Add patch to fix musl build
Jörg Krause [Thu, 30 Apr 2015 19:14:55 +0000 (21:14 +0200)]
package/celt051: Add patch to fix musl build

musl does not define __GNUC_PREREQ. Use patch from Alpine Linux
(http://git.alpinelinux.org/cgit/aports/plain/main/celt051/fix-gnuc-prereq.patch).

Fixes http://autobuild.buildroot.net/results/223/223ba6003bdd7e0c896455c21fa8fee943b4e716/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofreerdp: fix build with uclibc snapshot and uclibc-ng
Baruch Siach [Fri, 1 May 2015 03:36:03 +0000 (06:36 +0300)]
freerdp: fix build with uclibc snapshot and uclibc-ng

uclibc snapshot and uclibc-ng add support for the eventfd_{read,write} glibc
extensions. Refine our uClibc support patch to take this into account, based
on upstream fix applied to freerdp master branch.

Fixes:
http://autobuild.buildroot.net/results/e6c/e6c2ac69682f409f9ee78a3a6155ae356c3368a4/
http://autobuild.buildroot.net/results/558/558ccb0e475bfb434685c580d86f6c634238a084/
http://autobuild.buildroot.net/results/249/24901b2dfc92b516f74054ea7bb71e1ccfc3f12f/

and many more.

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoutil-linux: bump to version 2.26.2
Gustavo Zacarias [Thu, 30 Apr 2015 17:57:48 +0000 (14:57 -0300)]
util-linux: bump to version 2.26.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-headers: bump 3.12.x series
Gustavo Zacarias [Thu, 30 Apr 2015 17:36:05 +0000 (14:36 -0300)]
linux-headers: bump 3.12.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/bsdiff: add patch to fix missing header for u_char
Jörg Krause [Thu, 30 Apr 2015 18:32:55 +0000 (20:32 +0200)]
package/bsdiff: add patch to fix missing header for u_char

Fix missing header <sys/types.h> for u_char in bspatch.c.

Fixes http://autobuild.buildroot.net/results/31a/31a837cf6e34b02dce498f2b12e40d6d16a5a8e6/

Patch not sent upstream - no maintainer mail address or repository found.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolighttpd: run as non-privileged user www-data
Floris Bos [Thu, 30 Apr 2015 16:12:16 +0000 (18:12 +0200)]
lighttpd: run as non-privileged user www-data

Previously the stock lighttpd configuration was patched to run as user root,
because we do not have a lighttpd user.
Patch it to use www-data instead, which is a user available in the default
skeleton, and is the same other webserver packages (like nginx) use.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibtasn1: bump to version 4.5
Gustavo Zacarias [Thu, 30 Apr 2015 10:58:41 +0000 (07:58 -0300)]
libtasn1: bump to version 4.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibmicrohttpd: bump to version 0.9.41
Gustavo Zacarias [Thu, 30 Apr 2015 10:54:14 +0000 (07:54 -0300)]
libmicrohttpd: bump to version 0.9.41

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agostunnel: bump to version 5.17
Gustavo Zacarias [Thu, 30 Apr 2015 10:00:16 +0000 (07:00 -0300)]
stunnel: bump to version 5.17

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogst-plugins-bad: unbreak vp8 support
Peter Korsgaard [Thu, 30 Apr 2015 13:13:25 +0000 (15:13 +0200)]
gst-plugins-bad: unbreak vp8 support

Fixes
http://autobuild.buildroot.net/results/84e/84e7a2df4a8de2ca1ce075a8f5f32a94b7f45ce8/
http://autobuild.buildroot.net/results/db8/db8309c8cc6d4fb8a28d17c3b1ed71c49277d212/
http://autobuild.buildroot.net/results/5e4/5e424a25ee6796207e7a85ecbc80ac4428b0522e/
http://autobuild.buildroot.net/results/3b0/3b0e0356549d40edbe1c9a86214437e0f81fb3a3/

And many more.

gst-plugins-bad didn't have any explicit libvpx handling, so it would be
built with/without support for it depending on build order.

More importantly, the recent libvpx bump dropped the legacy (prefix-less)
symbols from the header file and gst-plugins-bad's handling of the non
legacy symbols was buggy.

Fix it by adding an explicit vp8 suboption and add a patch to fix (drop) the
legacy symbol handling.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/clamav: bump version to 0.98.7, enable ipv6 support
Bernd Kuhls [Wed, 29 Apr 2015 19:05:34 +0000 (21:05 +0200)]
package/clamav: bump version to 0.98.7, enable ipv6 support

Clamav uses AC_TRY_RUN in m4/reorganization/code_checks/ipv6.m4 to check
for ipv6 support, which is not cross-compile safe. Since buildroot
supports ipv6 out-of-the-box now this patch forces ipv6 support.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoncftp: add hash file
Yegor Yefremov [Wed, 29 Apr 2015 19:41:40 +0000 (21:41 +0200)]
ncftp: add hash file

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogawk: bump to version 4.1.2
Gustavo Zacarias [Wed, 29 Apr 2015 19:18:19 +0000 (16:18 -0300)]
gawk: bump to version 4.1.2

Drop LIBTOOL/GETTEXTIZE as well since it's no longer bundled with a beta
version.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobtrfs-progs: bump to version 4.0
Gustavo Zacarias [Wed, 29 Apr 2015 19:17:20 +0000 (16:17 -0300)]
btrfs-progs: bump to version 4.0

Switch SITE to use BR2_KERNEL_MIRROR as well.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibcurl: security bump to version 7.42.1
Gustavo Zacarias [Wed, 29 Apr 2015 18:47:56 +0000 (15:47 -0300)]
libcurl: security bump to version 7.42.1

Fixes:
CVE-2013-3153 - sensitive HTTP server headers also sent to proxies.

And drop upstream patches.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopcre: bump to version 8.37
Gustavo Zacarias [Wed, 29 Apr 2015 18:46:56 +0000 (15:46 -0300)]
pcre: bump to version 8.37

Security patch now upstream so drop it.
Also switch to bz2 compression.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux: bump default to version 4.0.1
Gustavo Zacarias [Wed, 29 Apr 2015 12:15:41 +0000 (09:15 -0300)]
linux: bump default to version 4.0.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.{10, 14, 18, 19}.x and 4.0 series
Gustavo Zacarias [Wed, 29 Apr 2015 12:15:40 +0000 (09:15 -0300)]
linux-headers: bump 3.{10, 14, 18, 19}.x and 4.0 series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodhcpcd: add upstream patch to fix build issue
Peter Korsgaard [Wed, 29 Apr 2015 20:55:09 +0000 (22:55 +0200)]
dhcpcd: add upstream patch to fix build issue

Fixes http://autobuild.buildroot.net/results/523/523858fb930e74fe28f24989ff0697693b5fdd67/

Patch from http://roy.marples.name/projects/dhcpcd/vpatch?from=e05490e2d12d03b1&to=c32714545158ca83

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoRevert "dhcpcd: fix ipv6 related compile failure"
Peter Korsgaard [Wed, 29 Apr 2015 20:54:11 +0000 (22:54 +0200)]
Revert "dhcpcd: fix ipv6 related compile failure"

This reverts commit 6b1f66643d782fc6f00e7436d41ceea6d88ad6bf.

It turns out to not really fix the build errors after all, so revert it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibwebsockets: add LWS_ prefix to LWS_WITHOUT_TESTAPPS=ON cmake option
Baptiste Moraine [Wed, 29 Apr 2015 13:39:00 +0000 (15:39 +0200)]
libwebsockets: add LWS_ prefix to LWS_WITHOUT_TESTAPPS=ON cmake option

Currently, libwebsockets.mk is passing -DWITHOUT_TESTAPPS=ON to disable
the building of libwebsockets test applications, but this is doing nothing
because the option is really named  LWS_WITHOUT_TESTAPPS.
This commit fixes that by using the correct option name.

Signed-off-by: Baptiste Moraine <baptiste.moraine@kapelse.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodhcpcd: fix ipv6 related compile failure
Peter Seiderer [Tue, 28 Apr 2015 19:36:28 +0000 (21:36 +0200)]
dhcpcd: fix ipv6 related compile failure

Add '-D_GNU_SOURCE' to gain missing struct in6_pktinfo definition.

Fixes [1]:

ipv6.h:211:41: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo'
  unsigned char sndbuf[CMSG_SPACE(sizeof(struct in6_pktinfo))];
                                         ^
ipv6.h:195:38: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo'
 #define IP6BUFLEN (CMSG_SPACE(sizeof(struct in6_pktinfo)) + \
                                      ^
ipv6.h:214:23: note: in expansion of macro 'IP6BUFLEN'
  unsigned char rcvbuf[IP6BUFLEN];

[1] http://autobuild.buildroot.net/results/523/523858fb930e74fe28f24989ff0697693b5fdd67

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqt: QT_COORD_TYPE_DOUBLE should only be set on soft float
Richard Genoud [Tue, 28 Apr 2015 15:42:27 +0000 (17:42 +0200)]
qt: QT_COORD_TYPE_DOUBLE should only be set on soft float

If QT_COORD_TYPE_DOUBLE is forced and hard float is used, Qt compilation
breaks because it can't find hard coded operations on double.

Moreover, QT_COORD_TYPE is float only if QT_NO_FPU is set.
(cf src/corelib/global/qglobal.h)

So, we can safely make the QT_COORD_TYPE_DOUBLE option depend on
BR2_SOFT_FLOAT.

Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogdb: add hash file
Gustavo Zacarias [Mon, 27 Apr 2015 13:34:23 +0000 (10:34 -0300)]
gdb: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython3: needs dynamic library support
Peter Korsgaard [Tue, 28 Apr 2015 06:50:04 +0000 (08:50 +0200)]
python3: needs dynamic library support

Fixes:
http://autobuild.buildroot.net/results/c65/c65c2b2c4c2ca328c4f26ba38798c40ab02c8772/
http://autobuild.buildroot.net/results/e0d/e0db38ca12dbe664d472c4f6f3f1ade4150119c3/
http://autobuild.buildroot.net/results/8e1/8e196d05dd65cdd782c8d41d937a7d9d2ef7dc1a/
http://autobuild.buildroot.net/results/e3a/e3a71f5d05a3e176a9e641e758b1ba64c9560991/

And many more.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython3: move toolchain comment above main option
Peter Korsgaard [Tue, 28 Apr 2015 06:46:25 +0000 (08:46 +0200)]
python3: move toolchain comment above main option

So suboptions are correctly indented.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython3: add hash file
Thomas Petazzoni [Sun, 26 Apr 2015 12:26:37 +0000 (14:26 +0200)]
python3: add hash file

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython3: bump to version 3.4.3
Thomas Petazzoni [Sun, 26 Apr 2015 12:26:36 +0000 (14:26 +0200)]
python3: bump to version 3.4.3

All patches are simply refreshed, except
002-properly-detect-if-python-build.patch which is removed because an
identical fix has been merged upstream:

  https://github.com/python/cpython/commit/e128ea78e5964929ca902bebc07c242d58609dfc

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agovlc: uclibc-ng can be used
Waldemar Brodkorb [Sun, 26 Apr 2015 20:44:34 +0000 (22:44 +0200)]
vlc: uclibc-ng can be used

Tested with X86 and ARM compiles.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dvdrw-tools: needs host-m4
Bernd Kuhls [Mon, 27 Apr 2015 05:20:40 +0000 (07:20 +0200)]
package/dvdrw-tools: needs host-m4

Fixes
http://autobuild.buildroot.net/results/b2b/b2b836b095251950e3229b66d6ca9faeaec45e72/
http://autobuild.buildroot.net/results/03b/03be24979d3ec4b08ebc7841ce1e2bcb05d26f97/
http://autobuild.buildroot.net/results/083/083ce6e998154a77dbaa16b3bed08570b745e587/
http://autobuild.buildroot.net/results/a51/a51da652314b01ae15f99708c5551f571247342b/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomanual: don't use a comment at the end of the version variable assignment
Fabio Porcedda [Sun, 26 Apr 2015 23:40:21 +0000 (01:40 +0200)]
manual: don't use a comment at the end of the version variable assignment

The comment at the end of the version string assigment could lead to a download
failure so don't use it as a example.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Reported-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>