buildroot.git
7 years agojpeg: rework jpeg-turbo simd support handling
Peter Korsgaard [Sun, 11 Dec 2016 15:52:17 +0000 (16:52 +0100)]
jpeg: rework jpeg-turbo simd support handling

In preperation for adding more architectures to the jpeg-turbo simd
handling, introduce a hidden BR2_PACKAGE_JPEG_SIMDS_SUPPORT symbol and use
that to enable simd support and default to jpeg-turbo, instead of open
coding it in both places.

While we are at it, reword the help text to be more useful.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agojpeg-turbo: now checks for pkg-config
Peter Korsgaard [Sun, 11 Dec 2016 15:52:16 +0000 (16:52 +0100)]
jpeg-turbo: now checks for pkg-config

The jpeg-turbo configure script now contains PKG_PROG_PKG_CONFIG, even
though it doesn't so far use pkg-config to detect any dependencies (it does
install a .pc file now though):

checking pkg-config is at least version 0.9.0... ./configure: line 13540: \
  /home/peko/source/buildroot/output/host/usr/bin/pkg-config: No such file or directory

Depend on host-pkgconf for consistency.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoacl: backport upstream patch to fix static build
Rahul Bedarkar [Sun, 11 Dec 2016 15:30:43 +0000 (21:00 +0530)]
acl: backport upstream patch to fix static build

When building tar package with acl in static build configuration, we
get definition clash error for 'quote' function.

../gnu/libgnu.a(quotearg.o): In function 'quote':
quotearg.c:(.text+0x12fc): multiple definition of 'quote'
../sysroot/usr/lib/libacl.a(quote.o):/home/test/autobuild/run/instance-1/output/build/acl-2.2.52/libmisc/quote.c:27: first defined here

In acl upstream, this is already fixed by renaming quote and unquote
internal functions. This commit backports upstream patch.

Fixes:
  http://autobuild.buildroot.net/results/d64/d64d13745c980d322d3b80c3b324d03eb7f17262

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodoc/manual: document the new waf-package infra variables
Romain Naour [Sun, 11 Dec 2016 15:10:15 +0000 (16:10 +0100)]
doc/manual: document the new waf-package infra variables

Document LIBFOO_WAF_OPTS, LIBFOO_BUILD_OPTS, LIBFOO_INSTALL_STAGING_OPTS
and LIBFOO_INSTALL_TARGET_OPTS.

Also document LIBFOO_CONF_OPTS which was missing in waf-package
reference.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoe2fsprogs: pass LDCONFIG=true also at install time
Maxime Hadjinlian [Fri, 18 Nov 2016 15:24:26 +0000 (16:24 +0100)]
e2fsprogs: pass LDCONFIG=true also at install time

