buildroot.git
7 years agombedtls: bump to version 2.4.0
Rahul Jain [Tue, 6 Dec 2016 10:42:28 +0000 (16:12 +0530)]
mbedtls: bump to version 2.4.0

This change also fixes
http://autobuild.buildroot.net/results/27b/27b35d03b576392955e21498ac1e62590ef5f5db/build-end.log

Signed-off-by: Rahul Jain <Rahul.Jain@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoffmpeg: fix build for ffplay
Phil Eichinger [Tue, 6 Dec 2016 14:32:37 +0000 (15:32 +0100)]
ffmpeg: fix build for ffplay

Upstream has dropped SDL support for ffplay in favor of SDL2.
This results in silently not building ffplay even if it is selected
in Buildroot config.

[Peter: propagate !static dependency from sdl2]
Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/shairport-sync: bump version to 2.8.6
Jörg Krause [Tue, 6 Dec 2016 10:56:42 +0000 (11:56 +0100)]
package/shairport-sync: bump version to 2.8.6

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosysklogd: fix build on musl
Thomas Petazzoni [Mon, 28 Nov 2016 22:20:58 +0000 (23:20 +0100)]
sysklogd: fix build on musl

This commit add a stack of small patches that make sysklogd build fine
with the musl C library. Build with uClibc and glibc has been tested
with those patches applied as well.

The first patch is slightly rework (better description and capital
letter to the title) in preparation for upstream submission.

Fixes:

  http://autobuild.buildroot.net/results/8fa2bf73f983330884bce2e5ac31e01dee112ba9/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoraspberrypi-usbboot: new package
Thomas Petazzoni [Mon, 5 Dec 2016 20:59:06 +0000 (21:59 +0100)]
raspberrypi-usbboot: new package

This new package currently installs the "rpiboot" utility, which is
needed to access via USB mass storage the built-in eMMC of Raspberry Pi
compute modules.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoDEVELOPERS: remove Tom Sparks
Thomas Petazzoni [Tue, 6 Dec 2016 09:08:06 +0000 (10:08 +0100)]
DEVELOPERS: remove Tom Sparks

Tom privately notified that he is not able to support the packages he
originally added in Buildroot, so this commit removes him from the
DEVELOPERS file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external-linaro-{arm,armeb}: allow on ARMv8
Thomas Petazzoni [Mon, 5 Dec 2016 22:15:43 +0000 (23:15 +0100)]
toolchain-external-linaro-{arm,armeb}: allow on ARMv8

The Linaro toolchains are currently only available on ARMv7-A, but can
in fact also be used to generate 32 bits code for ARMv8 platforms. This
commit therefore adjusts their architecture dependency.

Example, a 32 bits ARM build produces a 32 bits busybox binary:

$ file output/target/bin/busybox
output/target/bin/busybox: setuid ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 2.6.32, BuildID[sha1]=16a7a70eb9cac08759e52a260478b9c287f59238, stripped

Which was built for Cortex-A72:

$ ./output/host/usr/bin/arm-linux-gnueabihf-readelf -A output/target/bin/busybox
Attribute Section: aeabi
File Attributes
  Tag_CPU_name: "Cortex-A72"
  Tag_CPU_arch: v8
  Tag_CPU_arch_profile: Application
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-2
  Tag_FP_arch: FP for ARMv8
  Tag_ABI_PCS_wchar_t: 4
  Tag_ABI_FP_rounding: Needed
  Tag_ABI_FP_denormal: Needed
  Tag_ABI_FP_exceptions: Needed
  Tag_ABI_FP_number_model: IEEE 754
  Tag_ABI_align_needed: 8-byte
  Tag_ABI_align_preserved: 8-byte, except leaf SP
  Tag_ABI_enum_size: int
  Tag_ABI_VFP_args: VFP registers
  Tag_CPU_unaligned_access: v6
  Tag_MPextension_use: Allowed
  Tag_Virtualization_use: TrustZone and Virtualization Extensions

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: add Cortex-A57 and Cortex-A72
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:11 +0000 (22:12 +0100)]
arch/Config.in.arm: add Cortex-A57 and Cortex-A72

Add two popular ARM64 cores to the list of supported cores: Cortex-A57
and Cortex-A72.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: Add Cortex-A53 CPU
Matt Flax [Wed, 30 Nov 2016 21:12:10 +0000 (22:12 +0100)]
arch/Config.in.arm: Add Cortex-A53 CPU

Adds the Cortex-A53 CPU to the target architecture variant choice. This
sets the toolchain to use Cortex-A53 as the target. The effect is that
various Cortex-A53 tunings are enabled for the compilation of packages.

Signed-off-by: Matt Flax <flatmax@flatmax.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: specify ABI for ARM64
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:09 +0000 (22:12 +0100)]
arch/Config.in.arm: specify ABI for ARM64

There's currently only one widely supported ABI for ARM64, called lp64,
so we define BR2_GCC_TARGET_ABI to the appropriate value.

Note that there is another ABI for ARM64 being worked on, ilp32, but its
support is not fully upstream in the kernel, so we're not adding support
for it for the moment.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: add FPU related options for ARMv8 cores
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:08 +0000 (22:12 +0100)]
arch/Config.in.arm: add FPU related options for ARMv8 cores

