]> rtime.felk.cvut.cz Git - coffee/buildroot.git/log
coffee/buildroot.git
8 years agopackage/mono: bump to version 4.2.3.4
Angelo Compagnucci [Sun, 24 Apr 2016 14:15:48 +0000 (16:15 +0200)]
package/mono: bump to version 4.2.3.4

This patch bump mono version to the latest release 4.2.3.4.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/jsoncpp: bump version to 1.7.2
Bernd Kuhls [Sun, 24 Apr 2016 13:56:40 +0000 (15:56 +0200)]
package/jsoncpp: bump version to 1.7.2

Removed patches applied upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomono: disable for sparc/sparc64
Waldemar Brodkorb [Sun, 24 Apr 2016 13:51:26 +0000 (15:51 +0200)]
mono: disable for sparc/sparc64

It seems mono isn't supported for sparc32, see configure.ac
for some comments about it. Tried with sparc64, but this
doesn't compile either.
So disable for sparc for now.

Fixes following autobuild issues:
http://autobuild.buildroot.org/?reason=mono-4.2.2.30

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard: add support for Hardkernel ODROID-C2 Board
Brian Kim [Tue, 19 Apr 2016 08:35:35 +0000 (17:35 +0900)]
board: add support for Hardkernel ODROID-C2 Board

The ODROID-C2 is a 64-bit quad-core single board computer(SBC) that is
one of the most cost-effective 64bit development boards available in the
ARM world.

http://www.hardkernel.com/main/products/prdt_info.php?g_code=G145457216438

[Peter: fix typos, drop neon/C++ settings, use git hash for Linux/U-Boot]
Signed-off-by: Brian Kim <brian.kim@hardkernel.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoxenomai: update download site
Erdem MEYDANLI [Sat, 23 Apr 2016 14:28:18 +0000 (17:28 +0300)]
xenomai: update download site

The new address include more recent versions of stable releases.
Therefore, newer versions than 2.6.4 can be available when required.

Signed-off-by: Erdem MEYDANLI <erdem.meydanli@punica.com.tr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorpi-userland: bump version
Peter Seiderer [Sat, 23 Apr 2016 16:46:22 +0000 (18:46 +0200)]
rpi-userland: bump version

- remove upstream commited patch:
  0002-makefiles-cmake-vmcs.cmake-allow-to-override-VMCS_IN.patch

- fix compile errror (missing include for va_list with uclibc-1.0.14):
  0006-dtmerge-add-missing-include-for-va_list.patch

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorpi-firmware: bump version
Peter Seiderer [Sat, 23 Apr 2016 16:46:21 +0000 (18:46 +0200)]
rpi-firmware: bump version

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoraspberrypi2_defconfig: bump to kernel version 4.4.7
Peter Seiderer [Sat, 23 Apr 2016 16:46:24 +0000 (18:46 +0200)]
raspberrypi2_defconfig: bump to kernel version 4.4.7

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoraspberrypi_defconfig: bump to kernel version 4.4.7
Peter Seiderer [Sat, 23 Apr 2016 16:46:23 +0000 (18:46 +0200)]
raspberrypi_defconfig: bump to kernel version 4.4.7

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc/defconfig: enable XSI math
Gustavo Zacarias [Thu, 21 Apr 2016 13:54:16 +0000 (10:54 -0300)]
uclibc/defconfig: enable XSI math

ARM926 size delta +12 KB.
It's required for the upcoming mpv package.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoshared-mime-info: add patch to fix parallel installation issue
Thomas Petazzoni [Fri, 22 Apr 2016 21:51:10 +0000 (23:51 +0200)]
shared-mime-info: add patch to fix parallel installation issue

This commit adds a patch that should fix the parallel installation. A
similar patch is used by the Yocto Project, and they have already
submitted it upstream.

Fixes:

  http://autobuild.buildroot.org/results/bb29c8fa5c44eaa575ff641958cba4736d9b2538/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibinput: bump to version 1.2.4
Gustavo Zacarias [Thu, 21 Apr 2016 21:20:52 +0000 (18:20 -0300)]
libinput: bump to version 1.2.4

Forcibly disable wacom support since we haven't got a libwacom package
yet.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibinput: add explicit event-gui handling
Gustavo Zacarias [Thu, 21 Apr 2016 21:20:51 +0000 (18:20 -0300)]
libinput: add explicit event-gui handling

Otherwise since it's automatic it was left to random depending on the
libgtk3/libinput build order.

Also collapse all that whitespace.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogrep: bump to version 2.25
Gustavo Zacarias [Fri, 22 Apr 2016 13:11:19 +0000 (10:11 -0300)]
grep: bump to version 2.25

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibsrtp: fix SHA1 functions conflicts with downstream packages
Vicente Olivert Riera [Wed, 20 Apr 2016 15:22:47 +0000 (16:22 +0100)]
libsrtp: fix SHA1 functions conflicts with downstream packages

Our current version of libsrtp is preventing linphone to build causing
an error like this one:

configure:12952: error: This libsrtp version exports symbols conflicting
with other libraries. Please use the one from
git://git.linphone.org/srtp.git

Backporting an upstream patch to rename the SHA1 functions to avoid
conflicts with downstream packages:

  https://github.com/cisco/libsrtp/commit/c270245a94ae9a007202754eb8f7ce9e48f97007

Fixes:

  http://autobuild.buildroot.net/results/773/7733ee4472834d26cf6bdd4ca557ac19f97290f8/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobinutils: remove 2.22 hash