We correctly set LDCONFIG=true for MAKE_OPTS, but not for the other
steps which don't inherit it, and therefore e2fsprogs tries to use the
host ldconfig during staging and target installation, which causes some
weird error messages at build time (even if they don't abort the build).

Fix that by passing LDCONFIG=true at install time.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain/wrapper: use the {str, len} tuples for the unsafe paths
Yann E. MORIN [Sun, 4 Dec 2016 09:21:56 +0000 (10:21 +0100)]
toolchain/wrapper: use the {str, len} tuples for the unsafe paths

In 61cb120 (toolchain/wrapper: extend paranoid check to -isystem), we
introduced a {str,len} tuple to check the various arguments pased to
gcc, to avoid hard-coding an ever-growing, long list of those args
directly in the condition check.

Now, we're left with a long list of unsafe paths, somehow hidden within
the code, which can use the same mechanism we use for arguments.

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 agotoolchain/wrapper: make the {str, len} tuple more generic, add comments
Yann E. MORIN [Sun, 4 Dec 2016 09:21:55 +0000 (10:21 +0100)]
toolchain/wrapper: make the {str, len} tuple more generic, add comments

In 61cb120 (toolchain/wrapper: extend paranoid check to -isystem), we
introduced a {str,len} tuple to check the various arguments passed to
gcc, to avoid hard-coding an ever-growing, long list of those args
directly in the condition check.

It was made specific to the arguments (the structure member is named
'arg'), but can also be used to store the unsafe paths as well.

Also, that piece is almost un-documented.

Rename the structure member so that it is more generic, and add a bit of
comments to explain the whole of it.

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 agoConfig.in.legacy: findfs is available in BR2_PACKAGE_UTIL_LINUX_BINARIES
Phil Eichinger [Thu, 1 Dec 2016 14:45:33 +0000 (15:45 +0100)]
Config.in.legacy: findfs is available in BR2_PACKAGE_UTIL_LINUX_BINARIES

031659024b3cf27bb68dc58d07519b563ef472a1 removed the option
BR2_PACKAGE_UTIL_LINUX_FINDFS as it is always built by default.

Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/aubio: disable unit tests with --notests
Romain Naour [Tue, 6 Dec 2016 19:49:09 +0000 (20:49 +0100)]
package/aubio: disable unit tests with --notests

For each build step, --notests needs to be passed to waf script
to avoid runing the unit tests.
This allow to remove the patch removing the unit tests from wscript.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-waf: add a common variable for each step
Romain Naour [Tue, 6 Dec 2016 19:49:08 +0000 (20:49 +0100)]
pkg-waf: add a common variable for each step

Some waf packages may want to pass additional variables to waf script
for each build step. Add the possibility to do so by defining
<pkg>_WAF_OPTS.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-waf: add additional variables for build step
Romain Naour [Tue, 6 Dec 2016 19:49:07 +0000 (20:49 +0100)]
pkg-waf: add additional variables for build step

Some waf packages may want to pass additional variables to waf script in
build step. Add the possibility to do so by defining <pkg>_BUILD_OPTS.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-waf: add additional variables for each install step
Romain Naour [Tue, 6 Dec 2016 19:49:06 +0000 (20:49 +0100)]
pkg-waf: add additional variables for each install step

Some waf packages may want to pass additional variables to waf script
in install step. Add the possibility to do so by defining the
following variables:

  <pkg>_INSTALL_STAGING_OPTS for the install to staging directory
  <pkg>_INSTALL_TARGET_OPTS for the install to target directory

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add darkhttpd package to Eric Le Bihan
Thomas Petazzoni [Sun, 11 Dec 2016 14:10:44 +0000 (15:10 +0100)]
DEVELOPERS: add darkhttpd package to Eric Le Bihan

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodarkhttpd: new package
Eric Le Bihan [Sat, 10 Dec 2016 19:37:59 +0000 (20:37 +0100)]
darkhttpd: new package

This new package provides darkhttpd, a simple, fast HTTP 1.1 web server
for static content.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/enlightenment: remove uClibc 0.9.33 workaround
Romain Naour [Sat, 10 Dec 2016 21:29:08 +0000 (22:29 +0100)]
package/enlightenment: remove uClibc 0.9.33 workaround

This workaround was added for uClibc <= 0.9.33.2 by commit [1].
This issue has been fixed long time ago in uClibc-ng for powerpc [2], sparc and
xtensa [3].

Nowadays, enlightenment can't be selected for xtensa ans sparc due to luajit
dependency from the efl stack and uClibc 0.9.33 was removed from Buildroot
since 2016.02 release.

[1] https://git.buildroot.net/buildroot/commit/?id=37acd25ee1376de5734415ac60be16991ee6d150
[2] http://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=90298bc4fb1303151d6213d13beefcf9b378c5e1
[3] https://git.buildroot.net/buildroot/commit/?id=0b056944f5878304f51af3e9edb6d596f24fc370

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agojpeg-turbo: fix legal info
Rahul Bedarkar [Sun, 11 Dec 2016 08:00:29 +0000 (13:30 +0530)]
jpeg-turbo: fix legal info

Update name of license file

Fixes:
  http://autobuild.buildroot.net/results/e97/e97edb7dc573912fd140ac681952634584e9ab32

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agomimic: fix legal info
Rahul Bedarkar [Sun, 11 Dec 2016 08:00:28 +0000 (13:30 +0530)]
mimic: fix legal info

Name of license file is 'COPYING'.

Fixes:
  http://autobuild.buildroot.net/results/846/846b42d484e8d3e261eb3699a485d589f6bbab62

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/matchbox-lib: fix xlib libcomposite and libxpm symbols
Romain Naour [Sat, 10 Dec 2016 15:57:13 +0000 (16:57 +0100)]
package/matchbox-lib: fix xlib libcomposite and libxpm symbols

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/taglib: bump version to 1.11.1
Bernd Kuhls [Sat, 10 Dec 2016 19:30:29 +0000 (20:30 +0100)]
package/taglib: bump version to 1.11.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libass: bump version to 0.13.4
Bernd Kuhls [Sat, 10 Dec 2016 19:24:19 +0000 (20:24 +0100)]
package/libass: bump version to 0.13.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libpng: bump version to 1.6.26
Bernd Kuhls [Sat, 10 Dec 2016 19:22:35 +0000 (20:22 +0100)]
package/libpng: bump version to 1.6.26

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/jpeg-turbo: bump version to 1.5.1
Bernd Kuhls [Sat, 10 Dec 2016 19:21:44 +0000 (20:21 +0100)]
package/jpeg-turbo: bump version to 1.5.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogupnp-tools: bump to version 0.8.13
Fabrice Fontaine [Sat, 10 Dec 2016 20:04:16 +0000 (21:04 +0100)]
gupnp-tools: bump to version 0.8.13

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoangular-websocket: new package
Bimal Jacob [Wed, 7 Dec 2016 18:34:44 +0000 (12:34 -0600)]
angular-websocket: new package

Signed-off-by: Bimal Jacob <bimal.jacob@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas:
 - Move to a submenu "External AngularJS plugins", much like we have an
   "External JQuery plugins" menu. Therefore, remove the "select
   BR2_PACKAGE_ANGULARJS" from the package, since
   angular-websocket/Config.in is now included only if
   BR2_PACKAGE_ANGULARJS is defined.
 - Add hash file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosdl_mixer: fix static linking issue
Waldemar Brodkorb [Thu, 8 Dec 2016 17:23:31 +0000 (18:23 +0100)]
sdl_mixer: fix static linking issue

LDFLAGS must be passed when creating binaries.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc: add various upstream patches
Waldemar Brodkorb [Sat, 10 Dec 2016 14:44:42 +0000 (15:44 +0100)]
uclibc: add various upstream patches

Fix some static linking issues for Xtensa/Blackfin.
Optimize the size for non-threaded static binaries and
fix static C/C++ applications when running on the target.
Fix noMMU madvise declarations.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Clayton Shotwell for policycoreutils
Thomas Petazzoni [Sat, 10 Dec 2016 14:50:16 +0000 (15:50 +0100)]
DEVELOPERS: add Clayton Shotwell for policycoreutils

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: regroup the two entries for Clayton Shotwell
Thomas Petazzoni [Sat, 10 Dec 2016 14:49:44 +0000 (15:49 +0100)]
DEVELOPERS: regroup the two entries for Clayton Shotwell

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopolicycoreutils: new package
Clayton Shotwell [Tue, 25 Oct 2016 19:26:03 +0000 (14:26 -0500)]
policycoreutils: new package

This package contains the core policy utilities that are required
for basic operation of an SELinux system.

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Niranjan Reddy <niranjan.reddy@rockwellcollins.com>
Tested-by: Bryce Ferguson <bryce.ferguson@rockwellcollins.com>
Signed-off-by: Bryce Ferguson <bryce.ferguson@rockwellcollins.com>
[Thomas:
 - Move the Config.in comment at the top of the Config.in file rather
   than between the main option and its sub-options, as this breaks
   menuconfig indentation.
 - Fix the propagation of the libsemanage dependencies. libsemanage
   depends on BR2_PACKAGE_AUDIT_ARCH_SUPPORTS and
   BR2_TOOLCHAIN_USES_GLIBC which were not accounted for. Since it
   depends on BR2_TOOLCHAIN_USES_GLIBC, then all the gettext related
   handling becomes useless and has been removed.
 - Rename the prompt of the restorecond sub-option to just
   "restorecond".
 - Use TARGET_CONFIGURE_OPTS and HOST_CONFIGURE_OPTS instead of
   passing LDFLAGS, CC, etc. manually.
 - Use make "foreach" function for loops instead of shell "for" loops.
 - Rework the explanation of why we're passing DESTDIR at build time.
 - Minor formatting tweaks here and there.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Ash as developer for PRU packages
Ash Charles [Fri, 9 Dec 2016 02:23:21 +0000 (21:23 -0500)]
DEVELOPERS: add Ash as developer for PRU packages

Signed-off-by: Ash Charles <ash.charles@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc-ng-test: fix compile errors with glibc toolchains
Waldemar Brodkorb [Sat, 10 Dec 2016 14:12:46 +0000 (15:12 +0100)]
uclibc-ng-test: fix compile errors with glibc toolchains

We need to link with -lrt for some tests.
Update to latest upstream version.

Fixes:
 http://autobuild.buildroot.net/results/7388ffcc51a6686b8b708d7373427368d3755870
 http://autobuild.buildroot.net/results/926716ed127dea879c5b26c4d04dc7f0615c8f34
 http://autobuild.buildroot.net/results/737f1651a8bba7d3d815f46ec796955d09ba96bd
 http://autobuild.buildroot.net/results/56a8d67a45469d2a478da8d7d1ad7c5fb5e6c0c5

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/qemu: separate user and system arch on powerpc64le
Sam bobroff [Fri, 9 Dec 2016 03:33:15 +0000 (14:33 +1100)]
package/qemu: separate user and system arch on powerpc64le

QEMU provides a single system emulator that supports both powerpc64
and powerpc64le with a target called 'ppc64-softmmu', but it provides
a different usermode emulator for each one (with targets
'ppc64le-linux-user' and 'ppc64-linux-user').

Due to this asymmetry it is not possible to support both cases with
the single arch value used in the package file. This patch introduces
an additional value into the package configuration,
HOST_QEMU_SYS_ARCH, so that both cases can be supported.

Fixes commit d2ff457e88ff4106f97e29516d467978827d30c2
and autobuilder failture
http://autobuild.buildroot.net/results/a2d63e21c3e82c36f4a975e90ed56faba18e97a5

Signed-off-by: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Ezequiel Garcia as developer for mimic package
Thomas Petazzoni [Sat, 10 Dec 2016 13:59:29 +0000 (14:59 +0100)]
DEVELOPERS: add Ezequiel Garcia as developer for mimic package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomimic: new package
Ezequiel Garcia [Sat, 10 Dec 2016 12:21:54 +0000 (09:21 -0300)]
mimic: new package

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
[Thomas:
 - Rewrap Config.in help text
 - Use "depends on" rather than "select" for the audio backend options
 - Slightly simplify some of the prompts for the audio backend selection
 - Remove MIMIC_INSTALL_STAGING = NO, that's the default
 - Use += when assigning MIMIC_DEPENDENCIES
 - Remove double quotes when setting --with-audio=.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocjson: bump to version 1.1.0
Fabrice Fontaine [Fri, 9 Dec 2016 20:26:04 +0000 (21:26 +0100)]
cjson: bump to version 1.1.0

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoswupdate: replace BR2_PREFER_STATIC_LIB with BR2_STATIC_LIBS
Danomi Manchego [Sat, 10 Dec 2016 02:23:00 +0000 (21:23 -0500)]
swupdate: replace BR2_PREFER_STATIC_LIB with BR2_STATIC_LIBS

The symbol to control static compilation was renamed in 2015.02, but missed
when swupdate was added.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/efl: add Wayland support
Romain Naour [Thu, 8 Dec 2016 22:24:17 +0000 (23:24 +0100)]
package/efl: add Wayland support

The EFL Wayland support was removed with commit [1] since the dependecy
on libdrm was missing. Also it requires OpenGL ES with EGL, Evas DRM
and Evas GLES DRM support [2].

As stated in configure, Evas GLES DRM engine support (gl_drm) depends
on wayland-client to build (wayland-client >= 1.8.0).

So, enable gl_drm only when wayland support is selected.

[1] 4f04be1659f186765f506c68f5bfbf6845fc40dc
[2] https://www.enlightenment.org/about-wayland

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Pierre Floury <devpfl@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/efl: enable libdrm support
Romain Naour [Thu, 8 Dec 2016 22:24:16 +0000 (23:24 +0100)]
package/efl: enable libdrm support

drm can be used without compositor, just like it was with
the framebuffer for standalone applications

As stated in configure.ac, libdrm support needs libdrm, elput,
libxkbcommon and libgbm.

libgbm is only provided by mesa3d package when OpenGL EGL support is
enabled, so add a direct dependency on mesa3d.

Rework the libxkbcommon dependency since it's now required for
elput and libdrm support.

[1] https://www.enlightenment.org/about-wayland

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Pierre Floury <devpfl@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/xen: Disable Werror checking
Alistair Francis [Thu, 8 Dec 2016 22:46:59 +0000 (14:46 -0800)]
package/xen: Disable Werror checking

The strict unused-const-variable checking was causing autobuilder errors
when trying to build Xen tools/libxl as the migrate_*[] arrays are not
always accessed.

To avoid the error edit the Makefile to stop all general warnings being treated
as errors, by removing the -Werror flag.

Fixes:
  http://autobuild.buildroot.net/results/0e0/0e0d4aa4a05da5804821951289c0a4049b009c61/

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoezxml: disable mmap code for nommu
Peter Korsgaard [Fri, 9 Dec 2016 10:26:03 +0000 (11:26 +0100)]
ezxml: disable mmap code for nommu

Fixes:
http://autobuild.buildroot.net/results/8e1/8e10052a0d0ad4f47622925349ec5fddb7b672f0/
http://autobuild.buildroot.net/results/2f1/2f15b81beadd2d902c73d6d8bd7fb06b03f62ef5/

The mmap support uses madvise which isn't available on nommu uClibc, so disable it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosysstat: bump to version 11.4.2
Gustavo Zacarias [Fri, 9 Dec 2016 14:52:29 +0000 (11:52 -0300)]
sysstat: bump to version 11.4.2

[Peter: add local sha256 hash as suggested by Vicente]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodovecot-pigeonhole: bump version to 0.4.16
Vicente Olivert Riera [Fri, 9 Dec 2016 15:10:03 +0000 (15:10 +0000)]
dovecot-pigeonhole: bump version to 0.4.16

Release notes:
  http://www.dovecot.org/list/dovecot-news/2016-October/000330.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodovecot: bump version to 2.2.27 (security)
Vicente Olivert Riera [Fri, 9 Dec 2016 15:10:02 +0000 (15:10 +0000)]
dovecot: bump version to 2.2.27 (security)

Fixes CVE-2016-8652 : http://www.securityfocus.com/bid/94639/

Release notes:
  http://www.dovecot.org/list/dovecot-news/2016-December/000333.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinks: security bump to version 2.14
Gustavo Zacarias [Fri, 9 Dec 2016 15:44:01 +0000 (12:44 -0300)]
links: security bump to version 2.14

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agophp: security bump to version 7.0.14
Gustavo Zacarias [Fri, 9 Dec 2016 12:47:30 +0000 (09:47 -0300)]
php: security bump to version 7.0.14

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogvfs: bump to version 1.30.2
Gustavo Zacarias [Fri, 9 Dec 2016 12:48:37 +0000 (09:48 -0300)]
gvfs: bump to version 1.30.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogrep: bump to version 2.27
Gustavo Zacarias [Fri, 9 Dec 2016 12:48:56 +0000 (09:48 -0300)]
grep: bump to version 2.27

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibglib2: bump to version 2.50.2
Gustavo Zacarias [Fri, 9 Dec 2016 12:49:57 +0000 (09:49 -0300)]
libglib2: bump to version 2.50.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agovala: bump to version 0.34.4
Gustavo Zacarias [Fri, 9 Dec 2016 12:50:34 +0000 (09:50 -0300)]
vala: bump to version 0.34.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agognutls: bump to version 3.4.17
Gustavo Zacarias [Fri, 9 Dec 2016 12:51:36 +0000 (09:51 -0300)]
gnutls: bump to version 3.4.17

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoharfbuzz: bump to version 1.3.4
Gustavo Zacarias [Fri, 9 Dec 2016 12:52:00 +0000 (09:52 -0300)]
harfbuzz: bump to version 1.3.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopoppler: bump to version 0.49.0
Gustavo Zacarias [Fri, 9 Dec 2016 12:55:17 +0000 (09:55 -0300)]
poppler: bump to version 0.49.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agompv: bump to version 0.22.0
Gustavo Zacarias [Fri, 9 Dec 2016 12:56:46 +0000 (09:56 -0300)]
mpv: bump to version 0.22.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocairo: bump to version 1.14.8
Gustavo Zacarias [Fri, 9 Dec 2016 13:40:49 +0000 (10:40 -0300)]
cairo: bump to version 1.14.8

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocoreutils: bump to version 8.26
Gustavo Zacarias [Fri, 9 Dec 2016 13:43:09 +0000 (10:43 -0300)]
coreutils: bump to version 8.26

Pass on INSTALL_PROGRAM to configure since starting with version 8.26
when building natively it tries to use the self-built install to
install, and when cross-compiling it expects INSTALL_PROGRAM to point to
a real install, or otherwise fails when recursively trying to expand it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibunistring: bump to version 0.9.7
Gustavo Zacarias [Fri, 9 Dec 2016 13:51:24 +0000 (10:51 -0300)]
libunistring: bump to version 0.9.7

Add new GPLv2 license option.
Unfortunately COPYING is GPLv3, so avoid it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogtksourceview: bump to version 3.22.2
Gustavo Zacarias [Fri, 9 Dec 2016 13:51:40 +0000 (10:51 -0300)]
gtksourceview: bump to version 3.22.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibinput: bump to version 1.5.3
Gustavo Zacarias [Fri, 9 Dec 2016 15:00:49 +0000 (12:00 -0300)]
libinput: bump to version 1.5.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux: bump default to version 4.8.13
Gustavo Zacarias [Fri, 9 Dec 2016 12:45:13 +0000 (09:45 -0300)]
linux: bump default to version 4.8.13

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux-headers: bump 4.{8, 4, 1}.x and 3.{18, 12}.x series
Gustavo Zacarias [Fri, 9 Dec 2016 12:45:12 +0000 (09:45 -0300)]
linux-headers: bump 4.{8, 4, 1}.x and 3.{18, 12}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agorpm: add optional dependencies on elfutils and binutils
Thomas Petazzoni [Thu, 8 Dec 2016 23:04:05 +0000 (00:04 +0100)]
rpm: add optional dependencies on elfutils and binutils

Since these are detected by the configure script, we should explicit
their dependencies in rpm.mk.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agorpm: add patches to fix bfd.h related build issues
Thomas Petazzoni [Thu, 8 Dec 2016 23:00:38 +0000 (00:00 +0100)]
rpm: add patches to fix bfd.h related build issues

This commit adds two patches to the rpm package to fix two separate but
related build issues:

 - The first patch fixes a build that occurs when rpm is built after
   elfutils, but without binutils. In this case, dwarf.h is present, so
   rpm enables the build of a number of additional tools. But one of
   them uses bfd.h, provided by binutils, without checking for its
   existence. So the first patch fixes that by checking for bfd.h
   existence before enabling the tool.

   Fixes:

     http://autobuild.buildroot.net/results/810/810e24cab65f67d143da29c78c0f89d37a851cd7/build-end.log

 - The second patch fixes a build issue that occurs when rpm is built
   after both dwarf and binutils. In this case, bfd.h complains because
   config.h is not included. That's a weird and silly issue in bfd.h
   that the binutils developers don't want to fix, and you have to
   define PACKAGE or PACKAGE_VERSION before including bfd.h to use it
   outside of binutils.

   Fixes:

     http://autobuild.buildroot.net/results/362/362502f89631c9ba1d71906527674657ccff01ed/build-end.log

Thanks a lot to James Knight <james.knight@rockwellcollins.com> for the
initial investigation about the first issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/efl: bump to version 1.18.4
Romain Naour [Thu, 8 Dec 2016 21:55:24 +0000 (22:55 +0100)]
package/efl: bump to version 1.18.4

Bug fix release:
https://www.enlightenment.org/news/efl-1.18.4

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosystemd: don't build systemd-firstboot by default
Frank Hunleth [Wed, 26 Oct 2016 17:18:04 +0000 (13:18 -0400)]
systemd: don't build systemd-firstboot by default

systemd-firstboot is never invoked since systemd's first boot detection
logic checks whether /etc/machine-id exists. Since the file is created
automatically by systemd.mk, systemd will never detect first boot and
therefore the systemd-firstboot.service unit file will never get run.

Additionally, if /etc/machine-id is removed to allow systemd-firstboot
to run, it interactively prompts for the system locale. This makes it
seem unlikely that an embedded system would want to use it.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/xen: Bump Xen to 4.7.1
Alistair Francis [Thu, 8 Dec 2016 20:11:11 +0000 (12:11 -0800)]
package/xen: Bump Xen to 4.7.1

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: support thumb2 instructions for ARMv8 in 32bit mode
Peter Korsgaard [Wed, 7 Dec 2016 09:25:22 +0000 (10:25 +0100)]
arch/Config.in.arm: support thumb2 instructions for ARMv8 in 32bit mode

The ARMv8 cores all support thumb2 instructions when running in aarch32 mode.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: only enable BR2_ARM_CPU_HAS_NEON for ARMv8 in 32bit mode
Peter Korsgaard [Wed, 7 Dec 2016 09:25:21 +0000 (10:25 +0100)]
arch/Config.in.arm: only enable BR2_ARM_CPU_HAS_NEON for ARMv8 in 32bit mode

A number of packages use BR2_ARM_CPU_HAS_NEON to know if the target handles
aarch32 neon instructions, which is only true for ARMv8 cores when they are
running in 32bit mode.

Notice: These cores do support neon-like instructions using a different
encoding in 64bit mode (it is a required part of ARMv8, similar to the FPU).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/Config.in.arm: only enable BR2_ARM_CPU_HAS_ARM for ARMv8 in 32bit mode
Peter Korsgaard [Wed, 7 Dec 2016 09:25:20 +0000 (10:25 +0100)]
arch/Config.in.arm: only enable BR2_ARM_CPU_HAS_ARM for ARMv8 in 32bit mode

Fixes:
http://autobuild.buildroot.net/results/5e6/5e67cc067a06f7364cde1a8393ea72608fe7fef1/

A number of packages use BR2_ARM_CPU_HAS_ARM to know if the target handles
classic A32 instructions, which is only true for ARMv8 cores when they are
running in 32bit mode.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc-ng-test: disable some parts of test-suite
Waldemar Brodkorb [Thu, 8 Dec 2016 02:34:17 +0000 (03:34 +0100)]
uclibc-ng-test: disable some parts of test-suite

The math tests are experimental at the moment and require more
adaptions before they can be enabled again.
The locale tests are not compatible with musl toolchains,
so disable them.

Use latest git version from upstream for other bugfixes.

Fixes:
 http://autobuild.buildroot.net/results/74e/74e7add310797772bc51f9ea9847408a8b05d643/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5xmlpatterns: install examples
Matt Kraai [Thu, 8 Dec 2016 14:38:50 +0000 (06:38 -0800)]
qt5xmlpatterns: install examples

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: update my entry list
Marcin Niestroj [Thu, 8 Dec 2016 14:51:49 +0000 (15:51 +0100)]
DEVELOPERS: update my entry list

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/openvpn: bump version to 2.3.14
Bernd Kuhls [Thu, 8 Dec 2016 18:40:42 +0000 (19:40 +0100)]
package/openvpn: bump version to 2.3.14

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefibootmgr: depends on wchar
Erico Nunes [Mon, 5 Dec 2016 23:07:18 +0000 (00:07 +0100)]
efibootmgr: depends on wchar

After commit 3ae07b4746 recently, efibootmgr now selects
BR2_PACKAGE_GETTEXT if the toolchain requires it.
gettext depends on wchar, so this dependency should be propagated as
well.
menuconfig currently complains loudly if you select efibootmgr, with an
error such as:

  warning: (... && BR2_PACKAGE_EFIBOOTMGR ... && ) selects
  BR2_PACKAGE_GETTEXT which has unmet direct dependencies
  (BR2_USE_WCHAR)

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefivar: introduce BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS
Erico Nunes [Mon, 5 Dec 2016 23:07:17 +0000 (00:07 +0100)]
efivar: introduce BR2_PACKAGE_EFIVAR_ARCH_SUPPORTS

efivar only makes sense on platforms that support UEFI.
UEFI is only supported by some architectures at the moment, being mostly
employed on platforms such as x86, x86_64 and aarch64. Some other
platforms such as MIPS and PowerPC may have some unofficial UEFI
support. UEFI is also limited to little endian architectures.

efivar was being supported in Buildroot without architecture
restrictions so far, however this has led to the creation of a number of
hacks in the recipes, mostly for architectures that are not supported by
UEFI.
In order to avoid spending more time to debug these failures and
maintaining more hacks for unsupported architectures, efivar can be
restricted to that platforms where it makes sense and where it is more
likely to receive some testing and actual usage.

The existing hacks for the now unsupported architectures are removed,
and the dependency is propagated to efibootmgr as it depends on efivar.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoefivar: fix comment after uClibc compatibility patch
Erico Nunes [Mon, 5 Dec 2016 23:07:15 +0000 (00:07 +0100)]
efivar: fix comment after uClibc compatibility patch

uClibc support was recently added to efivar through a small
compatibility patch.
This commit updates a comment in the efivar recipe to reflect this, as
we no longer have glibc as the only supported C library.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/freeswitch: bump version to 1.6.13
Bernd Kuhls [Wed, 7 Dec 2016 21:25:35 +0000 (22:25 +0100)]
package/freeswitch: bump version to 1.6.13

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: generate KBUILD_BUILD_TIMESTAMP date whith LC_ALL=C
Jean-Baptiste Trédez [Wed, 7 Dec 2016 15:20:42 +0000 (16:20 +0100)]
linux: generate KBUILD_BUILD_TIMESTAMP date whith LC_ALL=C

Fix kernel reproducible build if a non-C locale is used on the host
system.

When building the Linux kernel, scripts/gen_initramfs_list.sh does 'date
-d"$KBUILD_BUILD_TIMESTAMP" +%s'. In linux.mk, Buildroot sets
KBUILD_BUILD_TIMESTAMP to "$(shell date -d @$(SOURCE_DATE_EPOCH))".

For example, if LANG=fr_FR.UTF-8 is defined in the host system, it does
not work:

- LC_ALL=C date -d"$(LC_ALL=C date)" : ok
- LC_ALL=C date -d"$(LC_ALL=fr_FR.UTF-8 date)" : error

LANG/LC_ALL variables exported in the main Makefiles are not passed in
the $(shell ...) sub-shells.

Signed-off-by: Jean-Baptiste Trédez <jean-baptiste.tredez@basystemes.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5connectivity: install examples
Matt Kraai [Wed, 7 Dec 2016 15:11:30 +0000 (07:11 -0800)]
qt5connectivity: install examples

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomadplay: fix build on noMMU platforms
Thomas Petazzoni [Wed, 7 Dec 2016 22:24:07 +0000 (23:24 +0100)]
madplay: fix build on noMMU platforms

A recent change in uClibc-ng removed the MADV_* definitions for
madvise(), but kept the madvise() function itself. This defeats the
logic used in madplay: it checks if madvise() is available, and if it
is, uses it and assumes the MADV_* definitions exist.

This inconsistency has been reported to upstream uClibc-ng, but in the
mean time, we can simply tell madplay to not use madvise(), which is
anyway useless on noMMU platforms.

Fixes:

  http://autobuild.buildroot.net/results/3291554ea013e5f4a8f3447e10e664dffa8b131b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouhttpd: add patch to remove -Werror
Thomas Petazzoni [Wed, 7 Dec 2016 21:50:14 +0000 (22:50 +0100)]
uhttpd: add patch to remove -Werror

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-tools: fix build on musl
Thomas Petazzoni [Wed, 7 Dec 2016 21:37:19 +0000 (22:37 +0100)]
lttng-tools: fix build on musl

Add patch to add a missing <pthread.h> include to fix the build on musl.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopru-software-support: fix legal info again
Thomas Petazzoni [Wed, 7 Dec 2016 21:22:20 +0000 (22:22 +0100)]
pru-software-support: fix legal info again

Commit 00810e0ea3976c5b26a7fd264870f15e17a2eaa2 still didn't fix the
license information properly, so this is a new commit (properly tested
this time) fixing the license information.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agophp: disable FPM interface on Sparc
Thomas Petazzoni [Wed, 7 Dec 2016 21:08:09 +0000 (22:08 +0100)]
php: disable FPM interface on Sparc

Building fails with "Sparc v8 and predecessors are not and will not be
supported (see bug report 53310)", so we disable FPM on Sparc.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopkg-autotools: search in the entire source directory for ltmain.sh
Waldemar Brodkorb [Wed, 7 Dec 2016 18:41:20 +0000 (19:41 +0100)]
pkg-autotools: search in the entire source directory for ltmain.sh

Fixes static linking of berkeleydb package, where ltmain.sh
is not in the sub-directory that contains configure.
Always search the complete source directory.

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

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/easydbus: new package
Marcin Niestroj [Wed, 7 Dec 2016 14:49:05 +0000 (15:49 +0100)]
package/easydbus: new package

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocmake: adjust dependencies added for libuv
Thomas Petazzoni [Wed, 7 Dec 2016 11:12:33 +0000 (12:12 +0100)]
cmake: adjust dependencies added for libuv

Commit 1ffcf364b6e9894a876dc581a090f87685945412 updated cmake to 3.7.0,
which requires selecting the libuv package. At the time, the libuv
package only depended on BR2_TOOLCHAIN_HAS_THREADS. However, later on,
it was changed in master to depend on BR2_TOOLCHAIN_HAS_THREADS_NPTL, a
change which was not taken into account in the cmake 3.7.0 bump that was
merged in the next branch.

Due to this, builds of cmake is attempted on architectures that don't
provide NPTL thread support, causing a build failure. This commit fixes
that by adjusting the dependency.

Fixes:

  http://autobuild.buildroot.net/results/16a5e1cbb57c0124537c4f3dc0807ba1eaa975ec/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/ffmpeg: bump version to 3.2.2
Bernd Kuhls [Tue, 6 Dec 2016 21:11:45 +0000 (22:11 +0100)]
package/ffmpeg: bump version to 3.2.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogcc: fix powerpc64le arch config name
Erico Nunes [Mon, 5 Dec 2016 23:07:16 +0000 (00:07 +0100)]
gcc: fix powerpc64le arch config name

Buildroot references powerpc64 little endian as BR2_powerpc64le and not
BR2_powerpc64el.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotoolchain-external: disallow sourcery codebench ARM toolchain for ARMv8 cores
Peter Korsgaard [Tue, 6 Dec 2016 16:42:18 +0000 (17:42 +0100)]
toolchain-external: disallow sourcery codebench ARM toolchain for ARMv8 cores

This toolchain uses GCC 4.8.x, which doesn't support the ARMv8 cores.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogcc: disallow 4.9.x for ARM cortex-a72
Peter Korsgaard [Tue, 6 Dec 2016 16:36:18 +0000 (17:36 +0100)]
gcc: disallow 4.9.x for ARM cortex-a72

a72 support was only added in the 5.1 cycle.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agogcc: disallow 4.8.x for ARMv8 cores
Peter Korsgaard [Tue, 6 Dec 2016 16:36:17 +0000 (17:36 +0100)]
gcc: disallow 4.8.x for ARMv8 cores

Notice: A53/A57 were in fact supported in aarch64 mode in 4.8 (in aarch32
mode only from 4.9), but it doesn't handle --with-abi, and as there is
unlikely to be any aarch64 based legacy projects unwilling to use a newer
GCC version it is simpler to disallow it for all modes.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoMakefile: move SED definition into the main Makefile
Thomas Petazzoni [Sun, 4 Dec 2016 21:37:24 +0000 (22:37 +0100)]
Makefile: move SED definition into the main Makefile

Since commit f71a621d91ec27f175fc84012962f88b1107305f, we are using the
SED variable in the main Makefile. However, this variable is only
defined in package/Makefile.in, which gets included only when a
configuration is defined.

This means that, if you do:

 $ make menuconfig savedefconfig

without a configuration defined, it fails with:

/bin/bash: /BR2_DEFCONFIG=/d: No such file or directory
Makefile:898: recipe for target 'savedefconfig' failed
make[1]: *** [savedefconfig] Error 127

This issue affects users of the "buildroot-submodule" project, which
does menuconfig+savedefconfig automatically. They worked around this
issue in commit
https://github.com/Openwide-Ingenierie/buildroot-submodule/commit/d12676b608a58529c6b551aa176464166a200428,
but really "make menuconfig savedefconfig" should work out of the box.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
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>