The ARMv8 cores have a mandatory FPU unit called FP-ARMv8, so we:

 - add a new hidden Config.in option for the availability of this
   unit (BR2_ARM_CPU_HAS_FP_ARMV8)

 - allow the selection of a possible choice in the "Floating point
   strategy", and add two new choices: BR2_ARM_FPU_FP_ARMV8 and
   BR2_ARM_FPU_NEON_FP_ARMV8.

 - specify the -mfpu values for BR2_ARM_FPU_FP_ARMV8 and
   BR2_ARM_FPU_NEON_FP_ARMV8 cases, when used on ARM 32 bits (-mfpu
   doesn't exist on ARM64, instead -mcpu modifiers are used, so they
   will be added on a per-core basis).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[yann.morin.1998@free.fr: drop the FP strategy dependency]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/arm: drop legacy dependency for floating point strategy
Yann E. MORIN [Wed, 30 Nov 2016 21:12:07 +0000 (22:12 +0100)]
arch/arm: drop legacy dependency for floating point strategy

The floating point strategy currently depends on EABI || EABIHF. The
reason was that, wayback when we also supported OABI, we only exposed FP
for EABI or EABIHF, and hide it for OABI, which did not support FP.

It's been a while now that we do not support OABI, but the dependency
stuck all along.

Remove it as it is no longer needed, and is always true.

However, the choice is empty for AArch64, as we still have no entry for
their floating point strategy yet.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: add BR2_ARM_CPU_ARMV8
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:06 +0000 (22:12 +0100)]
arch/Config.in.arm: add BR2_ARM_CPU_ARMV8

In order to prepare the addition of ARM64 cores, add the blind
BR2_ARM_CPU_ARMV8 option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: prepare addition of 64 bits cores
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:05 +0000 (22:12 +0100)]
arch/Config.in.arm: prepare addition of 64 bits cores

Until now the "Target Architecture Variant" choice was not visible on
AArch64. In order to prepare the addition of the 64 bits core to this
choice, this commit adds a "depends on !BR2_ARCH_IS_64" dependency to
all currently supported cores (that are 32 bits only).

Following this commit, the "Target Architecture Variant" choice appears
on AArch64, but is for now empty.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch: merge Config.in.aarch64 into Config.in.arm
Thomas Petazzoni [Wed, 30 Nov 2016 21:12:04 +0000 (22:12 +0100)]
arch: merge Config.in.aarch64 into Config.in.arm

The 64 bits ARM processors are capable of running 32 bits ARM code, and
some platforms are indeed using this capability. Due to this, if we were
to keep the separation between Config.in.aarch64 and Config.in.arm, we
would have to duplicate the definition of all 64-bits capable ARM cores
into both files.

Instead of going down this route, let's take the same route as the x86
one: a single Config.in.x86 file, used for both x86 32 bits and x86 64
bits, with the appropriate logic to only show the relevant cores
depending on which architecture is selected.

In order to do this, we:

 - Make the "ARM instruction set" choice only visible on ARM 32 bits,
   since we currently don't support ARM vs. Thumb on AArch64.

 - Add the relevant values for the BR2_ARCH option.

 - Add the relevant values for the BR2_ENDIAN option.

 - Make the "aapcs-linux" BR2_GCC_TARGET_ABI value only used on ARM 32
   bits, since this ABI doesn't mean anything on AArch64.

 - Make the BR2_GCC_TARGET_FPU option depends on ARM 32 bits, since
   there is no -mfpu option on AArch64.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agovim: be more careful when removing the documentation
Thomas Petazzoni [Mon, 5 Dec 2016 20:36:32 +0000 (21:36 +0100)]
vim: be more careful when removing the documentation

The current VIM_REMOVE_DOCS hook removes all .txt files from
/usr/share/vim. Unfortunately, this also removes the rgb.txt file,
which is needed at runtime for vim, as reported in bug #9466.

This commit changes VIM_REMOVE_DOCS to remove only
/usr/share/vim/vim*/doc/. Size-wise, it's equivalent because:

 - We are no longer removing a few README.txt in other directories,
   taking more space.

 - We are now removing the /usr/share/vim/vim*/doc/ folder entirely,
   which contained a few files not named *.txt

So overall, the size of /usr/share/vim/ before and after this patch is
still 11MB.

Fixes bug #9466.

Reported-by: Mateusz Furdyna <sir.ferdek@gmail.com>
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>
7 years agopkg-autotools: generic configure fix for powerpc64
Sam bobroff [Mon, 28 Nov 2016 05:11:39 +0000 (16:11 +1100)]
pkg-autotools: generic configure fix for powerpc64

Many (100+) packages supported by buildroot contain old configure
scripts (or build them from old versions of autotools) that are unable
to determine how to link shared libraries on powerpc64 and
powerpc64le. This causes that test to erroneously fail on toolchains
that are not "bi-endian" (which is the case for toolchains built by
buildroot), which causes configure to build static libraries instead
of dynamic ones. Although these builds succeed, they tend to cause
linker failures in binaries later linked against them.

Because affected configure files can be discovered automatically, this
patch introduces a hook (enabled only when building for powerpc64 and
powerpc64le) that uses a script to scan and fix each package.

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopru-software-support: fix licensing information
Thomas Petazzoni [Mon, 5 Dec 2016 21:40:01 +0000 (22:40 +0100)]
pru-software-support: fix licensing information