Thomas Petazzoni [Wed, 20 Apr 2016 21:10:13 +0000 (23:10 +0200)]
binutils: remove 2.22 hash

In commit 2f8459539401938a4ec4fe5f4a207c5d81f2cf74 ("binutils: remove
version 2.22"), binutils 2.22 was removed, but forgot to remove the
corresponding hash from the hash file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: select OpenCV modules needed for mod_cv
Bernd Kuhls [Fri, 22 Apr 2016 08:00:37 +0000 (10:00 +0200)]
package/freeswitch: select OpenCV modules needed for mod_cv

Fixes
http://autobuild.buildroot.net/results/ffd/ffd572d7bb68d8ed46ce76b2af824503c587449f/
http://autobuild.buildroot.net/results/e53/e53e356451aa4541a76e26722fd71051896e774b/
http://autobuild.buildroot.net/results/564/5649ff1b50a1eaafbd0e1a329bff87a65ce18da0/
http://autobuild.buildroot.net/results/c60/c60f97c6aafb1a94cb4ce344953598eae8b4a912/
http://autobuild.buildroot.net/results/c1a/c1ac61f9a77635962babdb6bfb31dbecb7f4d439/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomoarvm: bump to version 2016.04
Francois Perrad [Fri, 22 Apr 2016 11:40:15 +0000 (13:40 +0200)]
moarvm: bump to version 2016.04

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoelf2flt: Update version to fix buffer overflow in output_relocs()
Maxime Coquelin [Fri, 22 Apr 2016 12:59:37 +0000 (14:59 +0200)]
elf2flt: Update version to fix buffer overflow in output_relocs()

This new version contains a patch that fixes the following crash:
make[1]: Entering directory `<...>/build/uclibc-1.0.14'
  CC utils/getconf
*** buffer overflow detected ***: <...>/bin/elf2flt terminated

======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7338f)[0x2ad3be5f738f]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x2ad3be68ec9c]
/lib/x86_64-linux-gnu/libc.so.6(+0x109b60)[0x2ad3be68db60]
/lib/x86_64-linux-gnu/libc.so.6(+0x109069)[0x2ad3be68d069]
/lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0xbc)[0x2ad3be5ff70c]
/lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0xaef)[0x2ad3be5ce7df]
/lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x84)[0x2ad3be68d0f4]
/lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x2ad3be68d04d]
 <...>/bin/elf2flt[0x403cda]
 <...>/bin/elf2flt[0x4030a4]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x2ad3be5a5ec5]
 <...>/bin/elf2flt[0x403642]

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqemu: Add support for arm
Julian Scheel [Fri, 22 Apr 2016 07:18:11 +0000 (09:18 +0200)]
qemu: Add support for arm

Build and operation was successfully tested to Tegra K1 arm platform.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: remove unused calculation of ARCH_SUBDIR
Thomas De Schampheleire [Fri, 12 Feb 2016 19:20:23 +0000 (20:20 +0100)]
toolchain-external: remove unused calculation of ARCH_SUBDIR

In TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LIBS, ARCH_SUBDIR is calculated but not
used, and can thus be removed. Since SYSROOT_DIR is only used for the
calculation of ARCH_SUBDIR, it can be removed too.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: disable v4l simple dmabuf for headers < 3.8
Gustavo Zacarias [Wed, 20 Apr 2016 16:54:43 +0000 (13:54 -0300)]
weston: disable v4l simple dmabuf for headers < 3.8

It uses VIDIOC_EXPBUF which only came to light with kernel 3.8, so
disable it if headers are older. Fixes:
http://autobuild.buildroot.net/results/7fb/7fb9968b13f144c4576b28ecd01c82b74e4ed9d5/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: add build fix for clock_gettime() in librt
Gustavo Zacarias [Wed, 20 Apr 2016 18:38:58 +0000 (15:38 -0300)]
weston: add build fix for clock_gettime() in librt

Over time weston has been manually adding -lrt LDADDs to the Makefile
for clock_gettime() using sources. However this isn't 100% correct since
"modern" glibc versions don't require it so switch all over to a
configure test for that purpose. Fixes:
http://autobuild.buildroot.net/results/a16/a165f439cf5a81c79fe3fa3af7a2a5a30022e7ed/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas: fixed autobuilder reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard: rename ts to technologic
Damien Riegel [Thu, 21 Apr 2016 16:21:12 +0000 (12:21 -0400)]
board: rename ts to technologic

Other projects, such as Linux [1] and U-Boot [2], use "technologic" for
this manufacturer. To be more consistent across all of them, rename the
board/ts folder to board/technologic.

[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/vendor-prefixes.txt
[2] http://git.denx.de/?p=u-boot.git;a=tree;f=board/technologic;hb=HEAD

Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoi386: properly define BR2_ARCH for all x86 subarchitectures
Thomas Petazzoni [Thu, 21 Apr 2016 19:52:45 +0000 (21:52 +0200)]
i386: properly define BR2_ARCH for all x86 subarchitectures

We were not defining BR2_ARCH for two of the x86 subarchitecture,
which means the architecture part of the GNU_TARGET_NAME tuple was
empty, leading to weird build failures.

This commit fixes that by defining the appropriate values.

Fixes bug #8861.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: atmel: xplained boards: bump to linux4sam_5.3
Ludovic Desroches [Tue, 19 Apr 2016 08:53:11 +0000 (10:53 +0200)]
configs: atmel: xplained boards: bump to linux4sam_5.3

Bump defconfigs relative to Xplained boards to linux4sam_5.3 release. It
involves to use at91bootstrap v3.8.5.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/opencv: define modules inter-dependencies
Samuel Martin [Tue, 19 Apr 2016 21:49:01 +0000 (23:49 +0200)]
package/opencv: define modules inter-dependencies

OpenCV allows to enable/disable the selection of modules (a.k.a.
opencv libraries). These modules depend one on the others; these
dependencies are already handled by the build-system (CMake).

However, the way we handled them in Buildroot was not really clean.
For each opencv module, there is a kconfig option, but we forced the
corresponding CMake config option without checking for the modules'
dependencies.
For further details about the issues this situation was causing, refer
to this discussion [1].

This patch replicates the modules' dependency relations in the
Config.in, so that the selection of the user will actually be built.
This changes completes this work [2].

[1] http://lists.busybox.net/pipermail/buildroot/2016-April/159017.html
[2] https://git.buildroot.org/buildroot/commit/?id=3bd5025038a9ecfb2c19a2450a68ae3b0888b440

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosupport/scripts/check-host-rpath: also check HOST_DIR/{bin, sbin}
Samuel Martin [Tue, 19 Apr 2016 21:49:00 +0000 (23:49 +0200)]
support/scripts/check-host-rpath: also check HOST_DIR/{bin, sbin}

At least syslinux is installing stuff in HOST_DIR/sbin.

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorpi-firmware: bump version
Ubaldo Porcheddu [Wed, 20 Apr 2016 08:39:51 +0000 (08:39 +0000)]
rpi-firmware: bump version

This commit bumps the rpi-firmware to a more recent version that
includes support for the Raspberry Pi 3.

Signed-off-by: Ubaldo Porcheddu <ubaldo@eja.it>
[Thomas: tweak commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibgtk3: create icon-theme.cache for icon themes
Gustavo Zacarias [Thu, 21 Apr 2016 11:00:43 +0000 (08:00 -0300)]
libgtk3: create icon-theme.cache for icon themes

It makes icon lookups faster, though it's not strictly necessary.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas: enclsoe the hook definition in the condition.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibgtk3: build gtk-encode-symbolic-svg for host variant
Gustavo Zacarias [Thu, 21 Apr 2016 11:00:42 +0000 (08:00 -0300)]
libgtk3: build gtk-encode-symbolic-svg for host variant

It's required to create the symbolic icons (RGBA/transparent) which some
apps like to use, like connman-gtk.
The added patch avoids the need for a full host-libgtk3 build which would
require host-libepoxy, host-mesa3d and a ton other deps.
And pull in host-librsvg so that we have the rsvg gdk-pixbuf loader
(plugin), otherwise scalable (svg) icons will error when trying to be
processed, like those provided by adwaita-icon-theme.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoshairport-sync: bump to version 2.8.2
Jörg Krause [Thu, 21 Apr 2016 06:33:07 +0000 (08:33 +0200)]
shairport-sync: bump to version 2.8.2

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-validate: bump to version 1.8.1
Gustavo Zacarias [Wed, 20 Apr 2016 23:48:09 +0000 (20:48 -0300)]
gst1-validate: bump to version 1.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-libav: bump to version 1.8.1
Gustavo Zacarias [Wed, 20 Apr 2016 23:48:08 +0000 (20:48 -0300)]
gst1-libav: bump to version 1.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-ugly: bump to version 1.8.1
Gustavo Zacarias [Wed, 20 Apr 2016 23:48:07 +0000 (20:48 -0300)]
gst1-plugins-ugly: bump to version 1.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-bad: bump to version 1.8.1
Gustavo Zacarias [Wed, 20 Apr 2016 23:48:06 +0000 (20:48 -0300)]
gst1-plugins-bad: bump to version 1.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-good: bump to version 1.8.1
Gustavo Zacarias [Wed, 20 Apr 2016 23:48:05 +0000 (20:48 -0300)]
gst1-plugins-good: bump to version 1.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-base: bump to version 1.8.1
Gustavo Zacarias [Wed, 20 Apr 2016 23:48:04 +0000 (20:48 -0300)]
gst1-plugins-base: bump to version 1.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogstreamer1: bump to version 1.8.1
Gustavo Zacarias [Wed, 20 Apr 2016 23:48:03 +0000 (20:48 -0300)]
gstreamer1: bump to version 1.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore/pkg-download: ignore hashes from mirror for VCS downloads
Yann E. MORIN [Sun, 17 Apr 2016 22:17:12 +0000 (00:17 +0200)]
core/pkg-download: ignore hashes from mirror for VCS downloads

When a download via a VCS method fails, Buildroot attempts the download
from the backup mirror (if any is set). Such a download is done with the
wget helper.

Given a package that has a .hash file for relase tarballs, which also
allows the user to use a random revision from a VCS, the normal download
wrapper will not check for hashes, on the assumption that maybe they are
not reproducible [*] (or user configurable).

However, when the download fails (for any reason: network error,
upstream removed the revision, old machine with incomplete set of CA
certificates...), the backup download now proceeds over with http (or
https) with the wget wrapper. The wget wrapper *always* checks for
hashes, and when a .hash file is present but no hash is found for the
download, this is considered an error.

However, when we download from the backup mirror for a main download that
should have been done with git/hq/svn/.., we in this situation have no hash
for the download.  Thus, we should not fail on a missing hash for that
download. Same situation if a primary site is used.

Add a test for the site-method in the DOWNLOAD_INNER macro; if it was either
one of the VCS method, pass a one-off BR_NO_CHECK_HASH_FOR variable set to
contain the tarball to download.

Fixes issues like those reported by the Travis build bots:
    https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/123624879

[Peter: Move logic to beginning of DOWNLOAD_INNER so it also applies for BR2_PRIMARY_SITE]
Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain-external: CodeSourcery NiosII 2015.11 affected by PR19405
Romain Naour [Sat, 20 Feb 2016 12:42:46 +0000 (13:42 +0100)]
toolchain-external: CodeSourcery NiosII 2015.11 affected by PR19405

See bug report https://sourceware.org/bugzilla/show_bug.cgi?id=19405

Fixes:
http://autobuild.buildroot.net/results/ee562524c5b12191e584ceae89006c5a5103e700

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - rename BR2_TOOLCHAIN_BINUTILS_HAS_BUG_19405 to
   BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
 - propagate to the qwt package, which is now selecting
   BR2_PACKAGE_QT_GUI_MODULE.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovpnc: simplify patch 0001
Thomas Petazzoni [Wed, 10 Feb 2016 23:03:10 +0000 (00:03 +0100)]
vpnc: simplify patch 0001

Patch 0001 that adjusts the Makefile to solve cross-compilation issues
does a lot of whitespace changes that are unnecessary. We remove all
those noisy changes to keep only the really interesting ones.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovpnc: switch to github as the new site
Thomas Petazzoni [Wed, 10 Feb 2016 23:03:09 +0000 (00:03 +0100)]
vpnc: switch to github as the new site

The vpnc upstream project has not made any tarball release since many
years, but they have continued to update their Subversion
repository.

A Github repository synced with the Subversion repository now exists
at https://github.com/ndpgroup/vpnc, which is more practical to
generate patches and submit pull requests. For this reason, we move to
using this Github repository as the new source for the vpnc
package. The specific commit that we use corresponds to version 0.5.3
exactly.

All patches are re-formatted using Git.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoflannel: new package
Geoff Levand [Mon, 4 Apr 2016 19:31:49 +0000 (19:31 +0000)]
flannel: new package

Flannel is a virtual network that gives a subnet to each host for use
with container runtimes.

Cc: Brandon Philips <brandon.philips@coreos.com>
Signed-off-by: Geoff Levand <geoff@infradead.org>
[Thomas:
  - Don't select BR2_PACKAGE_HOST_GO since this option was removed.
  - Take into account the rename of BR2_PACKAGE_GO_ARCH_SUPPORTS to
    BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS.
  - Rewrap Config.in help text, it was slightly too large.
  - Don't use the github function (the link was anyway incorrect), but
    instead a direct link to the tarball, since the tarballs are
    uploaded by the maintainers.
  - Update the hash accordingly.
  - Use $() to reference make variables and not ${}.
  - Call the go compiler from $(HOST_DIR)/usr/bin, rather than from
    HOST_GO_ROOT.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogo: new host package
Geoff Levand [Mon, 4 Apr 2016 19:31:49 +0000 (19:31 +0000)]
go: new host package

Add a new package 'go' which builds the host cross compiler and
libraries for the go programming language.

Signed-off-by: Geoff Levand <geoff@infradead.org>
[Thomas:
 - Put the computation of GO_GOARM inside the ifeq ($(BR2_arm),y)
   condition rather than duplicating this condition.
 - Remove the GO_GOARCH=unknown case, since there is no way to fall in
   this case as only supported architectures can use host-go.
 - Remove the GO_GOARM=unknown case, since we are sure that only
   ARMv5/6/7 will use host-go.
 - Rename HOST_GO_FINAL to HOST_GO_ROOT, since it's really the "root"
   of the Go installation.
 - Remove visible Config.in.host option.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogo-bootstrap: new host package
Geoff Levand [Mon, 4 Apr 2016 19:31:49 +0000 (19:31 +0000)]
go-bootstrap: new host package

Add a new package go-bootstrap which builds a bootstrap compiler for the
go programming language.

Signed-off-by: Geoff Levand <geoff@infradead.org>
[Thomas:
 - Rename GO_BOOTSTRAP_FINAL to HOST_GO_BOOTSTRAP_ROOT. Use the HOST_
   prefix because this variable is specific to the host variant. And
   it's not "final" at all, but rather the "root" of the Go Bootstrap
   installation.
 - Rename GO_BOOTSTRAP_MAKE_ENV to HOST_GO_BOOTSTRAP_MAKE_ENV, also to
   have the HOST_ prefix because it's a host package.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosquid: security bump to version 3.5.17
Gustavo Zacarias [Wed, 20 Apr 2016 18:38:10 +0000 (15:38 -0300)]
squid: security bump to version 3.5.17

Fixes:
SQUID-2016:5 (CVE-2016-4051) - Buffer overflow in cachemgr.cgi
SQUID-2016:6 (CVE-2016-4052) - Multiple issues in ESI processing.
CVE-2016-4053 & CVE-2016-4054 which are part of SQUID-2016:6.

Switch to xz-compressed tarball as well.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: explicit latest kernel version
Vivien Didelot [Tue, 19 Apr 2016 20:52:32 +0000 (16:52 -0400)]
linux: explicit latest kernel version

When setting BR2_LINUX_KERNEL_LATEST_VERSION, it is hard for the user to
know that this version is subject to change in the future.

Explicit this in the Kconfig entry text.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiperf3: bump to version 3.1.2
Jörg Krause [Wed, 20 Apr 2016 08:35:43 +0000 (10:35 +0200)]
iperf3: bump to version 3.1.2

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-certifi: bump to version 2016.2.28
Yegor Yefremov [Wed, 20 Apr 2016 08:41:56 +0000 (10:41 +0200)]
python-certifi: bump to version 2016.2.28

Use upstream MD5 checksum.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: bump default to version 4.5.2
Gustavo Zacarias [Wed, 20 Apr 2016 10:01:56 +0000 (07:01 -0300)]
linux: bump default to version 4.5.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 3.{14, 18}.x and 4.{1, 4, 5}.x series
Gustavo Zacarias [Wed, 20 Apr 2016 10:01:55 +0000 (07:01 -0300)]
linux-headers: bump 3.{14, 18}.x and 4.{1, 4, 5}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoopenssl: enable aarch64 optimization
Matthew Shyu [Tue, 19 Apr 2016 10:26:46 +0000 (18:26 +0800)]
openssl: enable aarch64 optimization

Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosqlite: bump version to 3120200
Vicente Olivert Riera [Tue, 19 Apr 2016 09:39:22 +0000 (10:39 +0100)]
sqlite: bump version to 3120200

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agofio: add optional dependency on libaio
Thomas Petazzoni [Tue, 19 Apr 2016 21:38:41 +0000 (23:38 +0200)]
fio: add optional dependency on libaio

fio can automatically detect and use libaio when available, so this
commit makes this optional dependency explicit.

Suggested by Charles <ckhardin@exablox.com> in bug #8851.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogcc: disable split-stack for non-thread builds
Waldemar Brodkorb [Mon, 7 Mar 2016 14:10:28 +0000 (15:10 +0100)]
gcc: disable split-stack for non-thread builds

This fixes bug 8766:
https://bugs.busybox.net/show_bug.cgi?id=8766

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-pam: add optional libselinux and audit dependencies
Niranjan Reddy [Wed, 16 Mar 2016 11:45:35 +0000 (17:15 +0530)]
linux-pam: add optional libselinux and audit dependencies

This patch adds optional libselinux and audit packages
to linux-pam package.

Signed-off-by: Niranjan Reddy <niranjan.reddy@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotzdata: reorder zone list to avoid missing links
Michel Marti [Fri, 8 Apr 2016 08:23:27 +0000 (10:23 +0200)]
tzdata: reorder zone list to avoid missing links

The 'backward' zone references entries from other zones (e.g. Pacific/*)
that have not yet been compiled, leading to missing links. To fix this,
take-over the zone list sort order from upstream 'tzdata' and also ensure
that make fails if zic terminates with a non-zero exit code.

Signed-off-by: Michel Marti <mma@objectxp.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocbootimage: new package
Julian Scheel [Thu, 17 Mar 2016 15:03:57 +0000 (16:03 +0100)]
cbootimage: new package

Add package for cbootimage host utility that is able to compile bct
files and generate flashable images out of a bct and an image for
tegra processors.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotegrarcm: new package
Julian Scheel [Thu, 17 Mar 2016 15:03:56 +0000 (16:03 +0100)]
tegrarcm: new package

Add package for the tegrarcm host utility that allows loading data to
tegra processors in recovery mode.

Signed-off-by: Julian Scheel <julian@jusst.de>
[Thomas: replace cryptopp cross-compilation fix by a more
autoconf-style solution, which has been submitted upstream.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocryptopp: new package
Julian Scheel [Thu, 17 Mar 2016 15:03:55 +0000 (16:03 +0100)]
cryptopp: new package

Signed-off-by: Julian Scheel <julian@jusst.de>
[Thomas:
 - put HOST_CRYPTOPP_EXTRACT_CMDS earlier in the file, since it's what
   gets executed first.
 - fix typo in the name of HOST_CRYPTOPP_MAKE_OPTS
 - pass -fPIC in CXXFLAGS, since we're building a shared library
 - just call "make shared" for the build and "make install" for the
   installation.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: atmel: sama5d2 has vfpv4-d16
Ludovic Desroches [Tue, 19 Apr 2016 15:24:09 +0000 (17:24 +0200)]
configs: atmel: sama5d2 has vfpv4-d16

The datasheet indicates vfpv4 but it stands for vfpv4-d16 not vfpv4-32.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tzdata: bump version to 2016d
Martin Bark [Tue, 19 Apr 2016 08:20:53 +0000 (09:20 +0100)]
package/tzdata: bump version to 2016d

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/zic: bump version to 2016d
Martin Bark [Tue, 19 Apr 2016 08:20:52 +0000 (09:20 +0100)]
package/zic: bump version to 2016d

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorrdtool: bump to version 1.5.6
Gustavo Zacarias [Tue, 19 Apr 2016 13:19:18 +0000 (10:19 -0300)]
rrdtool: bump to version 1.5.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconnman: bump to version 1.32
Gustavo Zacarias [Tue, 19 Apr 2016 11:45:18 +0000 (08:45 -0300)]
connman: bump to version 1.32

Drop upstream patches and add a new build fix (submitted upstream).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoccache: bump to version 3.2.5
Gustavo Zacarias [Tue, 19 Apr 2016 16:00:27 +0000 (13:00 -0300)]
ccache: bump to version 3.2.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/jack2: Fix build on nios2
Bernd Kuhls [Tue, 19 Apr 2016 17:36:46 +0000 (19:36 +0200)]
package/jack2: Fix build on nios2

Fixes
http://autobuild.buildroot.net/results/8f3/8f3d2139de7f85f729e0555f8513fdbd177cbadd/
http://autobuild.buildroot.net/results/5d2/5d2f049ab9fa6a1a4e3fa9884983ab66b2fccb56/
http://autobuild.buildroot.net/results/85a/85a4a7ee4cf5c0b65e4543a524909d9c0422eea4/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonvme: add optional udev support
Samuel Mendoza-Jonas [Tue, 19 Apr 2016 01:54:24 +0000 (11:54 +1000)]
nvme: add optional udev support

Commands like 'nvme list' require libudev but support for libudev is
decided at compile time, and in buildroot this is hard disabled.
Add a check for udev and if it is available build nvme with udev
support.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
[Thomas:
 - add comment to explain the LIBUDEV variable value
 - use += instead of = to assign <pkg>_MAKE_OPTS.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoraspberrypi, raspberrypi2: document the two consoles (UART+HDMI)
Luca Ceresoli [Mon, 18 Apr 2016 21:41:30 +0000 (23:41 +0200)]
raspberrypi, raspberrypi2: document the two consoles (UART+HDMI)

The defconfigs for the Raspberry Pi boards start a console on HDMI in
addition to the classic one on UART. Document this feature in the
readme.

Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/opencv: add inter-module dependencies
Bernd Kuhls [Mon, 18 Apr 2016 20:17:54 +0000 (22:17 +0200)]
package/opencv: add inter-module dependencies

As stated by Samuel the opencv2 package lacks inter-module dependencies:
http://lists.busybox.net/pipermail/buildroot/2016-April/158902.html

This patch adds the necessary code for freeswitch's mod_cv to compile.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosyslinux: Allow to build multiple flavors simultaneously
Benoît Allard [Thu, 17 Mar 2016 08:09:16 +0000 (09:09 +0100)]
syslinux: Allow to build multiple flavors simultaneously

This becomes handy when building hybrid images that needs to be able
to boot in MBR and GPT mode.

Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
Tested-by: Matt Weber <matt@thewebers.ws>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch/x86: remove support for i386
Thomas Petazzoni [Sun, 17 Apr 2016 21:31:34 +0000 (23:31 +0200)]
arch/x86: remove support for i386

The Linux kernel doesn't even support i386 anymore, there is no NPTL
support for i386 and uClibc-ng only supports NPTL on x86, so there is
essentially no usable thread implementation. Most likely glibc and
musl also don't support i386 either. So it's time to remove the
support for this architecture variant.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonetsnmp: ensure lm-sensors is available if enabled
Peter Korsgaard [Mon, 18 Apr 2016 14:43:10 +0000 (16:43 +0200)]
netsnmp: ensure lm-sensors is available if enabled

The ucd-snmp/lmsensorsMib module uses lm-sensors, so ensure netsnmp is built
after lm-sensors if enabled.

As the list of mib modules to built is configured using a string option in
Kconfig, we cannot easily select lm-sensors from the netsnmp package - But
we can at least ensure it gets built before hand if enabled.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoboard/minnowboard-max: Add a X-based graphical defconfig
Ezequiel García [Sat, 16 Apr 2016 15:23:23 +0000 (12:23 -0300)]
board/minnowboard-max: Add a X-based graphical defconfig

This commit adds a new defconfig to build a X-based
graphical system for the Minnowboard MAX board.

  * The 'openbox' windows manager is chosen because it's simple
    and lightweigth.

  * Basic X apps are enabled (such as xrandr, xterm), so we
    can at least get a console and change video mode.

  * ALSA default configuration is provided, so HDMI audio
    works out-of-the-box.

  * OpenGL is supported.

Tested on Minnoboard Turot (which is Minnowboard Max compatible).

[Peter: drop unneeded/specific toolchain config options]
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoboard/minnowboard-max: Add more peripherals and features to the kernel
Ezequiel García [Sat, 16 Apr 2016 15:23:22 +0000 (12:23 -0300)]
board/minnowboard-max: Add more peripherals and features to the kernel

This commit enables support for:
  * HDMI audio
  * Support for user-provided EDID firmware
    (useful to workaround broken monitors)
  * Evdev interface
  * System V IPC (required by ALSA)

The options make the system more useful.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoboard/minnowboard: Unify Minnowboard and Minnowboard MAX boards
Ezequiel García [Fri, 15 Apr 2016 15:56:05 +0000 (12:56 -0300)]
board/minnowboard: Unify Minnowboard and Minnowboard MAX boards

Given Minnowboard and Minnowboard MAX boards are very similar,
it's desirable to unify the support for them.

This commit does the following:

  1) Remove Minnowboard MAX's genimage.cfg, post-build.sh
     and post-image.sh. These are identical to Minnowboard's.

  2) Move Minnowboard MAX's linux config, and rename it.

     It would be lovely to have a single kernel config file.
     The kernel size penalty involved in adding support for
     all the peripherals on both boards is small enough to
     justify this.

     However, the original Minnowboard has some GPIO buttons
     that need to be registered by the kernel. This is not
     upstreamed, and hence we need to use the yocto v3.8 kernel
     to have this support.

  3) Rename each grub config to grub-{board}.cfg.

  4) Modify (the now unique) post-build script to use
     a different grub config, according to the board.

  5) Update both defconfigs, as per the above changes.

  6) Finally, update the readme.txt.

[Peter: mention MAX in readme title]
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoboard/minnowboard: Rework to generate SD card image
Ezequiel García [Sat, 16 Apr 2016 15:23:20 +0000 (12:23 -0300)]
board/minnowboard: Rework to generate SD card image

Let's rework the board and config files to use genimage
to generate the SD card image directly.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocore/pkg-kconfig: Do not use $(call ...) without parameters
Romain Izard [Mon, 18 Apr 2016 09:23:02 +0000 (11:23 +0200)]
core/pkg-kconfig: Do not use $(call ...) without parameters

When there are no parameters, simply use $(var) instead of $(call var)

Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore/pkg-kconfig: Factorize make commands
Romain Izard [Mon, 18 Apr 2016 09:23:01 +0000 (11:23 +0200)]
core/pkg-kconfig: Factorize make commands

Use a variable to factorize the calls to make, as we use the same set
of options multiple times.

Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogcc: fix ccache hash of patches in BR2_GLOBAL_PATCH_DIR
Arnout Vandecappelle (Essensium/Mind) [Wed, 13 Apr 2016 04:20:31 +0000 (04:20 +0000)]
gcc: fix ccache hash of patches in BR2_GLOBAL_PATCH_DIR

In commit f4682cf933, a hash of the patches applied to gcc was created
to make sure that ccache can properly detect when the toolchain has
changed. The patches applied to gcc consist of the buildroot patches in
package/gcc, but also potentially patches in BR2_GLOBAL_PATCH_DIR.
However, the path to the patches in BR2_GLOBAL_PATCH_DIR was corrected
incorrectly, because it misses a /. So instead of:

$(BR2_GLOBAL_PATCH_DIR)/gcc-initial/*.patch

it would look for

$(BR2_GLOBAL_PATCH_DIR)gcc-initial/*.patch

In other words, if BR2_GLOBAL_PATCH_DIR doesn't end with /, the patches
in BR2_GLOBAL_PATCH_DIR are not taken into account in the ccache hash.

To fix, add the missing /

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: He Chunhui <hchunhui@mail.ustc.edu.cn>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5webkit: restore package
Gary Bisson [Wed, 13 Apr 2016 13:40:35 +0000 (15:40 +0200)]
qt5webkit: restore package

Although this package has been removed from the official release
packages since Qt5.6.0, it is still available for users to build
it from source. This is useful for platforms without GPU since its
successor (QtWebEngine) requires OpenGL support.

The package now matches the community-based meta-qt5 Yocto layer,
using the exact same revision of the qtwebkit source from github:
https://github.com/meta-qt5/meta-qt5/commit/e434995a

Here is the project source tree:
https://github.com/qtproject/qtwebkit

All the patches have been pulled from Yocto as well.

Since we are now using the source from the git repository, we need
to create an empty .git/ folder to force the headers re-generation.
https://github.com/meta-qt5/meta-qt5/blob/jethro/recipes-qt/qt5/qt5.inc#L33

Note that GPLv3 license option has been added with this release.

Reviewed-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
[Thomas: fix license to be LGPLv2.1+, not LGPLv2+.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5serialbus: new package
Yegor Yefremov [Tue, 29 Mar 2016 13:23:44 +0000 (15:23 +0200)]
qt5serialbus: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Julien Corjon <corjon.j@ecagroup.com>
[Thomas: better handling for !shared case.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5quickcontrols2: new package
Peter Seiderer [Fri, 8 Apr 2016 21:33:10 +0000 (23:33 +0200)]
qt5quickcontrols2: new package

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5canvas3d: new package
Julien Corjon [Mon, 4 Apr 2016 15:37:35 +0000 (17:37 +0200)]
qt5canvas3d: new package

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoipmitool: add patch to fix missing stddef include
Jörg Krause [Mon, 18 Apr 2016 19:39:12 +0000 (21:39 +0200)]
ipmitool: add patch to fix missing stddef include

Needed for wchar_t. Fixes build error:

imbapi.h:140:9: error: unknown type name 'wchar_t'
 typedef wchar_t      WCHAR;

Fixes:
http://autobuild.buildroot.net/results/9e9/9e99aa8aebf68667b8c054b64e49de6dd73dd53d/
http://autobuild.buildroot.net/results/496/49637fcab9cd8e6278257158574fd7574f97bc30/
http://autobuild.buildroot.net/results/6a3/6a37f69ac40d60a1735afe5974cabec3ca5de41f/

Upstream status: Pending
https://sourceforge.net/p/ipmitool/mailman/message/35022779/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5location: new package
Julien Corjon [Mon, 4 Apr 2016 14:10:53 +0000 (16:10 +0200)]
qt5location: new package

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tvheadend: revert minimum required ffmpeg version numbers
Bernd Kuhls [Sat, 2 Apr 2016 17:17:29 +0000 (19:17 +0200)]
package/tvheadend: revert minimum required ffmpeg version numbers

Fixes
http://autobuild.buildroot.net/results/e62/e62dd4dbdb4c92bc657936566e73388e76343903/
and many others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoltp-testsuite: build kernel modules when appropriate
Marc Gonzalez [Tue, 5 Apr 2016 11:09:40 +0000 (13:09 +0200)]
ltp-testsuite: build kernel modules when appropriate

If we're building a kernel, we can also build LTP's test modules.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: add qemu_xtensa_lx60_nommu_defconfig
Max Filippov [Fri, 1 Apr 2016 09:22:04 +0000 (12:22 +0300)]
configs: add qemu_xtensa_lx60_nommu_defconfig

Add noMMU configuration running on dc233c MMUv3 core with identity
memory map.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/qemu_xtensa_lx60_defconfig: switch to dc233c
Max Filippov [Fri, 1 Apr 2016 09:22:03 +0000 (12:22 +0300)]
configs/qemu_xtensa_lx60_defconfig: switch to dc233c

dc232b is MMUv2 core, dc233c is very similar MMUv3 core. MMUv3 is the
latest full MMU for xtensa, which allows running both MMU and noMMU
linux variants.
Update configuration overlay and linux config file.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoelf2flt: enable for xtensa
Max Filippov [Thu, 31 Mar 2016 04:23:40 +0000 (07:23 +0300)]
elf2flt: enable for xtensa

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomesa3d/mesa3d-headers: bump version to 11.2.1
Gustavo Zacarias [Mon, 18 Apr 2016 13:46:30 +0000 (10:46 -0300)]
mesa3d/mesa3d-headers: bump version to 11.2.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoutil-linux: bump to version 2.28
Gustavo Zacarias [Mon, 18 Apr 2016 13:59:48 +0000 (10:59 -0300)]
util-linux: bump to version 2.28

Drop upstream patches (0004-0008).
Convert 0001-sscanf-no-ms-as.patch to git format.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorp-pppoe: select pppd
Gustavo Zacarias [Mon, 18 Apr 2016 14:48:13 +0000 (11:48 -0300)]
rp-pppoe: select pppd

There's no benefit on it being an autodep since it makes it harder to
find, and pppd can be selected directly.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorp-pppoe: bump to version 3.12
Gustavo Zacarias [Mon, 18 Apr 2016 14:48:12 +0000 (11:48 -0300)]
rp-pppoe: bump to version 3.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: update to uClibc-ng 1.0.14
Waldemar Brodkorb [Mon, 18 Apr 2016 19:03:02 +0000 (21:03 +0200)]
uclibc: update to uClibc-ng 1.0.14

Remove patch, which was applied upstream.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoraspberrypi, raspberrypi2: add a serial console
Luca Ceresoli [Sun, 17 Apr 2016 21:45:46 +0000 (23:45 +0200)]
raspberrypi, raspberrypi2: add a serial console

The current Buildroot defconfigs for Raspberry Pi and Raspberry Pi 2
instantiate a console on tty1, which appears on HDMI. Add a console on
the serial port (ttyAMA0) to be more consistent with other defconfigs
and provide a better out-of-the-box experience to users used to have a
serial console from Buildroot defconfigs.

This requires three changes:
 1. have two 'console=' entries in the kernel command line: tty1,
    then ttyAMA0;
 2. change BR2_TARGET_GENERIC_GETTY_PORT to "console", so it starts
    a getty on the last console= passed to the kernel, ttyAMA0;
 3. add a new getty on tty1 to the generated inittab.

Step 2 is actually obtained by removing BR2_TARGET_GENERIC_GETTY_PORT
entirely from the defconfigs, since "console" is the default value.

Step 3 requires a post-build script since the Buildroot makefiles can
configure only one console.

Note: instead of simply adding a new getty on ttyAMA0 (which would
work) this patch actually changes BR2_TARGET_GENERIC_GETTY_PORT to
instantiate a console on UART, then adds back tty1 via
post-build.sh. This is done only to avoid the "GENERIC_SERIAL" comment
where we instantiate an HDMI console, then instantiate a really-serial
console on another line.

The result is these two inittab lines:

  console::respawn:/sbin/getty -L  console 0 vt100 # GENERIC_SERIAL
  tty1::respawn:/sbin/getty -L  tty1 0 vt100 # HDMI console

Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocannelloni: make SCTP support optional
Yegor Yefremov [Mon, 18 Apr 2016 10:06:58 +0000 (12:06 +0200)]
cannelloni: make SCTP support optional

Since version 20160414 SCTP support is optional. Introduce an automatic
optional dependency for this protocol.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosupport/scripts: fix graph-depends when run with python3
Samuel Martin [Sun, 17 Apr 2016 21:41:48 +0000 (23:41 +0200)]
support/scripts: fix graph-depends when run with python3

Make graph-depends script opening the output file in text mode since
only ascii characters will be written.

This change fixes the following error occuring when the default host
python interpreter is python3:

  make: Entering directory '/opt/buildroot'
  Getting targets
  Getting dependencies for ['toolchain-external', 'toolchain', 'busybox', ...]
  Getting dependencies for ['host-python3', 'host-pkgconf', 'host-gettext', ...]
  Getting dependencies for ['host-libxml2', 'host-swig', 'host-m4', ...]
  Getting version for ['toolchain-external', 'toolchain', 'busybox', ...]
  Traceback (most recent call last):
    File "/opt/buildroot/support/scripts/graph-depends", line 425, in <module>
      outfile.write("digraph G {\n")
  TypeError: a bytes-like object is required, not 'str'
  Makefile:807: recipe for target 'graph-depends' failed
  make[1]: *** [graph-depends] Error 1
  Makefile:84: recipe for target '_all' failed
  make: *** [_all] Error 2
  make: Leaving directory '/opt/buildroot'

While with python2, adding 'b' to the openning mode has no effect on
Linux (c.f. [2]), the above error is expected with python3 (c.f. [1]).

Therefore, just open the outfile in default (i.e. text) mode.

[1] https://docs.python.org/3/library/functions.html#open
[2] https://docs.python.org/2/library/functions.html#open

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>