buildroot.git
9 years agouboot: arm64 arch build support
Ronak Desai [Mon, 12 Oct 2015 18:53:16 +0000 (13:53 -0500)]
uboot: arm64 arch build support

For a 64bit arm architecture, Buildroot uses arm64 terminology and
from the top-level Makefile KERNEL_ARCH is set to arm64 which is then
passed to the uboot build.  This causes a compilation issue as uboot
uses the top-level system architecture as it's $(ARCH).  So
arch/$(ARCH)/Makefile doesn't work with arm64 unless we adjust the
arch.

[Thomas:
 - rewrap commit message text.
 - simplify comment in the code.]

Signed-off-by: Ronak Desai <ronak.desai@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dbus: Add optional dependency to xlib_libSM
Bernd Kuhls [Mon, 12 Oct 2015 19:21:03 +0000 (21:21 +0200)]
package/dbus: Add optional dependency to xlib_libSM

To detect X11 support dbus uses the autoconf macro AC_PATH_XTRA
http://cgit.freedesktop.org/dbus/dbus/tree/configure.ac#n1264

This macro checks for the optional presence of libICE:
http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=blob;f=lib/autoconf/libs.m4;h=d2040d731f81fc1693e01d118c45d51ad169d56a;hb=HEAD#l472

quoting dbus configure with libICE not present:
checking for IceConnectionNumber in -lICE... no

quoting dbus configure with libICE being present:
checking for IceConnectionNumber in -lICE... yes

The binary usr/bin/dbus-launch is being linked to libICE and libSM if
the packages are available:

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a
  output/target/usr/bin/dbus-launch | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libdbus-1.so.3]
 0x00000001 (NEEDED)                     Shared library: [libSM.so.6]
 0x00000001 (NEEDED)                     Shared library: [libICE.so.6]
 0x00000001 (NEEDED)                     Shared library: [libX11.so.6]
 0x00000001 (NEEDED)                     Shared library: [libc.so.1]

To get a reproducable build add libSM as optional dependency to dbus,
libSM pulls in the dependency to libICE.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dbus: remove empty line from dbus.mk
Bernd Kuhls [Mon, 12 Oct 2015 19:21:02 +0000 (21:21 +0200)]
package/dbus: remove empty line from dbus.mk

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoarch: add support for mips32r6 and mips64r6 variants
Vicente Olivert Riera [Mon, 12 Oct 2015 10:08:06 +0000 (11:08 +0100)]
arch: add support for mips32r6 and mips64r6 variants

- Add support for mips32r6 and mips64r6 target architecture variants
- Disable unsupported gcc versions
- Disable unsupported binutils versions
- Disable unsupported external toolchains
- Disable unsuported C libraries
- Add a hook in order to make glibc compile for MIPS R6.