Fix the path to the license file, and adjust the licensing information
according to the contents of this file.

Fixes:

  http://autobuild.buildroot.net/results/213cdda78b0a4762ee4fecc0f178df1225062c6f/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/liquid-dsp: fix build failure on powerpc64le
Sam bobroff [Mon, 5 Dec 2016 03:30:57 +0000 (14:30 +1100)]
package/liquid-dsp: fix build failure on powerpc64le

Commit 7d435d8510db69ed2f9108abaa52479bce127b72 fixed building on
powerpc and powerpc64. This extends that fix to cover powerpc64le,
which suffers from the same problem.

Fixes:
http://autobuild.buildroot.net/results/45c4651a833e4667d4ef68e619cf4b5749a288da

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonginx-dav-ext: depends on BR2_PACKAGE_NGINX_HTTP_DAV_MODULE
Johan Oudinet [Mon, 5 Dec 2016 14:28:25 +0000 (15:28 +0100)]
nginx-dav-ext: depends on BR2_PACKAGE_NGINX_HTTP_DAV_MODULE

This package adds missing WebDAB commands to NGINX. So, it makes sense
iff Nginx is compiled with the WebDAV support.

Fixes:

  http://autobuild.buildroot.net/results/6e997faf553dc70d0aa1ee811fd669650349cba2/

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
[Thomas: fix indentation, add autobuilder reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonginx-naxsi: depends on BR2_PACKAGE_NGINX_HTTP
Johan Oudinet [Mon, 5 Dec 2016 14:28:24 +0000 (15:28 +0100)]
nginx-naxsi: depends on BR2_PACKAGE_NGINX_HTTP

This package adds XSS and SQLi protection to Nginx HTTP server.
So, it makes sense iff the HTTP part of nginx is enabled.

Fixes:

  http://autobuild.buildroot.net/results/1df67325f11a6f1c88d0c9cc5f4feab0b57bc2a6/

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
[Thomas: fix indentation, add autobuilder reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefivar: not available for static builds
Rahul Bedarkar [Mon, 5 Dec 2016 16:08:22 +0000 (21:38 +0530)]
efivar: not available for static builds

efivar uses dlfcn.h which is not available in static builds
configuration. Also propagate dependency to efibootmgr. This commit
also does s/requires/needs/ in comment while at it.

Fixes:
  http://autobuild.buildroot.net/results/ab3/ab32ccacfac2e65e1fcb307058d06c3d0122979d/

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogstreamer1: fix compile for microblaze and xtensa architectures
Peter Seiderer [Mon, 5 Dec 2016 20:27:15 +0000 (21:27 +0100)]
gstreamer1: fix compile for microblaze and xtensa architectures

Fix unaligned access support detection introduced to gstreamer
by commit 'gstconfig.h: Detect unaligned access support at compile-time' ([1])
by assuming no unaligned support for unknown architectures.

Fixes [2], [3]:

  ../gst/gstconfig.h:112:4: error: #error "Could not detect architecture; don't know whether it supports unaligned access! Please file a bug."
  #  error "Could not detect architecture; don't know whether it supports unaligned access! Please file a bug."

[1] https://cgit.freedesktop.org/gstreamer/gstreamer/commit/?h=1.10&id=6ef601367e0f5adb7a8b02cec94dec04fccf701a
[2] http://autobuild.buildroot.net/results/c1cd60d3f44f2938e5f42453d034ea070898f837
[3] http://autobuild.buildroot.net/results/c3a6662f0acfda179a58cdad9165f36826229826

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agochrony: bump version to 2.4.1
Peter Korsgaard [Mon, 5 Dec 2016 20:07:02 +0000 (21:07 +0100)]
chrony: bump version to 2.4.1

Fixes a crash issue with smoothtime directive.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoti-cgt-pru: fix typo in comment
Peter Korsgaard [Mon, 5 Dec 2016 07:07:49 +0000 (08:07 +0100)]
ti-cgt-pru: fix typo in comment

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/openpowerlink: fix build with Linux kernel 4.7+
Romain Naour [Thu, 3 Nov 2016 21:05:23 +0000 (22:05 +0100)]
package/openpowerlink: fix build with Linux kernel 4.7+

dev->trans_start was replaced by netif_trans_update helper in kernel
4.7 by commit 860e9538a9482bb84589f7d0718a7e6d0a944d58.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/openpowerlink: bump to v2.5.0
Romain Naour [Thu, 3 Nov 2016 21:05:22 +0000 (22:05 +0100)]
package/openpowerlink: bump to v2.5.0

 - Rebase existing patches
 - Use a "menu" instead of "choice" to select Ethernet Powerlink
   Drivers since we can now build several kernel modules at once.
 - Select the Intel 82573 driver by default.
 - Disable library with simulation interface.
 - Disable zynq/FPGA (PCIe) interface otherwise the kernelpcp library
   is always build.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
[Thomas: minor Config.in tweaks.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqextserialport: remove redundant patch 0001-gui
Arnout Vandecappelle [Thu, 24 Nov 2016 22:37:47 +0000 (23:37 +0100)]
qextserialport: remove redundant patch 0001-gui

The same thing was done in upstream commit 220d7a2f "QtGui module only
needed by Windows", though it was done differently upstream.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add developer for nginx-dav-ext
Thomas Petazzoni [Sun, 4 Dec 2016 22:35:31 +0000 (23:35 +0100)]
DEVELOPERS: add developer for nginx-dav-ext

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonginx: group the external modules enabling logic
Thomas Petazzoni [Sun, 4 Dec 2016 22:34:17 +0000 (23:34 +0100)]
nginx: group the external modules enabling logic

This commit moves the logic that allows to enable the naxsi external
module below the "external modules" comment, which was already used for
the upload and dav-ext modules.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonginx-dav-ext: new package
Johan Oudinet [Tue, 29 Nov 2016 16:47:51 +0000 (17:47 +0100)]
nginx-dav-ext: new package

Nginx built-in support for webdav is missing support for two commands:
PROPFIND and OPTIONS. This commit adds a new package that provides an
external nginx module with improved webdav support.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
[Thomas:
 - Remove the BR2_PACKAGE_NGINX_HTTP_DAV_EXT_MODULE sub-option of the
   nginx package. The BR2_PACKAGE_NGINX_DAV_EXT option is sufficient.
 - Move the nginx.mk code together with another external module being
   enabled, nginx-upload.
 - Add LICENSE and LICENSE_FILES variables.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoerlang: odbc support requires thread support
Thomas Petazzoni [Sun, 4 Dec 2016 21:44:56 +0000 (22:44 +0100)]
erlang: odbc support requires thread support

Fixes:

  http://autobuild.buildroot.net/results/cba60679fa916128796a7b4131ed50403bc74798/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: add upstream hash link
Romain Naour [Sun, 4 Dec 2016 20:58:44 +0000 (21:58 +0100)]
package/aubio: add upstream hash link

Paul Brossier, the aubio maintainer, added a sha256 hash for the
Buildroot package. Thanks !

https://github.com/aubio/aubio/issues/77

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopru-software-support: add library for PRU firmware
Ash Charles [Fri, 2 Dec 2016 04:22:41 +0000 (23:22 -0500)]
pru-software-support: add library for PRU firmware

TI provides a set of headers files and libraries useful in developing
firmware for real-time (PRU) cores embedded in some processors e.g.
AM3358.  This package stages these files for any packages creating
PRU firmware.

Note: As per [1], use commit v4.0.2 to sync with common TI Linux
      versions.

[1] http://e2e.ti.com/support/arm/sitara_arm/f/791/p/552190/2018113#2018113

Signed-off-by: Ash Charles <ash.charles@savoirfairelinux.com>
[Thomas:
 - rename BR2_PACKAGE_PRU_EXAMPLES to BR2_PACKAGE_PRU_SOFTWARE_SUPPORT,
   since the package directory name should match the Config.in option
   for this package
 - use select for BR2_PACKAGE_HOST_TI_CGT_PRU, and therefore add the
   appropriate "depends on BR2_PACKAGE_HOST_TI_CGT_PRU_ARCH_SUPPORTS".]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoti-cgt-pru: add package for PRU Host toolchain
Ash Charles [Fri, 2 Dec 2016 04:22:40 +0000 (23:22 -0500)]
ti-cgt-pru: add package for PRU Host toolchain

TI provides a binary code generation toolchain to develop firmware for
the programmable real-time unit/co-processor found in some SOCs such as
some models in the AM335x line. This toolchain includes C/C++ support
(clpru) rather than just assembler (pasm) supported by the pre-existing
am335x-pru-package [1].  Following the lead of the Yocto meta-ti
layer [2], this package provides a host toolchain suitable for an x86
(or x86_64) Linux targeting an ARM-based PRU core.

[1] http://processors.wiki.ti.com/index.php/PRU_Assembly_Instructions#pasm_vs._clpru
[2] http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-ti/devtools/ti-cgt-pru_2.1.1.bb

Signed-off-by: Ash Charles <ash.charles@savoirfairelinux.com>
[Thomas: add BR2_PACKAGE_HOST_TI_CGT_PRU_ARCH_SUPPORTS boolean option,
so that packages selecting host-ti-cgt-pru can easily inherit its
architecture dependencies.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomksh: update to R54
Waldemar Brodkorb [Sun, 4 Dec 2016 18:08:40 +0000 (19:08 +0100)]
mksh: update to R54

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/olimex_a20_olinuxino_lime_mali: bump kernel version
Romain Naour [Sun, 4 Dec 2016 16:30:25 +0000 (17:30 +0100)]
configs/olimex_a20_olinuxino_lime_mali: bump kernel version

Bump the kernel to the next commit which fix the build with gcc6.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Francois Perrad <francois.perrad@gadz.org>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Waldemar as developer for uclibc-ng-test
Thomas Petazzoni [Sun, 4 Dec 2016 20:50:40 +0000 (21:50 +0100)]
DEVELOPERS: add Waldemar as developer for uclibc-ng-test

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add entry for aubio
Romain Naour [Sun, 4 Dec 2016 16:30:26 +0000 (17:30 +0100)]
DEVELOPERS: add entry for aubio

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibxmlrpc: fix build without C++ compiler
Alvaro Gamez Machado [Sun, 4 Dec 2016 15:55:40 +0000 (16:55 +0100)]
libxmlrpc: fix build without C++ compiler

Conditionally disable compilation of optional C++ module.

Fixes:

  http://autobuild.buildroot.net/results/cbff6c816606a515467d467677763533a41fc276/

Signed-off-by: Alvaro Gamez Machado <alvaro.gamez@hazent.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/tzdata: bump version to 2016j
Martin Bark [Sat, 3 Dec 2016 14:36:27 +0000 (14:36 +0000)]
package/tzdata: bump version to 2016j

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/zic: bump version to 2016j
Martin Bark [Sat, 3 Dec 2016 14:36:26 +0000 (14:36 +0000)]
package/zic: bump version to 2016j

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add tzdata and zic to my list
Martin Bark [Sat, 3 Dec 2016 14:36:25 +0000 (14:36 +0000)]
DEVELOPERS: add tzdata and zic to my list

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: add ffmpeg libav optional dependency
Romain Naour [Sat, 3 Dec 2016 12:17:39 +0000 (13:17 +0100)]
package/aubio: add ffmpeg libav optional dependency

Aubio libav support require libavcodec, libavformat, libavutil and
libavresample. Enable libav support only when
BR2_PACKAGE_FFMPEG_AVRESAMPLE is set.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: add fftw optional dependency
Romain Naour [Sat, 3 Dec 2016 12:17:38 +0000 (13:17 +0100)]
package/aubio: add fftw optional dependency

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: add jack2 optional dependency
Romain Naour [Sat, 3 Dec 2016 12:17:37 +0000 (13:17 +0100)]
package/aubio: add jack2 optional dependency

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: add libsamplerate optional dependency
Romain Naour [Sat, 3 Dec 2016 12:17:36 +0000 (13:17 +0100)]
package/aubio: add libsamplerate optional dependency

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: add libsndfile optional dependency
Romain Naour [Sat, 3 Dec 2016 12:17:35 +0000 (13:17 +0100)]
package/aubio: add libsndfile optional dependency

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: new package
Romain Naour [Sat, 3 Dec 2016 12:17:34 +0000 (13:17 +0100)]
package/aubio: new package

Aubio attempt to build aubio.so shared library so disable it for static
build only.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libdrm: bump version to 2.4.74
Bernd Kuhls [Sat, 3 Dec 2016 10:42:08 +0000 (11:42 +0100)]
package/libdrm: bump version to 2.4.74

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolsqlite3: fix hash
Francois Perrad [Sat, 3 Dec 2016 09:25:13 +0000 (10:25 +0100)]
lsqlite3: fix hash

see http://autobuild.buildroot.net/results/9c8973271591dbcd4e7ba397961cd8209cf4d2f6

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xserver_xorg-server: bump version to 1.19.0
Bernd Kuhls [Sat, 3 Dec 2016 11:58:09 +0000 (12:58 +0100)]
package/x11r7/xserver_xorg-server: bump version to 1.19.0

This release bumped video ABI to version 23
https://cgit.freedesktop.org/xorg/xserver/commit/hw/xfree86/common/xf86Module.h?id=8d3f0e964e399dcfa8eb5e85d405217fdc5dbcd4
https://cgit.freedesktop.org/xorg/xserver/commit/hw/xfree86/common/xf86Module.h?id=c07b796b47ae7f5a616d5e8e02ab0f84dc438a93
https://cgit.freedesktop.org/xorg/xserver/commit/hw/xfree86/common/xf86Module.h?id=4af00242ef1e39499b932d12423fdf449296090a

and depends on xlib_libXfont2
https://cgit.freedesktop.org/xorg/xserver/commit/?id=05a793f5b3c40747d5a92a076def7f4fb673c7e7

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-intel: bump version to fix crash with xserver_xorg...
Bernd Kuhls [Sat, 3 Dec 2016 11:58:08 +0000 (12:58 +0100)]
package/x11r7/xdriver_xf86-video-intel: bump version to fix crash with xserver_xorg-server 1.19.x

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xdriver_xf86-video-qxl: add support for xlib_libXfont2
Bernd Kuhls [Sat, 3 Dec 2016 11:58:07 +0000 (12:58 +0100)]
package/x11r7/xdriver_xf86-video-qxl: add support for xlib_libXfont2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xlib_libXfont2: new package
Bernd Kuhls [Sat, 3 Dec 2016 11:58:06 +0000 (12:58 +0100)]
package/x11r7/xlib_libXfont2: new package

Needed for xserver_xorg-server 1.19+
https://cgit.freedesktop.org/xorg/xserver/commit/?id=05a793f5b3c40747d5a92a076def7f4fb673c7e7

We need to keep the xlib_libXfont package because xapp_bdftopcf and
xapp_xfs were not ported yet to xlib_libXfont2:
https://lists.x.org/archives/xorg-announce/2016-August/002702.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/nvidia-driver: bump version to 375.20
Bernd Kuhls [Sat, 3 Dec 2016 11:58:05 +0000 (12:58 +0100)]
package/nvidia-driver: bump version to 375.20

http://www.nvidia.com/download/driverResults.aspx/111596/en-us
"Added support for X.Org xserver ABI 23 (xorg-server 1.19)"

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/tor: bump version to 0.2.8.10
Bernd Kuhls [Sat, 3 Dec 2016 12:05:47 +0000 (13:05 +0100)]
package/tor: bump version to 0.2.8.10

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agorpi-userland: bump version
Peter Seiderer [Sat, 3 Dec 2016 23:11:37 +0000 (00:11 +0100)]
rpi-userland: bump version

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agorpi-firmware: bump version
Peter Seiderer [Sat, 3 Dec 2016 23:11:36 +0000 (00:11 +0100)]
rpi-firmware: bump version

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoraspberrypi3_defconfig: bump kernel version to 4.4.36
Peter Seiderer [Sat, 3 Dec 2016 23:11:35 +0000 (00:11 +0100)]
raspberrypi3_defconfig: bump kernel version to 4.4.36

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoraspberrypi2_defconfig: bump kernel version to 4.4.36
Peter Seiderer [Sat, 3 Dec 2016 23:11:34 +0000 (00:11 +0100)]
raspberrypi2_defconfig: bump kernel version to 4.4.36

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoraspberrypi_defconfig: bump kernel version to 4.4.36
Peter Seiderer [Sat, 3 Dec 2016 23:11:33 +0000 (00:11 +0100)]
raspberrypi_defconfig: bump kernel version to 4.4.36

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoraspberrypi0_defconfig: bump kernel version to 4.4.36
Peter Seiderer [Sat, 3 Dec 2016 23:11:32 +0000 (00:11 +0100)]
raspberrypi0_defconfig: bump kernel version to 4.4.36

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocjson: bump to version v1.0.2
Fabrice Fontaine [Sat, 3 Dec 2016 19:47:45 +0000 (20:47 +0100)]
cjson: bump to version v1.0.2

This is a major update in cjson:
 - project site moved from sourceforge to github
 - project recommends to use the new cmake buildsystem instead of the
   legacy make
 - BR2_STATIC_LIBS is now OK (README does not mention issue anymore)
 - As include path and library name have changed, tinycbor has to be
   updated
 - As cjson can now be built as a static library, fix a bug in
   json2cbor compilation from tinycbor package

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/dependencies: use the new kconfig option to check UTF8 locale
Yann E. MORIN [Sun, 4 Dec 2016 09:43:06 +0000 (10:43 +0100)]
support/dependencies: use the new kconfig option to check UTF8 locale

Currently, we require a host with an UTF-8 locale as soone as we build a
Buildroot toolchain with support for locales. This means that we do
erquire such a locale when building a toolchain with either uClibc,
glibc or musl.

However, glibc and musl do not require such a locale to be present.

Use the new option to check if an UTF8 locale is needed on the host,
rather than deriving that from toolchain settings.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/uclibc: needs a host with an UTF8 locale to build locales
Yann E. MORIN [Sun, 4 Dec 2016 09:43:05 +0000 (10:43 +0100)]
package/uclibc: needs a host with an UTF8 locale to build locales

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore: add a kconfig option to require an UTF8 locale on the host
Yann E. MORIN [Sun, 4 Dec 2016 09:43:04 +0000 (10:43 +0100)]
core: add a kconfig option to require an UTF8 locale on the host

This can be selected when we need the host to have an UTF-8 locale
(e.g. to build uClibc with support for locales).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/tor: add optional support for libcap
Bernd Kuhls [Sun, 4 Dec 2016 10:37:22 +0000 (11:37 +0100)]
package/tor: add optional support for libcap

- without libcap
$ host/usr/bin/x86_64-linux-readelf -a target/usr/bin/tor | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libevent-2.0.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.0]

- with libcap
$ host/usr/bin/x86_64-linux-readelf -a target/usr/bin/tor | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [libevent-2.0.so.5]
 0x0000000000000001 (NEEDED)             Shared library: [libssl.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [libcrypto.so.1.0.0]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libcap.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.0]

The tor configure script has no option to en-/disable libcap support.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc: update to 1.0.20
Waldemar Brodkorb [Sun, 4 Dec 2016 11:20:27 +0000 (12:20 +0100)]
uclibc: update to 1.0.20

The test suite is removed from the package and is already a separate
package in buildroot. All patches are upstream, so remove them.
The UCLIBC_HAS_LFS option is removed upstream.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas: remove BR2_UCLIBC_INSTALL_TEST_SUITE option, add it to
Config.in.legacy.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/enlightenment: bump to version 0.21.4
Romain Naour [Sun, 4 Dec 2016 12:22:04 +0000 (13:22 +0100)]
package/enlightenment: bump to version 0.21.4

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/efl: use liblz4 from lz4 package
Romain Naour [Sun, 4 Dec 2016 12:22:05 +0000 (13:22 +0100)]
package/efl: use liblz4 from lz4 package

Efl libraries bundle a copy of liblz4 which is also provided by
lz4 Buildroot package. Switch to liblz4 from lz4 package.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-libust: needs autoreconf
Thomas Petazzoni [Sun, 4 Dec 2016 14:03:10 +0000 (15:03 +0100)]
lttng-libust: needs autoreconf

The recently introduced
0002-doc-examples-Makefile.am-define-C-and-C-compilers-fo.patch touches
Makefile.am, so lttng-libust needs to be autoreconfed.

Fixes:

  http://autobuild.buildroot.net/results/e917552ea1069da74c4e392556914d05c010a250/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-babeltrace: remove patch applied upstream
Thomas Petazzoni [Sun, 4 Dec 2016 09:08:23 +0000 (10:08 +0100)]
lttng-babeltrace: remove patch applied upstream

In commit 5b0dac7ef5d8106ec77d128c53f480fd8721c05c, when bumping to
lttng-babeltrace, one patch was kept while it had been applied in the
upstream babeltrace project, causing a build failure.

The patch 0003-fix-uuid-support-detection-on-static-build.patch has been
applied upstream as 2741f55be80ae8af169ae795ea28d2a39c18fa60 in the
master branch, and as d94e7873e9080e820e7742e468736b1317a88de1 in the
maintenance branch that was used to tag 1.5.0.

Fixes:

  http://autobuild.buildroot.net/results/585f960eb81b0e15858aadc4aca516af23012b61/
  (and about a hundred of similar build failures)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocmake: pass HOST_CONFIGURE_OPTS at configure time
Thomas Petazzoni [Sat, 3 Dec 2016 15:24:23 +0000 (16:24 +0100)]
cmake: pass HOST_CONFIGURE_OPTS at configure time

Since we bumped CMake from 3.5.2 to 3.6.3 in commit
99ed85d74081a8611a6f6d1f3d745a5c40aef975, CMake uses pkg-config during
its configure step to find available libraries on the host.

If host-pkgconf was not built before host-cmake, everything was working
fine. However, if host-pkgconf was built before, the configure step of
host-cmake was finding pkg-config and used it to find
libraries. Unfortunately, since we were not passing
PKG_CONFIG_PATH/PKG_CONFIG_SYSROOT_DIR, pkg-config was behaving in its
"default" mode, i.e returning results valid when building things for the
target, not for the host. This lead to header paths pointing to the
staging directory being used when building native binary objects,
causing all sort of build failures.

This commit fixes that by passing $(HOST_CONFIGURE_OPTS) to the
environment of host-cmake configure step. This variable contains
HOST_MAKE_ENV, which itself contains the appropriate
PKG_CONFIG_PATH/PKG_CONFIG_SYSROOT_DIR definitions.

At the same time, we drop LDFLAGS="$(HOST_LDFLAGS)" because this
definition is already in $(HOST_CONFIGURE_OPTS).

Fixes:

  http://autobuild.buildroot.net/results/4e703ed8c2eb0f914794038b0ef7bd73a67f38ce/
  (and 424 similar build failures)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonodejs: security bump 0.10.x series to 0.10.48
Peter Korsgaard [Fri, 2 Dec 2016 20:16:52 +0000 (21:16 +0100)]
nodejs: security bump 0.10.x series to 0.10.48

c-ares: fix for single-byte buffer overwrite, CVE-2016-5180, more
information at https://c-ares.haxx.se/adv_20160929.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofwts: bump to version V16.11.00
Erico Nunes [Fri, 2 Dec 2016 22:40:17 +0000 (23:40 +0100)]
fwts: bump to version V16.11.00

Build- and run-tested on x86_64 and aarch64.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoacpica: bump to version 20161117
Erico Nunes [Fri, 2 Dec 2016 22:40:16 +0000 (23:40 +0100)]
acpica: bump to version 20161117

Build- and run-tested on x86_64 and aarch64.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/tinc: upgrade to upstream version 1.0.30
Zoltan Gyarmati [Fri, 2 Dec 2016 22:34:00 +0000 (23:34 +0100)]
package/tinc: upgrade to upstream version 1.0.30

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/qjson: upgrade to upstream 0.9.0, update CMakeLists.txt patch to properly...
Zoltan Gyarmati [Fri, 2 Dec 2016 22:27:26 +0000 (23:27 +0100)]
package/qjson: upgrade to upstream 0.9.0, update CMakeLists.txt patch to properly apply

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/crudini: upgrade to 0.8
Zoltan Gyarmati [Fri, 2 Dec 2016 22:21:19 +0000 (23:21 +0100)]
package/crudini: upgrade to 0.8

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/norm: make it a waf-package
Yann E. MORIN [Sun, 30 Oct 2016 16:02:21 +0000 (17:02 +0100)]
package/norm: make it a waf-package

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mpv: make it a waf-package
Yann E. MORIN [Sun, 30 Oct 2016 16:02:20 +0000 (17:02 +0100)]
package/mpv: make it a waf-package

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libimxvpuapi: make it a waf-package
Yann E. MORIN [Sun, 30 Oct 2016 16:02:19 +0000 (17:02 +0100)]
package/libimxvpuapi: make it a waf-package

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/jack2: make it a waf-package
Yann E. MORIN [Sun, 30 Oct 2016 16:02:18 +0000 (17:02 +0100)]
package/jack2: make it a waf-package

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Wojciech M. Zabolotny <wzab01@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/gst1-imx: make it a waf-package
Yann E. MORIN [Sun, 30 Oct 2016 16:02:17 +0000 (17:02 +0100)]
package/gst1-imx: make it a waf-package

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gary Bisson <gary.bisson@boundarydevices.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/glmark2: make it a waf-package
Yann E. MORIN [Sun, 30 Oct 2016 16:02:16 +0000 (17:02 +0100)]
package/glmark2: make it a waf-package

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Spenser Gilliland <spenser@gillilanding.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodeveloppers: add myself as pkg-waf devel
Yann E. MORIN [Sun, 30 Oct 2016 16:02:15 +0000 (17:02 +0100)]
developpers: add myself as pkg-waf devel

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocs/manual: document the waf-package infra
Yann E. MORIN [Sun, 30 Oct 2016 16:02:14 +0000 (17:02 +0100)]
docs/manual: document the waf-package infra

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
[Thomas: adjust to the changes in the infra, fix typos.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore: add waf-package infra
Yann E. MORIN [Sun, 30 Oct 2016 16:02:13 +0000 (17:02 +0100)]
core: add waf-package infra

This new waf-package infrastructure simplifies writing waf-based
packages. It can be used by our six current such packages, plus a
later-incoming one by Romain.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - rename <pkg>_BUNDLED_WAF to <pkg>_NEEDS_EXTERNAL_WAF, which
   involves inverting the meaning of the boolean.
 - always add the host-python dependency
 - add a default value for <pkg>_NEEDS_EXTERNAL_WAF (defaults to NO)
 - remove the unneeded <pkg>_MAKE related definitions.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/waf: new host package
Yann E. MORIN [Sun, 30 Oct 2016 16:02:12 +0000 (17:02 +0100)]
package/waf: new host package

host-waf will be used by waf-based packages that do not include it in
their release tarballs, like mpv.

mpv is currently the only case we have, but with the upcoming
waf-package infra, having host-waf available just makes the infra
complete from the onset.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
[Thomas: drop dependency on host-python, it's really a runtime dependency.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agostella: fix bug when compiling with PPC altivec vectorization
Sergio Prado [Thu, 1 Dec 2016 18:33:24 +0000 (16:33 -0200)]
stella: fix bug when compiling with PPC altivec vectorization

PPC altivec vectorization triggers a bug when compiling with -std=c++11
because "bool" is redefined in altivec.h.

src/emucore/Event.hxx:112:23: error: cannot convert ‘bool’ to ‘__vector(4) __bool int’ in assignment
         myKeyTable[i] = false;
                       ^

Acording to a bug report in GCC [1], "You need to use -std=g++11 or
undefine bool after the include of altivec.h as context sensitive
keywords is not part of the C++11 standard".

So let's compile with -std=gnu++11 by default.

Tested on ARM, x86 and PPC.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58241#c3

Fixes:
http://autobuild.buildroot.net/results/0970d2c8e1787ceffc46b589522e53d52675e03c
http://autobuild.buildroot.net/results/ec1bc57675b6e53af0cd33d7b99cd2e3bf5d9d7e

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocs/manual: fix FOO_PKGDIR name and definition
Danomi Manchego [Fri, 2 Dec 2016 02:41:52 +0000 (21:41 -0500)]
docs/manual: fix FOO_PKGDIR name and definition

Change "foo" references to "libfoo" in section that defines variables
explicitly stated to relate to a "libfoo" package.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain: Bump ARC tools to arc-2016.09-rc2
Zakharov Vlad [Fri, 2 Dec 2016 18:38:12 +0000 (21:38 +0300)]
toolchain: Bump ARC tools to arc-2016.09-rc2

As described at:
4520524ba055706236db9f00dd79f1b2e2e87fde
this commit continues a series of updates of ARC tools.
This time we're updating tools to arc-2016.09-rc2.

This change contains a set of minor fixes and updates.

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibinput: bump to version 1.5.2
Gustavo Zacarias [Fri, 2 Dec 2016 17:42:34 +0000 (14:42 -0300)]
libinput: bump to version 1.5.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibxkbcommon: bump to version 0.7.0
Gustavo Zacarias [Fri, 2 Dec 2016 17:42:04 +0000 (14:42 -0300)]
libxkbcommon: bump to version 0.7.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agobtrfs-progs: bump to version 4.8.5
Gustavo Zacarias [Fri, 2 Dec 2016 14:02:24 +0000 (11:02 -0300)]
btrfs-progs: bump to version 4.8.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodbus: bump to version 1.10.14
Gustavo Zacarias [Fri, 2 Dec 2016 14:23:19 +0000 (11:23 -0300)]
dbus: bump to version 1.10.14

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agokexec: fix build when BR2_STRIP_none=y
Marcin Nowakowski [Fri, 2 Dec 2016 11:51:57 +0000 (12:51 +0100)]
kexec: fix build when BR2_STRIP_none=y

When BR2_STRIP is set to none, a dummy 'true' app is used instead of
strip utility. However, kexec package always requires a real strip
executable as it is used to generate intermediate files during the build
process.

If 'true' is used the build system runs the following command:

true --strip-debug -o purgatory/purgatory.ro purgatory/purgatory.ro.sym

which obviously doesn't do anything useful and the build later fails
with:

bin/bin-to-hex purgatory < purgatory/purgatory.ro > kexec/purgatory.c
/bin/sh: purgatory/purgatory.ro: No such file or directory
kexec/Makefile:7: recipe for target 'kexec/purgatory.c' failed
make[2]: *** [kexec/purgatory.c] Error 1

To resolve it always specify STRIP=$(CROSS_COMPILE)strip, regardless of
buildroot configuration.

[Peter: add a comment explaining why this is done]
Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux: bump default to version 4.8.12
Gustavo Zacarias [Fri, 2 Dec 2016 13:15:01 +0000 (10:15 -0300)]
linux: bump default to version 4.8.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux-headers: bump 4.{4, 8}.x series
Gustavo Zacarias [Fri, 2 Dec 2016 13:15:00 +0000 (10:15 -0300)]
linux-headers: bump 4.{4, 8}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>