[Thomas: slightly tweak the glibc hack explanation, to make it
hopefully clearer.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibevdev: disable runtime tests
Peter Seiderer [Sun, 11 Oct 2015 21:56:33 +0000 (23:56 +0200)]
libevdev: disable runtime tests

Add new configure option '--disable-runtime-tests' and use it do
disable runtime tests which fail to compile on some uclibc
configurations.

Fixes [1], [2]:
  test-libevdev-init.c: In function 'test_set_clock_id':
  test-libevdev-init.c:493: error: 'CLOCK_MONOTONIC_RAW' undeclared (first use in this function)

and compile failure for !BR2_USE_MMU configuration:
  test-main.c:(.text+0x8): undefined reference to `_fork'

[1] http://autobuild.buildroot.net/results/0d0/0d0a987471ce8e9f76fc96e0ae8f0bfeadb45028/
[2] http://autobuild.buildroot.net/results/939/9392033f1b8d2c8e4e8791c90918dabbe28a7067/

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibevdev: bump version to 1.4.4
Peter Seiderer [Sun, 11 Oct 2015 21:56:32 +0000 (23:56 +0200)]
libevdev: bump version to 1.4.4

>From [1]:

A couple of cleanups, one notable fix: we now transparently fix invalid
ABS_MT_TRACKING_ID ranges to something sensible.

The touchpad-edge-detector tool prints out suggested hwdb rules for
resolution overrides. And since the resolution is the main thing to fix on a
device, the libevdev-tweak-device now has a --resolution argument to quickly
set the resolution on the x/y axes.

[1] http://lists.freedesktop.org/archives/input-tools/2015-August/001210.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomrouted: DVMRP missing subnet
Matt Weber [Mon, 12 Oct 2015 16:03:08 +0000 (11:03 -0500)]
mrouted: DVMRP missing subnet

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibuv: add a hash file
Vicente Olivert Riera [Mon, 12 Oct 2015 16:05:39 +0000 (17:05 +0100)]
libuv: add a hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/imagemagick: bump version to 6.9.2-4
Bernd Kuhls [Sun, 11 Oct 2015 15:43:27 +0000 (17:43 +0200)]
package/imagemagick: bump version to 6.9.2-4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libuv: bump to version 1.7.5
Jörg Krause [Sun, 11 Oct 2015 18:40:47 +0000 (20:40 +0200)]
package/libuv: bump to version 1.7.5

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/shairport-sync: bump to version 2.4.1
Jörg Krause [Sun, 11 Oct 2015 21:02:49 +0000 (23:02 +0200)]
package/shairport-sync: bump to version 2.4.1

- Remove backported from upstream patch.
- Fix autoreconf comment that was wrong.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/liquid-dsp: fix legal-info
Yann E. MORIN [Sun, 11 Oct 2015 22:06:32 +0000 (00:06 +0200)]
package/liquid-dsp: fix legal-info

The license file is named LICENSE, not COPYING.

Fixes:
    http://autobuild.buildroot.org/results/c82/c82baa5549bdca405e0f077c7ab8c77dcec9a582/
    http://autobuild.buildroot.org/results/9c7/9c76ce4f9d69db1aa67cc9c07e4c5c2e5e8d93e0/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: guillaume william brs <guillaume.bressaix@gmail.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/tzdata: Updated TZDATA_SITE to use http url
Martin Bark [Mon, 12 Oct 2015 11:38:10 +0000 (12:38 +0100)]
package/tzdata: Updated TZDATA_SITE to use http url

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/zic: Updated ZIC_SITE to use http url
Martin Bark [Mon, 12 Oct 2015 11:38:09 +0000 (12:38 +0100)]
package/zic: Updated ZIC_SITE to use http url

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/tzdata: bump version to 2015g
Martin Bark [Mon, 12 Oct 2015 11:38:08 +0000 (12:38 +0100)]
package/tzdata: bump version to 2015g

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/zic: bump version to 2015g
Martin Bark [Mon, 12 Oct 2015 11:38:07 +0000 (12:38 +0100)]
package/zic: bump version to 2015g

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosqueezelite: new package
kei-k@ca2.so-net.ne.jp [Tue, 29 Sep 2015 11:08:13 +0000 (20:08 +0900)]
squeezelite: new package

[Thomas:
  - replicate the ffmpeg "depends on" related to the broken NIOS2
    toolchains to the BR2_PACKAGE_SQUEEZELITE_FFMPEG option.
  - use the github helper function.
  - add hash file.]

Signed-off-by: Hiroshi Kawashima <kei-k@ca2.so-net.ne.jp>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoaudit: Add systemd support
Maxime Hadjinlian [Sun, 4 Oct 2015 17:29:34 +0000 (19:29 +0200)]
audit: Add systemd support

The main .service file is installed by audit.
We are using tmpfiles mechanisms to create the log directory, which
would not exists otherwise since /var/log points to /tmp

[Thomas: add explicit --disable-systemd when systemd is not used.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoaudit: Bump version
Maxime Hadjinlian [Sun, 4 Oct 2015 17:01:14 +0000 (19:01 +0200)]
audit: Bump version

Remove patch as it was merged in this release:
https://fedorahosted.org/audit/changeset/1117

[Thomas: remove autoreconf, no longer needed.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoliquid-dsp: new package
guillaume william brs [Fri, 9 Oct 2015 17:20:16 +0000 (11:20 -0600)]
liquid-dsp: new package

[Thomas:
  - add patch to fix autoreconf issue, and use LIQUID_DSP_AUTORECONF =
    YES instead of an horrible hack calling aclocal/autoconf manually.
  - use the github macro instead of hand-coding <pkg>_SITE and
    <pkg>_SITE_METHOD. This allows to remove <pkg>_SITE_METHOD
    entirely.
  - use a full hash as the <pkg>_VERSION
  - remove trailing whitespace everywhere.
  - use one single assignment of LIQUID_DSP_CONF_OPTS
  - fix the comment about the eglibc/musl dependency (it was only
    mentioning eglibc, and the condition was inverted)
  - add the musl/glibc dependency on the package option itself
  - make the package depend on dynamic library support, since the
    makefile unconditionally builds a shared library.
  - add hash file.]

Signed-off-by: Guillaume William Bres <guillaume.bressaix@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonodejs: fix typo for arm predefined macro used for atomicops
Peter Seiderer [Sun, 11 Oct 2015 07:29:47 +0000 (09:29 +0200)]
nodejs: fix typo for arm predefined macro used for atomicops

Add patch to fix typo for arm predefined macrco in (__ARM_ARCH_6KZ__
vs. __ARM_ARCH_6ZK__) in atomicops_internals_arm_gcc.h

Fixes #8391: Node.js 0.12.7 fails to build on raspberry_pi defconfig

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibusb-compat: backport patch to use standard C99 types
Gwenhael Goavec-Merou [Sun, 11 Oct 2015 08:48:30 +0000 (10:48 +0200)]
libusb-compat: backport patch to use standard C99 types

Fixes:

  http://autobuild.buildroot.net/results/e63/e6360386a0a99900b83494924494ec40552d8dbe/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dovecot-pigeonhole: bump version to 0.4.9
Bernd Kuhls [Sun, 11 Oct 2015 10:21:10 +0000 (12:21 +0200)]
package/dovecot-pigeonhole: bump version to 0.4.9

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/{mesa3d, mesa3d-headers}: bump version to 11.0.3
Bernd Kuhls [Sun, 11 Oct 2015 10:21:09 +0000 (12:21 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 11.0.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowpa_supplicant: Add an explicit option to enable nl80211.
Nicolas Cavallari [Fri, 17 Jul 2015 07:59:09 +0000 (09:59 +0200)]
wpa_supplicant: Add an explicit option to enable nl80211.

Currently, nl80211 support is conditionnal with libnl being enabled,
using implicit dependencies.  This causes problems since it is not
obvious and wpa_supplicant without nl80211 isn't what most user expects.

If nl80211 isn't enabled, then buildroot only enables the wext driver,
which will only work if some deprecated kernel feature isn't left
disabled, or if using a outdated out-of-tree linux driver which doesn't
use the cfg80211 infrastructure.

This makes nl80211 support an explicit option, which
"select BR2_PACKAGE_LIBNL" accordingly.  To handle upgrades nicely, it
would have been nice to have "default y if BR2_PACKAGE_LIBNL", but
Kconfig treats this as a circular dependency.  So instead, this enables
the option by default, which is less worse than not enabling nl80211
when it was previously implicitely enabled.

[Thomas:
 - rewrap Config.in help text
 - add comment about thread dependency.]

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoskeleton: Remove ftp user and /home/ftp
Maxime Hadjinlian [Sun, 4 Oct 2015 13:31:35 +0000 (15:31 +0200)]
skeleton: Remove ftp user and /home/ftp

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agovsftpd: Add ftp user creation
Maxime Hadjinlian [Sun, 4 Oct 2015 13:31:34 +0000 (15:31 +0200)]
vsftpd: Add ftp user creation

In order to remove '/home/ftp' and the ftp user from the 'skeleton'
package, we need to add the creation of the ftp users to the package so
it still work out of the box (with an anonymous user).

[Thomas:
 - remove the VSFTPD_FIX_HOME_PERMISSIONS variable, and simply put the
   additional command in VSFTPD_INSTALL_TARGET_CMDS.
 - slightly tweak the comment.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoproftpd: Add ftp user creation
Maxime Hadjinlian [Sun, 4 Oct 2015 13:31:33 +0000 (15:31 +0200)]
proftpd: Add ftp user creation

In order to remove '/home/ftp' and the ftp user from the 'skeleton'
package, we need to add the creation of the ftp users to the package so
it still work out of the box (with an anonymous user).

Signed-off-by Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibdrm: update driver options
Peter Seiderer [Tue, 6 Oct 2015 19:35:30 +0000 (21:35 +0200)]
libdrm: update driver options

- add AMD GPU driver (available since 2.4.63)
- freedreno is no longer experimental (since 2.4.59)
- add NVIDIA Tegra driver (available since 2.4.59)
- update help texts (install vs. installs, change to complete
  sentences)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/efl: remove shared version number
Romain Naour [Sat, 10 Oct 2015 10:03:06 +0000 (12:03 +0200)]
package/efl: remove shared version number

This is necessary to move efl packages to package directory
and prepare the efl version bump to the latest release.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqemu: add new board support for qemu-system-sparc64
Waldemar Brodkorb [Sat, 29 Aug 2015 07:59:06 +0000 (09:59 +0200)]
qemu: add new board support for qemu-system-sparc64

SPARC64 builds can be tested with Qemu.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain: add sparc64 architecture support
Waldemar Brodkorb [Sat, 29 Aug 2015 07:57:33 +0000 (09:57 +0200)]
toolchain: add sparc64 architecture support

Introduce sparc64 architecture to buildroot.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt: fix build for arm with BR2_STATIC_LIBS
Alexander Lukichev [Wed, 7 Oct 2015 07:02:46 +0000 (10:02 +0300)]
qt: fix build for arm with BR2_STATIC_LIBS

Some Buildroot-generated static toolchains for ARM do not have
dlfcn.h header, which breaks builds of qt-4.8.7 because its
QtCore's plugin loader expects this header to be present (and
dynamic libraries to be supported). For certain platforms without
dynamic libraries, there is a QT_NO_DYNAMIC_LIBRARY constant
defined in plugin loader's source. This patch puts that constant
into Qt's build environment if Buildroot is configured without
shared library support.

Fixes:
- http://autobuild.buildroot.net/results/11a4c19638ca211bd2a424fd92602166235c9433
- http://autobuild.buildroot.net/results/c056e8781558267f6971a5f017f47e90dcf24e07
- http://autobuild.buildroot.net/results/b8f34afa8686e890a1a3882a52081bb6a3b9c13b
and several others.

Signed-off-by: Alexander Lukichev <alexander.lukichev@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomedia-ctl: remove package
Peter Seiderer [Wed, 7 Oct 2015 21:56:48 +0000 (23:56 +0200)]
media-ctl: remove package

Package media-ctl is out-dated, source (and developement) have been moved
to v4l-utils since June 2014. Up-to-date version is available in
the libv4l package (BR2_PACKAGE_LIBV4L/BR2_PACKAGE_LIBV4L_UTILS).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibv4l: update v4l-utils help text (add more listed tools)
Peter Seiderer [Wed, 7 Oct 2015 21:56:47 +0000 (23:56 +0200)]
libv4l: update v4l-utils help text (add more listed tools)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofbterm: fix musl compile
Peter Seiderer [Thu, 8 Oct 2015 18:35:02 +0000 (20:35 +0200)]
fbterm: fix musl compile

- add missing include, fixes:

  fbio.cpp:33:8: error: ‘fd_set’ does not name a type
   static fd_set fds;

  improxy.cpp:439:3: error: ‘fd_set’ was not declared in this scope

- add missing WAIT_ANY define, fixes:

  fbterm.cpp: In member function ‘void FbTerm::processSignal(u32)’:
  fbterm.cpp:212:22: error: ‘WAIT_ANY’ was not declared in this scope
      s32 pid = waitpid(WAIT_ANY, 0, WNOHANG);

Fixes:
http://autobuild.buildroot.net/results/ab2/ab2334700b44bac233994b76f2acf1795f0

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs/riotboard: bump kernel to version 4.2.3
Nikolay Dimitrov [Fri, 9 Oct 2015 21:49:05 +0000 (00:49 +0300)]
configs/riotboard: bump kernel to version 4.2.3

Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/Config.in: fix alphabetical order
Jerzy Grzegorek [Sat, 10 Oct 2015 07:39:12 +0000 (09:39 +0200)]
package/Config.in: fix alphabetical order

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/Config.in: correct capitalization of menu items
Jerzy Grzegorek [Sat, 10 Oct 2015 07:39:11 +0000 (09:39 +0200)]
package/Config.in: correct capitalization of menu items

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs/qemu: add sh4eb (big endian) sample
Gustavo Zacarias [Thu, 8 Oct 2015 13:59:44 +0000 (10:59 -0300)]
configs/qemu: add sh4eb (big endian) sample

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agognuradio: break dependency chain by using 'depends on'
Thomas Petazzoni [Fri, 9 Oct 2015 21:28:56 +0000 (23:28 +0200)]
gnuradio: break dependency chain by using 'depends on'

This commit fixes the following recursive dependency:

package/python/Config.in:5:error: recursive dependency detected!
package/python/Config.in:5: symbol BR2_PACKAGE_PYTHON is selected by BR2_PACKAGE_GNURADIO_PYTHON
package/gnuradio/Config.in:46: symbol BR2_PACKAGE_GNURADIO_PYTHON is selected by BR2_PACKAGE_GNURADIO_UTILS
package/gnuradio/Config.in:55: symbol BR2_PACKAGE_GNURADIO_UTILS depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
package/python-numpy/Config.in:1: symbol BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS depends on BR2_PACKAGE_PYTHON

by replacing the "select BR2_PACKAGE_PYTHON" by a "depends on
BR2_PACKAGE_PYTHON", and ditto for the BR2_PACKAGE_GNURADIO_PYTHON
selection.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoarch/mips: remove some remaining mips1/2/3/4 bits
Vicente Olivert Riera [Fri, 9 Oct 2015 13:43:32 +0000 (14:43 +0100)]
arch/mips: remove some remaining mips1/2/3/4 bits

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agognuradio: add missing dependency to python-numpy for python support
Gwenhael Goavec-Merou [Wed, 7 Oct 2015 07:43:19 +0000 (09:43 +0200)]
gnuradio: add missing dependency to python-numpy for python support

Some gnuradio python blocks need python-numpy to be present. Without
python-numpy, gnuradio-python based apps fails, on runtime, with
traceback like:

Traceback (most recent call last):
  File "./top_block.py", line 18, in <module>
    from gnuradio import analog
  File "/usr/lib/python2.7/site-packages/gnuradio/analog/__init__.py", line 35, in <module>
    from am_demod import *
  File "/usr/lib/python2.7/site-packages/gnuradio/analog/am_demod.py", line 22, in <module>
    from gnuradio import gr
  File "/usr/lib/python2.7/site-packages/gnuradio/gr/__init__.py", line 44, in <module>
    from top_block import *
  File "/usr/lib/python2.7/site-packages/gnuradio/gr/top_block.py", line 30, in <module>
    from hier_block2 import hier_block2
  File "/usr/lib/python2.7/site-packages/gnuradio/gr/hier_block2.py", line 26, in <module>
    import pmt
  File "/usr/lib/python2.7/site-packages/pmt/__init__.py", line 58, in <module>
    from pmt_to_python import pmt_to_python as to_python
  File "/usr/lib/python2.7/site-packages/pmt/pmt_to_python.py", line 22, in <module>
    import numpy
ImportError: No module named numpy

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopencv3: use BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
Gwenhael Goavec-Merou [Wed, 7 Oct 2015 07:43:18 +0000 (09:43 +0200)]
opencv3: use BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS

Opencv3 select python-numpy. To avoid duplicating architecture
dependencies, an hidden variable has been added to python-numpy
package. This patch propagate this modification to the opencv3
package.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-numpy: introduce ARCH_SUPPORTS hidden variable
Gwenhael Goavec-Merou [Wed, 7 Oct 2015 07:43:17 +0000 (09:43 +0200)]
python-numpy: introduce ARCH_SUPPORTS hidden variable

Some packages selects python-numpy. This package has a some CPU specific
code. To simplify and avoid duplicate dependencies this patch introduce an
hidden ARCH_SUPPORTS variable.

[Thomas: fix the definition of the new option to make sure its value
is actually 'y' when a supported architecture is used.]

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoConfig.in.legacy: remove incorrect BR2_LEGACY selects
Thomas Petazzoni [Fri, 9 Oct 2015 13:30:38 +0000 (15:30 +0200)]
Config.in.legacy: remove incorrect BR2_LEGACY selects

We shouldn't select BR2_LEGACY for string options.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoConfig.in.legacy: add missing select BR2_LEGACY
Peter Seiderer [Wed, 7 Oct 2015 21:56:49 +0000 (23:56 +0200)]
Config.in.legacy: add missing select BR2_LEGACY

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodbus: bump to version 1.10.0
Gustavo Zacarias [Wed, 7 Oct 2015 23:08:46 +0000 (20:08 -0300)]
dbus: bump to version 1.10.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopicocom: bump to version 2.0
Vicente Olivert Riera [Thu, 8 Oct 2015 09:47:20 +0000 (10:47 +0100)]
picocom: bump to version 2.0

- Bump to version 2.0
- Switch the download site to GitHub
- Apply an upstream patch to fix a missing define
- Add a hash file
- Rewrap the help text to 72 characters length
- Change the official website

[Thomas: fix s/MAKE_ENV/TARGET_MAKE_ENV/.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocollectd: drop rrdtool selects
Gustavo Zacarias [Thu, 8 Oct 2015 19:00:59 +0000 (16:00 -0300)]
collectd: drop rrdtool selects

Drop indirect rrdtool selects, they're already selected by rrdtool
itself so there's no need.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopostgresql: security bump to version 9.4.5
Gustavo Zacarias [Thu, 8 Oct 2015 18:59:12 +0000 (15:59 -0300)]
postgresql: security bump to version 9.4.5

Fixes:

CVE-2015-5289: json or jsonb input values constructed from arbitrary
user input can crash the PostgreSQL server and cause a denial of
service.

CVE-2015-5288: The crypt() function included with the optional pgCrypto
extension could be exploited to read a few additional bytes of memory.
No working exploit for this issue has been developed.

sparc build fix patch upstream so drop it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agostunnel: bump to version 5.24
Gustavo Zacarias [Thu, 8 Oct 2015 19:00:26 +0000 (16:00 -0300)]
stunnel: bump to version 5.24

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobind: bump to version 9.9.8
Gustavo Zacarias [Thu, 8 Oct 2015 20:16:33 +0000 (17:16 -0300)]
bind: bump to version 9.9.8

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowebkitgtk24: use the correct Config.in option for NEON
Thomas Petazzoni [Fri, 9 Oct 2015 09:20:06 +0000 (11:20 +0200)]
webkitgtk24: use the correct Config.in option for NEON

In order to enable JIT support on ARM, webkitgtk24 currently looks at
BR2_ARM_ENABLE_NEON, which is not correct: BR2_ARM_CPU_HAS_NEON should
be used instead.

The BR2_ARM_ENABLE_NEON is only visible for cores that select
BR2_ARM_CPU_MAYBE_HAS_NEON, in order to allow to specify if his
particular SoC has chosen to integrate NEON or not. And if so,
BR2_ARM_CPU_HAS_NEON gets selected.

BR2_ARM_CPU_HAS_NEON is in fact selected in two different ways:

 - Either directly by the CPU core selection, if NEON is mandatory in
   this CPU core.

 - Or by BR2_ARM_ENABLE_NEON, for CPU cores where NEON support is
   optional.

So really, BR2_ARM_CPU_HAS_NEON is what should be used by packages.

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoethtool: bump to version 4.2
Gustavo Zacarias [Fri, 9 Oct 2015 10:52:33 +0000 (07:52 -0300)]
ethtool: bump to version 4.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoswupdate: fix description typo
Baruch Siach [Fri, 9 Oct 2015 10:19:47 +0000 (13:19 +0300)]
swupdate: fix description typo

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodos2unix: bump to version 7.3.1
Baruch Siach [Wed, 7 Oct 2015 06:58:12 +0000 (09:58 +0300)]
dos2unix: bump to version 7.3.1

Drop upstream patch.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomplayer: add license info
Gustavo Zacarias [Wed, 7 Oct 2015 20:15:54 +0000 (17:15 -0300)]
mplayer: add license info

Most code is GPLv2+ or compatible except for one file that is
GPLv2-only, hence as a whole is GPLv2 (see Copyright).
Also kill some whitespace and make the only hard dependency
(host-pkgconf) a hard dependency, not an addition, since it's not
conditional.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.12.x series
Gustavo Zacarias [Wed, 7 Oct 2015 18:28:17 +0000 (15:28 -0300)]
linux-headers: bump 3.12.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibcurl: bump to version 7.45.0
Vicente Olivert Riera [Wed, 7 Oct 2015 11:06:48 +0000 (12:06 +0100)]
libcurl: bump to version 7.45.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoccache: bump to version 3.2.3
Gustavo Zacarias [Tue, 6 Oct 2015 16:38:03 +0000 (13:38 -0300)]
ccache: bump to version 3.2.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoxterm: bump to version 320
Gustavo Zacarias [Tue, 6 Oct 2015 16:37:43 +0000 (13:37 -0300)]
xterm: bump to version 320

Also switch to http site.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosane-backends: bump to version 1.0.25
Vicente Olivert Riera [Tue, 6 Oct 2015 16:05:26 +0000 (17:05 +0100)]
sane-backends: bump to version 1.0.25

- Bump version to 1.0.25
- Update hash file. The hash value provided by the alioth.debian.org URL
  is wrong, so use the one provided by www.sane-project.org. I have
  reported this upstream.
- Remove unnecessary patches:
  0002-remove-unsafe-headers-path.patch
  0003-remove-cups-and-systemd-support.patch

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agofreetype: bump to version 2.6.1
Vicente Olivert Riera [Tue, 6 Oct 2015 15:34:27 +0000 (16:34 +0100)]
freetype: bump to version 2.6.1

- Bump to version 2.6.1.
- Update hash file.
- Remove includes hooks since they are no longed needed.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomplayer: bump to version 1.2
Vicente Olivert Riera [Tue, 6 Oct 2015 13:42:54 +0000 (14:42 +0100)]
mplayer: bump to version 1.2

- Bump to version 1.2
- Update hash file.
- Remove no longer existent configure options:
  --disable-dvdread-internal, --disable-tremor-internal.
- Tweak 0001-disable-install-strip.patch.
- Remove 0002-fix-cc-parsing.patch. Upstreamed:
  https://github.com/pigoz/mplayer-svn/commit/0f3ddfe146b8b2c6fe9302017375ef6b30ffbe71
- Remove 0004-add-arc-support.patch. Upstreamed:
  https://github.com/pigoz/mplayer-svn/commit/3b8c5f22313a416b24dcc4e7facde0a886352a75
- Remove 0005-Support-newer-GIFLIB-versions.patch. Upstreamed:
  https://github.com/pigoz/mplayer-svn/commit/a0ddaef5457e222dade386901bf448c5e3ac7b89
- Remove 0006-Support-newer-GIFLIB-versions-part2.patch. Upstreamed:
  https://github.com/pigoz/mplayer-svn/commit/a43d259602723d92db1463b166739fb8d22c2d51
- Remove 0007-mplayer-enable-aarch64.patch. Upstreamed:
  https://github.com/pigoz/mplayer-svn/commit/1cceebf1fa0cc1b27429e937f1cfa61c406f9159
- Rename 0003-mpdemux-live555-async-interface.patch to
  0002-mpdemux-live555-async-interface.patch.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogit: bump to version 2.6.1
Vicente Olivert Riera [Tue, 6 Oct 2015 12:24:37 +0000 (13:24 +0100)]
git: bump to version 2.6.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoglib-networking: bump to version 2.46.0
Gustavo Zacarias [Tue, 6 Oct 2015 11:31:24 +0000 (08:31 -0300)]
glib-networking: bump to version 2.46.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibglib2: bump to version 2.46.0
Gustavo Zacarias [Tue, 6 Oct 2015 11:31:23 +0000 (08:31 -0300)]
libglib2: bump to version 2.46.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodbus-cpp: not available on musl
Peter Korsgaard [Tue, 6 Oct 2015 09:01:43 +0000 (11:01 +0200)]
dbus-cpp: not available on musl

Fixes:
http://autobuild.buildroot.net/results/9b2/9b29ff3aac5cd543dbe2a1a632b61e27ca25085e/
http://autobuild.buildroot.net/results/304/3041ed6d7ff648f805cf2e29762e2b57cd0540e4/

musl doesn't provide the initializer for recursive pthread mutexes.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agowandboard_defconfig: bump u-boot to 2015.07 and kernel to 3.14.28_1.0.0
Sergio Prado [Sat, 3 Oct 2015 15:40:02 +0000 (12:40 -0300)]
wandboard_defconfig: bump u-boot to 2015.07 and kernel to 3.14.28_1.0.0

Bump U-boot version to 2015.07 from the mainline repository. Since there
is SPL support for the wandboard in the U-boot 2015.07, it is now
possible to boot the same U-boot image for all wandboard variants
(solo/dual/quad).

Bump kernel version to 3.14.28_1.0.0 from the wandboard git repository.

Tested on Wandboard Solo, Wandboard Dual and Wandboard Quad.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Tested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoglib-networking: specify GIO_MODULE_DIR for target
Gustavo Zacarias [Mon, 5 Oct 2015 19:54:30 +0000 (16:54 -0300)]
glib-networking: specify GIO_MODULE_DIR for target

Since the upgrade to pkgconf 0.9.12 all directories and variables with
directories are sysroot-prefixed, whereas with the old patch only some
variables were (includedir, mapdir, sdkdir, libdir).

libglib2 uses a giomoduledir=${libdir}/gio/modules variable in
gio-2.0.pc, which when expanded via sysroot by pkgconf at configure time
points to the staging directory (via libdir expansion).
When target install gets called the gio module gets installed to staging
rather than target, with the obvious consequences this has.

Work-around this pkgconfig abuse by overriding GIO_MODULE_DIR at target
install time.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogdk-pixbuf: security bump to version 2.32.1
Gustavo Zacarias [Mon, 5 Oct 2015 19:52:36 +0000 (16:52 -0300)]
gdk-pixbuf: security bump to version 2.32.1

CVE-2015-4491 already fixed in the release so drop patch.

Fixes a heap overflow with a gif file and a heap overflow and DoS with a
tga file. CVEs not assigned yet.

Tests disabled since they fail to build properly on uClibc toolchains.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-numpy: uClibc patch to avoid ldexpl and frexpl
Arnout Vandecappelle [Tue, 6 Oct 2015 00:30:18 +0000 (01:30 +0100)]
python-numpy: uClibc patch to avoid ldexpl and frexpl

It turns out that uClibc only enables the long double math functions
for some architectures (god know why, so what if long double is the
same as double, these functions should still be defined). Since
python-numpy links with those functions, the module will fail to load
on ARM, MIPS and SH.

However, python-numpy actually checks for each function if it is really
available. Only, it overrides that check for ldexpl and frexpl when
long double is the same as double (i.e. in exactly the case the uClibc
doesn't have these functions).

So add another exception for this.

Upstream-status: not applicable (code has changed too much)

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agofs/romfs: remove redunant ROMFS_TARGET definition
Arnout Vandecappelle [Mon, 5 Oct 2015 18:52:59 +0000 (19:52 +0100)]
fs/romfs: remove redunant ROMFS_TARGET definition

Probably a leftover from our last fs infra reworking a couple of years
ago.

Incidentally, also added a newline at the end of the file.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopkgconf: bump to version 0.9.12
Gustavo Zacarias [Mon, 5 Oct 2015 13:49:29 +0000 (10:49 -0300)]
pkgconf: bump to version 0.9.12

Drop patches, they aren't required any more.
It fixes a bug where inline comments cause issues, like:

Libs: -lblah # -lbleh

...it would make pkgconf search for the '#' package

This is required for the nettle 3.1.1 upgrade since howgeed.pc adjusts
Libs according to static/dynamic builds using the comment feature.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogcc: backport xtensa libgcc stack unwinding fixes
Max Filippov [Tue, 18 Aug 2015 04:40:38 +0000 (07:40 +0300)]
gcc: backport xtensa libgcc stack unwinding fixes

These backported patches fix the following failing uClibc-ng tests:
  nptl/tst-cancelx4,
  nptl/tst-cancelx16,
  nptl/tst-cancelx18,
  nptl/tst-cancelx20,
  nptl/tst-cancelx21,
  nptl/tst-cleanupx1,
  nptl/tst-cleanupx3,
  nptl/tst-oncex3,
  nptl/tst-oncex4.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonettle: bump to version 3.1.1
Gustavo Zacarias [Mon, 5 Oct 2015 14:25:41 +0000 (11:25 -0300)]
nettle: bump to version 3.1.1

API is now compatible with nettle 2.7.x

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowireless-regdb: bump to version 2015.09.25
Gustavo Zacarias [Mon, 5 Oct 2015 14:26:49 +0000 (11:26 -0300)]
wireless-regdb: bump to version 2015.09.25

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoarm_foundationv8_defconfig: rely on default Image name for kernel
Arnout Vandecappelle [Sun, 4 Oct 2015 16:28:17 +0000 (17:28 +0100)]
arm_foundationv8_defconfig: rely on default Image name for kernel

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoqemu_aarch64_virt_defconfig: rely on default Image name for kernel
Arnout Vandecappelle [Sun, 4 Oct 2015 16:28:16 +0000 (17:28 +0100)]
qemu_aarch64_virt_defconfig: rely on default Image name for kernel

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux: add 'Image' as the image name for aarch64
Arnout Vandecappelle [Sun, 4 Oct 2015 16:28:15 +0000 (17:28 +0100)]
linux: add 'Image' as the image name for aarch64

On aarch64, the image name is always Image, so let's add support for
that.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomicrozed: u-boot needs host-dtc
Davide Viti [Mon, 5 Oct 2015 07:17:37 +0000 (09:17 +0200)]
microzed: u-boot needs host-dtc

defconfigs that use U-Boot 2015.07 need host-dtc to build
properly.

Signed-off-by: Davide Viti <d.viti@infosolution.it>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibtorrent: zlib is mandatory
Gustavo Zacarias [Mon, 5 Oct 2015 01:04:37 +0000 (22:04 -0300)]
libtorrent: zlib is mandatory

zlib isn't optional even though it seems like it, fixes build failure
such as:

log.cc:51:18: fatal error: zlib.h: No such file or directory

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agortorrent: drop sigc dep & switch homepage
Gustavo Zacarias [Mon, 5 Oct 2015 01:04:36 +0000 (22:04 -0300)]
rtorrent: drop sigc dep & switch homepage

libsigc isn't used/needed any longer so drop it.
And switch to the proper homepage rather than the tarball repository.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibtorrent: drop sigc dep & switch homepage
Gustavo Zacarias [Mon, 5 Oct 2015 01:04:35 +0000 (22:04 -0300)]
libtorrent: drop sigc dep & switch homepage

libsigc isn't used/needed any longer so drop it.
And switch to the proper homepage rather than the tarball repository.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotoolchain-wrapper.c: unbreak BR_CROSS_PATH_ABS handling
Peter Korsgaard [Mon, 5 Oct 2015 06:25:17 +0000 (08:25 +0200)]
toolchain-wrapper.c: unbreak BR_CROSS_PATH_ABS handling

Fixes #8386

We should check if BR_CROSS_PATH_ABS is defined, not if it evalutates to
true for the pre processor.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agortorrent: bump to version 0.9.6
Vicente Olivert Riera [Sun, 4 Oct 2015 23:56:16 +0000 (00:56 +0100)]
rtorrent: bump to version 0.9.6

- Bump to version 0.9.6

- Add a hash file.

- Change the website URL to the new official one.

- Tweak the 0001-cross_compile.patch for the new version.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibtorrent: bump to version 0.13.6
Vicente Olivert Riera [Sun, 4 Oct 2015 23:56:15 +0000 (00:56 +0100)]
libtorrent: bump to version 0.13.6

- Bump to version 0.13.6.

- Add a hash file.

- Change the website URL to the new official one.

- Help the build system to find the zlib headers, otherwise the
  configure script will fail like this:

    checking if zlib is wanted... yes
    checking for inflateEnd in -lz... no
    checking zlib.h usability... no
    checking zlib.h presence... no
    checking for zlib.h... no
    configure: error: either specify a valid zlib installation with
    --with-zlib=DIR or disable zlib usage with --without-zlib

- Disable instrumentation support by default since it avoids runtime
  failures on rtorrent for some architectures like MIPS, PowerPC or ARM:

    https://github.com/rakshasa/rtorrent/issues/156

- Tweak the 0001-cross_compile.patch for this new version.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.18.x series
Gustavo Zacarias [Sun, 4 Oct 2015 23:12:42 +0000 (20:12 -0300)]
linux-headers: bump 3.18.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogcc: sort the patches before they are hashed
Arnout Vandecappelle [Sun, 4 Oct 2015 17:26:03 +0000 (18:26 +0100)]
gcc: sort the patches before they are hashed

$(wildcard ...) in make doesn't sort the files, so the order of the
hashed files is not predictable. Therefore, the ccache hash could
change from one build to another. We don't want that, so sort the
files explicitly.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoconfigs: fix configurations that need host-dtc
Thomas Petazzoni [Sat, 3 Oct 2015 19:44:14 +0000 (20:44 +0100)]
configs: fix configurations that need host-dtc

olimex_a20_olinuxino_lime_defconfig and zedboard_defconfig use U-Boot
2015.07, and they need host-dtc to build properly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agou-boot: add an option to indicate that DTC is needed
Thomas Petazzoni [Sat, 3 Oct 2015 19:44:13 +0000 (20:44 +0100)]
u-boot: add an option to indicate that DTC is needed

Some U-Boot configurations require the Device Tree compiler to be
available, so we need to depend on host-dtc (example configuration:
zynq_zed).

However, we don't want to build it unconditionally, since the vast
majority of U-Boot configurations don't need it (and host-dtc itself
has a bunch of dependencies).

So, we simply add a Config.in option that allows users to indicate
whether their U-Boot needs DTC or not, and depend on host-dtc if this
option is enabled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodtc: add host build
Peter Seiderer [Sat, 3 Oct 2015 19:44:12 +0000 (20:44 +0100)]
dtc: add host build

Having a host variant of dtc is needed for example for U-Boot, which
uses the Device Tree for a number of platforms.

In addition, now that we have a proper host-dtc package, it is no
longer needed for the linux package to install the host dtc compiler:
users interested in having the host dtc compiler can simply enable
this package.

A Config.in.host option is added to build host-dtc, because the
initial reason why the host DTC built by the kernel was installed in
$(HOST_DIR)/usr/bin (commit 707d44d0a28906ebda49584dd5f55985406f0bde
from Thomas DS) was:

    Having dtc as a host tool can be useful for users that have a
    custom boot scenario where the device tree is not embedded in the
    kernel.

[Thomas:
  - rework the commit log.]
[Peter: keep the (renamed) linux version]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux: install dtc binary as linux-dtc
Peter Korsgaard [Sun, 4 Oct 2015 18:12:41 +0000 (20:12 +0200)]
linux: install dtc binary as linux-dtc

So it doesn't conflict with host-dtc. The Linux kernel version may be a
patched version supporting E.G. overlays.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoportaudio: fix dependency on alsa-lib
Luca Ceresoli [Sun, 4 Oct 2015 17:55:17 +0000 (19:55 +0200)]
portaudio: fix dependency on alsa-lib

BR2_PACKAGE_PORTAUDIO_ALSA is misspelled in one place, resulting in
alsa-lib not being listed in the dependencies.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowebkitgtk24: fix compilation failure due to unicode quotes
Vicente Olivert Riera [Wed, 2 Sep 2015 12:08:50 +0000 (13:08 +0100)]
webkitgtk24: fix compilation failure due to unicode quotes

As reported in this upstream bug...

https://bugs.webkit.org/show_bug.cgi?id=128971

...the pretty unicode double quotes break Python stdin. Backporting the
patch that was attached to that bug report and tweak it minimally to
make it apply on Buildroot.

Fixes:

  http://autobuild.buildroot.net/results/c8e/c8ea1cab0a1ee081f9bca994ff5309ea0117d692/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain/external: commonalise comments about Linaro toolchains
Yann E. MORIN [Sun, 20 Sep 2015 21:45:49 +0000 (23:45 +0200)]
toolchain/external: commonalise comments about Linaro toolchains

Those two comments:
  - are exactly the same
  - have the same dependencies (except for arm/armeb)

So, make it a common comment. It will be useful to have that comment
when we introduce new Linaro toolchain versions.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoutil-linux: update tool select options
Danomi Manchego [Tue, 14 Jul 2015 02:57:06 +0000 (22:57 -0400)]
util-linux: update tool select options

Add missing app config options:
  - line
  - tunelp

Drop app config options no longer supported by util-linux:
  - arch
  - ddate

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoparted: add patch to fix musl build
Thomas Petazzoni [Sun, 4 Oct 2015 17:27:52 +0000 (18:27 +0100)]
parted: add patch to fix musl build

Fixes:

  http://autobuild.buildroot.org/results/e1b/e1b6de7b234f2ec154d772ee93e33275dff38f3e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: fix build of calao_qil_a9260_defconfig
Thomas Petazzoni [Sat, 3 Oct 2015 19:44:16 +0000 (20:44 +0100)]
configs: fix build of calao_qil_a9260_defconfig

The Barebox, AT91Bootstrap and Linux patches for the Calao QIL A9260
board are all located in the same directory, board/calao/qil-a9260/,
with only a prefix to indicate to which component they apply.

Unfortunately, since commit 0eba4759fab9d093afacac77a0ac31f1f0b3cceb
("packages: apply custom patches using *.patch instead of
<pkg>-*.patch"), the logic to apply custom patches in Barebox and
AT91Bootstrap has been changed from applying <package>-*.patch to
applying *.patch (in order to be consistent with what we do for all
packages in Buildroot).

However, this had the effect of trying to apply both the AT91Bootstrap
and Barebox patches on both packages, which obviously cannot work.

This commit fixes that by moving patches around, and switching to use
BR2_GLOBAL_PATCH_DIR for all of Barebox, AT91Bootstrap and Linux
patches.

In addition, the defconfig was not specifying explicitly which Barebox
version to use, so right now it's trying to use Barebox 2015.09, on
which the board-specific patch does not apply. So we've forced to use
Barebox 2012.08, which was the lastest release available at the time
the defconfig was initially contributed.

Cc: Gregory Hermant <gregory.hermant@calao-systems.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>