buildroot.git
8 years agosystem: move locale purging options to the "System configuration" menu
Thomas Petazzoni [Tue, 2 Aug 2016 22:19:40 +0000 (00:19 +0200)]
system: move locale purging options to the "System configuration" menu

The options to purge locales and to generate locale data are currently
located in the toolchain menu. However, these options are not really
related to the toolchain per-se, they are more system-level
configuration options, much like the timezone selection option we
already have in the "System configuration" menu.

Therefore, it makes more sense to have the locale-related options in
the "System configuration" menu as well.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain: reduce the list of locales to keep by default
Thomas Petazzoni [Tue, 2 Aug 2016 22:19:39 +0000 (00:19 +0200)]
toolchain: reduce the list of locales to keep by default

Our current list of locales to keep by default is "C en_US de fr". It
doesn't make much sense to keep "de" and "fr" more than any other
language. So let's keep only the "C" and "en_US" locales by default,
and leave it to the user to specify other locales to keep if needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain: purge locales by default
Thomas Petazzoni [Tue, 2 Aug 2016 22:19:38 +0000 (00:19 +0200)]
toolchain: purge locales by default

Our current default is to keep all locales installed in
/usr/share/locale/. However, in practice, those locales take up a
significant amount of space, and most users do not need
locales. Therefore, it makes more sense to default to purging locales,
in order to keep only a few useful ones rather than keeping them all.

It helps in providing a small filesystem size by default, and still
allows advanced users who really need locales to tune their
configuration.

As an example, a very basic system with just util-linux enabled (not
even Busybox) weights 11 MB, including 6.4 MB of locales. With this new
default, the generated system is only 4.2 MB.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfig: update synopsys defconfigs
Zakharov Vlad [Wed, 3 Aug 2016 12:47:12 +0000 (15:47 +0300)]
config: update synopsys defconfigs

With this commit we update ARC defconfigs with the following:

  - "snps_axs101_defconfig" and "snps_axs103_defconfig":
     - bump linux kernel version to 4.7
     - set up host linux headers to 4.7
     - bump u-boot version to 2016.07

  - "snps_hs38_smp_vdk_defconfig":
     - bump linux kernel version to 4.7
     - set up host linux headers to 4.7

Also we delete "snps_hs38_vdk_defconfig" as we doesn't support
uni-processor HS38 configuration for vdk any longer.

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibcurl: security bump version to 7.50.1
Vicente Olivert Riera [Wed, 3 Aug 2016 10:56:52 +0000 (11:56 +0100)]
libcurl: security bump version to 7.50.1

Contains fixes for CVE-2016-5419..5421:
https://curl.haxx.se/docs/vuln-7.50.0.html

[Peter: extend commit message with CVE info]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoalsa-utils: bump version to 1.1.2
Vicente Olivert Riera [Wed, 3 Aug 2016 10:56:51 +0000 (11:56 +0100)]
alsa-utils: bump version to 1.1.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoalsa-lib: bump version to 1.1.2
Vicente Olivert Riera [Wed, 3 Aug 2016 10:56:50 +0000 (11:56 +0100)]
alsa-lib: bump version to 1.1.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibsigsegv: update web page URL
Luca Ceresoli [Wed, 3 Aug 2016 13:38:11 +0000 (15:38 +0200)]
libsigsegv: update web page URL

The web page has moved.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoinitscripts: show status in S40network
Vivien Didelot [Tue, 2 Aug 2016 21:38:03 +0000 (17:38 -0400)]
initscripts: show status in S40network

The output of "/etc/init.d/S40network start/stop" was lacking a
newline due to the usage of printf. Fix it by echoing the status, like
we do in other init scripts.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: libatomic is not built on "uclinux" platforms
Romain Naour [Tue, 2 Aug 2016 17:25:55 +0000 (19:25 +0200)]
toolchain: libatomic is not built on "uclinux" platforms

The cairo package fails to build on some architectures:
BR2_TOOLCHAIN_HAS_LIBATOMIC is enabled, but libatomic is in fact not
available.

This happens because the gcc logic in libatomic/configure.tgt does not
recognize "uclinux" as a valid OS part of the target tuple, and
therefore it does not build libatomic.

The "uclinux" part of the tuple is used by Buildroot when
BR2_BINFMT_FLAT=y, so we make BR2_TOOLCHAIN_HAS_LIBATOMIC enabled only
if !BR2_BINFMT_FLAT.

It is worth mentioning that support for the uclinux tuple could most
likely very easily be added to gcc: it could rely on the generic
"posix" implementation of libatomic, which uses pthread locks,
available on all architectures where thread support is available.

Fixes:

 [arm]  http://autobuild.buildroot.net/results/3d8dc45e41a043d2c2c26bfb26c3617499fbe671
 [m68k] http://autobuild.buildroot.net/results/318e01406e3e92eb589ee5b2231c671a4dbb6da4

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Thomas: adjust dependency after analysis of the gcc code.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/boost: context module needs ARM instructions on ARM
Romain Naour [Tue, 2 Aug 2016 17:01:04 +0000 (19:01 +0200)]
package/boost: context module needs ARM instructions on ARM

The boost-context module contains ARM assembly code, which uses ARM
instructions. Therefore, on Thumb-2 only platforms (such as Cortex-M),
the following build error occurs:

libs/context/src/asm/make_arm_aapcs_elf_gas.S: Assembler messages:
libs/context/src/asm/make_arm_aapcs_elf_gas.S:33: Error: unshifted register required -- `bic a1,a1,#15'
libs/context/src/asm/make_arm_aapcs_elf_gas.S:42: Error: immediate value out of range

To avoid this error, we make the boost-context module depend on
BR2_ARM_CPU_HAS_ARM.

Fixes:

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

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: use BR2_ARM_CPU_HAS_ARM instead of a dependency on
!BR2_ARM_CPU_ARMV7M.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoreadline: add project URL
Rahul Bedarkar [Tue, 2 Aug 2016 16:53:26 +0000 (22:23 +0530)]
readline: add project URL

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoncurses: install PuTTY terminfo files
David Glessner [Tue, 2 Aug 2016 15:25:27 +0000 (10:25 -0500)]
ncurses: install PuTTY terminfo files

Signed-off-by: David Glessner <david.glessner@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolldpd: bump version to 0.9.4
Vivien Didelot [Tue, 2 Aug 2016 16:25:17 +0000 (12:25 -0400)]
lldpd: bump version to 0.9.4

With this new version, the generation of atom-glue fails with the
following error:

    Making all in src/lib
    make[3]: Entering directory '/mnt/data/src/sfl/zodiac/buildroot/output/build/lldpd-0.9.4/src/lib'
      GEN      atom-glue.c
    arm-buildroot-linux-uclibcgnueabi-cpp.br_real: fatal error: too many input files
    compilation terminated.
    arm-buildroot-linux-uclibcgnueabi-cpp.br_real: fatal error: too many input files
    compilation terminated.
    make[3]: *** [Makefile:899: atom-glue.c] Error 1

There is an upstream patch pushed after 0.9.4 which fixes the
corresponding Makefile.am, included in this commit.

Note that since the provided tarball ships the related Makefile.in file,
we need to tell Buildroot to autoreconfigure the package.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
[Thomas: add comment about AUTORECONF=YES in .mk file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolldpd: add sysv init script
Vivien Didelot [Tue, 2 Aug 2016 16:24:11 +0000 (12:24 -0400)]
lldpd: add sysv init script

Add a simple sysv init script to start the lldpd daemon at boot.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
[Thomas: cosmetic improvements.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/openpowerlink: bump to v2.4.1
Romain Naour [Tue, 2 Aug 2016 15:13:46 +0000 (17:13 +0200)]
package/openpowerlink: bump to v2.4.1

Remove upstream patches.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibseccomp: bump version to 2.3.1
Judd Meinders [Tue, 2 Aug 2016 14:41:54 +0000 (09:41 -0500)]
libseccomp: bump version to 2.3.1

Bump libseccomp version to 2.3.1 to enable power architectures.

Signed-off-by: Judd Meinders <judd.meinders@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoi2c-tools: install binaries to /usr/sbin
Bartosz Golaszewski [Tue, 2 Aug 2016 10:27:36 +0000 (12:27 +0200)]
i2c-tools: install binaries to /usr/sbin

Upstream i2c-tools executables are installed to /usr/sbin by default.
Make buildroot match this behavior.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoi2c-tools: add busybox to dependencies if enabled
Bartosz Golaszewski [Tue, 2 Aug 2016 10:27:35 +0000 (12:27 +0200)]
i2c-tools: add busybox to dependencies if enabled

Before changing the install directory of i2c-tools to /usr/sbin/ make
sure busybox is built first (if selected) in order to ensure that the
symlinks to the busybox-provided versions are overwritten by the
i2c-tools' install commands.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotcpdump: bump version to 4.8.0
Vicente Olivert Riera [Tue, 2 Aug 2016 09:16:39 +0000 (10:16 +0100)]
tcpdump: bump version to 4.8.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoutil-linux: use upstream patch to fix uClibc build issue
Waldemar Brodkorb [Sun, 31 Jul 2016 16:08:52 +0000 (18:08 +0200)]
util-linux: use upstream patch to fix uClibc build issue

Upstream has this patch a while and other projects are using
it already. So better switch to this.

Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoi2c-tools: depend on BUSYBOX_SHOW_OTHERS
Bartosz Golaszewski [Sun, 31 Jul 2016 13:56:09 +0000 (15:56 +0200)]
i2c-tools: depend on BUSYBOX_SHOW_OTHERS

As of version 1.25.0 busybox by default includes a nearly complete
implementation of i2c-tools. Hide the upstream version unless the
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS option is selected.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoclapack: disable for m68k coldfire
Waldemar Brodkorb [Sun, 31 Jul 2016 21:05:41 +0000 (23:05 +0200)]
clapack: disable for m68k coldfire

Either a assembler bug or a platform limitation.
Fixes:
http://autobuild.buildroot.net/results/d24a2e9b35c98a10585cd28b3306a09c49163296/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoassimp: fix m68k uclinux compile
Waldemar Brodkorb [Sun, 31 Jul 2016 18:07:43 +0000 (20:07 +0200)]
assimp: fix m68k uclinux compile

The GCC manual suggest when getting:
relocation truncated to fit: R_68K_GOT16O foobar
to use -mxgot.

https://gcc.gnu.org/onlinedocs/gcc/M680x0-Options.html

Fixes:
http://autobuild.buildroot.net/results/63898c00929b4546279bda52148b218f847714ed/
http://autobuild.buildroot.net/results/bb7a107d1ca6e8713e6ccffe6c61c43b777fb962/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenssl: fix m68k uclinux compile
Waldemar Brodkorb [Sun, 31 Jul 2016 18:48:00 +0000 (20:48 +0200)]
openssl: fix m68k uclinux compile

The GCC manual suggest when getting:
relocation truncated to fit: R_68K_GOT16O foobar
to use -mxgot.

Fixes:
http://autobuild.buildroot.net/results/455fd0f274bfa4bbd786bcd6740ecf960e47c1bd/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: disable PIE for microblaze
Waldemar Brodkorb [Sun, 31 Jul 2016 21:41:26 +0000 (23:41 +0200)]
uclibc: disable PIE for microblaze

PIE is not supported at the moment for uClibc-ng/microblaze.
Fixes:
http://autobuild.buildroot.net/results/a5848753eb0e2b0ddf55e226c45b85fd3a1c84f3/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: Bump ARC tools to arc-2016.09-eng007 and enable PIE
Vlad Zakharov [Mon, 1 Aug 2016 12:30:35 +0000 (15:30 +0300)]
toolchain: Bump ARC tools to arc-2016.09-eng007 and enable PIE

As described at:
4520524ba055706236db9f00dd79f1b2e2e87fde
this commit continues a series of updates of ARC tools.
This time we're updating tools to arc-2016.09-eng007 tag plus a
couple of fixes on top of it that will all make its way in the
next engineering build.

We hope this patch will cure most buildroot ARC failures as it
contains important fixes:

1) PIE fix. We have added PIE support to ARC toolchain at last.
So that should prevent breakage of many packages. As ARC now
supports PIE we remove ARC from BR2_TOOLCHAIN_SUPPORTS_PIE
exclusion in toolchain/Config.in file.

2) Assembler fix. This patch also have changes that fixes frequent
assembler failures, e.g.:
http://autobuild.buildroot.net/results/543/5430b902d900943a34c1888e7e410bd5df367bc2//

We still keep GDB as it is of arc-2016.03 release because there're some
issues we'd like to resolve before releasing it to wider audience.

So again note this is next engineering builds of arc-2016.09 series
and it might have all kinds of breakages, please don't use it for
production builds.

Signed-off-by: Vlad Zakharov <vzakhar@synopsys.com>
[Thomas: remove uClibc PIE patch, since we have bumped uClibc in the
mean time, to a version that contains the PIE fix for ARC.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/luvi: bump to version 2.7.5
Jörg Krause [Mon, 1 Aug 2016 20:09:50 +0000 (22:09 +0200)]
package/luvi: bump to version 2.7.5

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/luv: bump to version 1.9.1-0
Jörg Krause [Mon, 1 Aug 2016 20:09:49 +0000 (22:09 +0200)]
package/luv: bump to version 1.9.1-0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolighttpd: security bump version to 1.4.41
Peter Korsgaard [Mon, 1 Aug 2016 08:27:23 +0000 (10:27 +0200)]
lighttpd: security bump version to 1.4.41

Security fixes and fixes for bugs introduced in 1.4.40.

Drop 0002-autobuild-clock_gettime-lrt-with-glibc-2.17.patch, which is now
upstream.

Due to the patch removal, autoreconf is no longer needed.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[Thomas: remove autoreconf, no longer needed.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: update to 1.0.17
Waldemar Brodkorb [Mon, 1 Aug 2016 12:14:30 +0000 (14:14 +0200)]
uclibc: update to 1.0.17

Many cleanups and ARC improvements including PIE support.
Patches included upstream and removed.

Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenssh: bump version to 7.3p1
Vicente Olivert Riera [Mon, 1 Aug 2016 13:19:37 +0000 (14:19 +0100)]
openssh: bump version to 7.3p1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: imx6ulpico: Add Wifi support
Fabio Estevam [Mon, 1 Aug 2016 15:27:11 +0000 (12:27 -0300)]
configs: imx6ulpico: Add Wifi support

imx6ulpico has a BCM4339 Wifi chip. Add Wifi support by default
to allow a better customer experience.

The dts patch has already been sent to the linux-arm-kernel list
and we can remove it once it reaches a mainline kernel (in
version 4.9 probably).

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: warpboard: Select wireless related packages
Fabio Estevam [Mon, 1 Aug 2016 15:39:02 +0000 (12:39 -0300)]
configs: warpboard: Select wireless related packages

Let the wireless packages be selected by default to make the
usage of Wifi a bit simpler.

Suggested-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/xenomai: disable for musl toolchains
Romain Naour [Mon, 1 Aug 2016 16:30:21 +0000 (18:30 +0200)]
package/xenomai: disable for musl toolchains

After fixing the <bits/local_lim.h> issue by using <limits.h>, the
build still fail with udefined __WORDSIZE.

Adding <sys/user.h> to define __WORDSIZE reveal that xenomai use
<error.h> which is not provided by musl.

The discussion on the musl mailing list [1] about glibc error reporting
functions concluded to not add this support in the C library.

For now, disable Xenomai user space support for musl toolchains since
it require several patches to build correctly and needs to remove each
glibc error reporting functions.

Users interested in musl support for Xenomai can work with upstream to
fix these issues and revert this patch.

[1] http://www.openwall.com/lists/musl/2014/06/29/8

Fixes:
http://autobuild.buildroot.net/results/e36/e36a21c1df33bdd3fbc61d516a3e8f7c5f7c41af

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/xenomai: disable for cortex-M cpus
Romain Naour [Mon, 1 Aug 2016 16:30:20 +0000 (18:30 +0200)]
package/xenomai: disable for cortex-M cpus

Following include/asm-arm/features.h, Xenomai doesn't support cortex-M
cpus.

error "Could not find current ARM architecture"

Fixes:
http://autobuild.buildroot.net/results/06a/06a52b2c2c23df595f58feb6b95437fc65a86d31

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/xenomai: introduce a BR2_PACKAGE_XENOMAI_ARCH_SUPPORTS option
Romain Naour [Mon, 1 Aug 2016 16:30:19 +0000 (18:30 +0200)]
package/xenomai: introduce a BR2_PACKAGE_XENOMAI_ARCH_SUPPORTS option

Introduce BR2_PACKAGE_XENOMAI_ARCH_SUPPORTS to hold the
architectures than can build and use Xenomai on the target.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/freescale: drop unneeded exit statement in post-image scripts
Fabio Estevam [Mon, 1 Aug 2016 17:17:28 +0000 (14:17 -0300)]
configs/freescale: drop unneeded exit statement in post-image scripts

There is no need for the 'exit' statement in the post-image scripts,
so just remove it.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboost: disable wave support for coldfire
Waldemar Brodkorb [Sun, 31 Jul 2016 16:46:26 +0000 (18:46 +0200)]
boost: disable wave support for coldfire

A big autogenerated C file is used, which does not fit
in the limited range provided for coldfire.
See here for a longer discussion about the type of issue:
http://uclinux-dev.uclinux.narkive.com/9HrogvzP/fatal-error-tried-to-convert-pc-relative

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

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowarpboard: README: Improve instructions about using wifi
Fabio Estevam [Sat, 30 Jul 2016 18:36:33 +0000 (15:36 -0300)]
warpboard: README: Improve instructions about using wifi

Provide a more complete set of instructions on how to get Wifi
working on the warpboard.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agouclibc: add missing defines for m68k/microblaze
Waldemar Brodkorb [Sun, 31 Jul 2016 11:57:10 +0000 (13:57 +0200)]
uclibc: add missing defines for m68k/microblaze

POLLRDHUP supported since Linux 2.6.17.
http://man7.org/linux/man-pages/man2/poll.2.html

Fixes:
http://autobuild.buildroot.net/results/0f5ed287f1756fbec710454e9c694202c3206dbe/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoConfig.in: fix typo
Bernd Kuhls [Sun, 31 Jul 2016 16:02:47 +0000 (18:02 +0200)]
Config.in: fix typo

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agostrace: bump to version 4.13
Baruch Siach [Sun, 31 Jul 2016 18:44:31 +0000 (21:44 +0300)]
strace: bump to version 4.13

Drop upstream patch.

Remove preseed of netlink.h and if_packet.h tests since these tests were
removed from configure.ac.

Add stronger sha256 hash.

Version 4.13 fixes a typo in configure.ac (commit 7c0e8875a432) that causes
build failure with kernel v4.7 headers, thus fixing:
http://autobuild.buildroot.net/results/aa6/aa6badae8b3d58d6d48161f261988103271bc2ef/
http://autobuild.buildroot.net/results/4ad/4ad1b0c42206243bd76e94b34454d4108fb31070/
http://autobuild.buildroot.net/results/1c6/1c6c88a7163529a666d1661969736f66e9aba7f7/

and more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowavemon: depends on a toolchain with NPTL
Waldemar Brodkorb [Sun, 31 Jul 2016 12:54:50 +0000 (14:54 +0200)]
wavemon: depends on a toolchain with NPTL

The software uses pthread_mutexattr_setrobust which isn't
available in uClibc-ng Linuxthreads support.

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

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotriggerhappy: unbreak build against 4.7+ kernel headers
Peter Korsgaard [Sun, 31 Jul 2016 08:31:45 +0000 (10:31 +0200)]
triggerhappy: unbreak build against 4.7+ kernel headers

Fixes:
http://autobuild.buildroot.org/results/3d0/3d07de291ec64a16d03e10f0cf1faeb19d546412/
http://autobuild.buildroot.org/results/b03/b03500e7d85786c6eee8f0adc38801340129aa14/
http://autobuild.buildroot.org/results/dd0/dd05caf0db318a9287d239cc6fa5470ccdc2ce7c/
http://autobuild.buildroot.org/results/76b/76bb000d041bd0828d15aa04138e222a4773ce94/

Triggerhappy used the wrong constants for array sizes, causing a compilation
error about out of array bounds initializers with the SW_PEN_INSERTED switch
event added in 4.7. Fix it by using the correct constants (<foo>_CNT) instead.

Patch submitted upstream: https://github.com/wertarbyte/triggerhappy/pull/12

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogrub2: fix build with BR2_STRIP_none
Charles Hardin [Sat, 21 May 2016 20:11:09 +0000 (13:11 -0700)]
grub2: fix build with BR2_STRIP_none

grub2 assumes the strip command will generate output and the output should
always be stripped - so, just use the $(TARGET_CROSS)strip to make sure that
the build succeeds regardless of the buildroot strip configuration.

Signed-off-by: Charles Hardin <ckhardin@exablox.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoyasm: add license
Julien Floret [Mon, 4 Jul 2016 15:33:30 +0000 (17:33 +0200)]
yasm: add license

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoiozone: remove dead code for !thread handling
Thomas Petazzoni [Sun, 31 Jul 2016 12:17:14 +0000 (14:17 +0200)]
iozone: remove dead code for !thread handling

iozone requires thread support since commit
06b53255cf639a5b033a2cdbfcf114770b94a83b, so having code to handle the
non-threaded case in the .mk file is useless.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiozone: depends on toolchain with NPTL support
Waldemar Brodkorb [Sun, 31 Jul 2016 12:05:45 +0000 (14:05 +0200)]
iozone: depends on toolchain with NPTL support

The existent patch is not enough, as pthread_barrier_wait is used, which
isn't implemented in uClibc-ng Linuxthreads.
Remove the patch.

Fixes:

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

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoautofs: add patch to force result of procfs check
Thomas Petazzoni [Sat, 30 Jul 2016 20:32:47 +0000 (22:32 +0200)]
autofs: add patch to force result of procfs check

The autofs configure script verifies on the build system if /proc is
provided by a Linux system. This might fail if /proc is not mounted,
but does ont mean that procfs will not be available in the target.

Therefore, this commit adds a patch improving the AF_LINUX_PROCFS
autoconf macro to allow passing an autoconf cache variable. autofs.mk
then uses that to force the fact that /proc will be available on the
target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotinycbor: add patch to fix installation with old make versions
Thomas Petazzoni [Sat, 30 Jul 2016 19:50:16 +0000 (21:50 +0200)]
tinycbor: add patch to fix installation with old make versions

This commit adds a patch to the tinycbor package that fixes the
installation process with old make version.

This fixes the build on autobuilders using an old make, where tinycbor
was creating empty directories instead of installing files.

Fixes:

  http://autobuild.buildroot.net/results/7605c301f460398c2435f6b73d6d07c7d1022e8c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozynq: unify readme.txt for all Zynq boards
Masahiro Yamada [Mon, 18 Jul 2016 09:38:23 +0000 (18:38 +0900)]
zynq: unify readme.txt for all Zynq boards

The readme.txt for the three boards are almost the same, so merge
them into board/zynq/readme.txt.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozynq_zc706: bump U-Boot to xilinx-v2016.2
Masahiro Yamada [Mon, 18 Jul 2016 09:38:22 +0000 (18:38 +0900)]
zynq_zc706: bump U-Boot to xilinx-v2016.2

This is the latest release tag in the Xilinx repository, based on
U-Boot v2016.01 in the mainline.  It includes proper ps7_init_gpl.c/h
in it, so builds working SPL without any manual intervention.

BR2_TARGET_UBOOT_BOARD_NAME should be changed to zynq_zc706 since
U-Boot now has separate defconfig files for ZC702 and ZC706 boards.

BR2_TARGET_UBOOT_SPL_NAME should be changed to spl/boot.bin since
the Zynq image support for the mkimage tool was upstreamed and it
now generates boot.bin under spl/ directory.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozynq_zc706: bump Linux to xilinx-v2016.2
Masahiro Yamada [Mon, 18 Jul 2016 09:38:21 +0000 (18:38 +0900)]
zynq_zc706: bump Linux to xilinx-v2016.2

This is the latest release tag in the Xilinx repository, based on
Linux v4.4 in the mainline.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozynq_microzed: bump U-Boot to xilinx-v2016.2
Masahiro Yamada [Mon, 18 Jul 2016 09:38:20 +0000 (18:38 +0900)]
zynq_microzed: bump U-Boot to xilinx-v2016.2

This is the latest release tag in the Xilinx repository, based on
U-Boot v2016.01 in the mainline.  To sync with the Zedboard updates,
switch over to the Xilinx GitHub repository.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozynq_microzed: bump Linux to xilinx-v2016.2
Masahiro Yamada [Mon, 18 Jul 2016 09:38:19 +0000 (18:38 +0900)]
zynq_microzed: bump Linux to xilinx-v2016.2

This is the latest release tag in the Xilinx repository, based on
Linux v4.4 in the mainline.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozynq_zed: bump U-Boot to xilinx-v2016.2
Masahiro Yamada [Mon, 18 Jul 2016 09:38:18 +0000 (18:38 +0900)]
zynq_zed: bump U-Boot to xilinx-v2016.2

This is the latest release tag in the Xilinx repository, based on
U-Boot v2016.01 in the mainline.

Commit 46d6a561be41 ("zedboard: Generate BOOT.BIN automatically")
switched from the Xilinx GitHub repository to the U-Boot mainline,
but this commit gets it back to the Xilinx GitHub repository for the
following reasons:

 - This defconfig still relies on the Xilinx's local repository for
   the kernel.  The vendor does the best test for the combination of
   U-Boot and the kernel with the same release tag (xilinx-v2016.2
   in this case).

 - At the time of commit 46d6a561be41, the u-boot-xlnx still needed
   manual copy of ps7_init(_gpl).c/h in order to build a working SPL
   image.  So, the mainline U-Boot had advantage in that point of
   time.  However, the improvement in the mainline U-Boot was merged
   into the u-boot-xlnx at the xilinx-v2015.3 release.  Now, the
   mainline and the u-boot-xlnx are even in this point of view.

 - The mainline U-Boot defaults to boot FIT, so something must be
   done; either patch environments around with a local patch to
   switch to uImage booting (current solution), or build an FIT
   with a post build script (chromebook snow does this).  On the
   other hand, the Xilinx repository defaults to uImage booting,
   so it is straightforward, and needs no addition care.

This commit does:

 - Switch to the Xilinx custom git repository, and stick to the
   xilinx-v2016.2 tag.

 - Delete the local patch board/avnet/zedboard/uboot/0001...
   since the Xilinx custom repository can boot uImage by default.

 - Enable BR2_TARGET_UBOOT_FORMAT_IMG instead of ..._FORMAT_DTB_IMG
   since all the Zynq boards in U-Boot enable CONFIG_OF_EMBED.

 - Replace BR2_TARGET_UBOOT_ZYNQ_IMAGE with BR2_TARGET_UBOOT_SPL_NAME
   since U-Boot can natively generate the Zynq boot image now. The
   Zynq image support for mkimage tool was upstreamed at v2016.01
   (so xilinx-v2016.1 as well), so no additional tool is needed
   any more.

 - Update readme.txt

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agozynq_zed: bump Linux to xilinx-v2016.2
Masahiro Yamada [Mon, 18 Jul 2016 09:38:17 +0000 (18:38 +0900)]
zynq_zed: bump Linux to xilinx-v2016.2

This is the latest release tag in the Xilinx repository, based on
Linux v4.4 in the mainline.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoRevert "package/Makefile.in should grab HOST_DIR headers using -isystem instead of...
Thomas Petazzoni [Sat, 30 Jul 2016 16:10:18 +0000 (18:10 +0200)]
Revert "package/Makefile.in should grab HOST_DIR headers using -isystem instead of -I."

This reverts commit 6f8162cf8c1abef7e0a4771fe0d6b26a28f5c2b6. This is
causing too many problems that are not easy to solve.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agominissdpd: new package
Fabrice Fontaine [Fri, 29 Jul 2016 14:28:37 +0000 (16:28 +0200)]
minissdpd: new package

SSDP managing daemon.
Designed to work with miniupnpc, miniupnpd, minidlna, etc.

http://miniupnp.free.fr/

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
[Thomas:
 - remove patch for _GNU_SOURCE, pass it from the .mk file instead
 - add dependency on BR2_USE_MMU, fork() is used.
 - rename $IF variable in init script/systemd unit file to $IFACE, for
   clarity.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogupnp-tools: new package
Fabrice Fontaine [Fri, 29 Jul 2016 07:51:29 +0000 (09:51 +0200)]
gupnp-tools: new package

GUPnP Tools are free replacements of Intel UPnP tools that use
GUPnP. They provides client and server side tools which enable
one to easily test and debug one's UPnP devices and control
points.

http://www.gupnp.org/

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
[Thomas:
 - use "depends on BR2_PACKAGE_LIBGTK3" instead of a select, and
   simplify the Config.in comments consequently.
 - move from "Development tools" to "Networking applications"
 - license is GPLv2+, not LGPLv2+.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogtksourceview: new package
Fabrice Fontaine [Fri, 29 Jul 2016 07:51:28 +0000 (09:51 +0200)]
gtksourceview: new package

GtkSourceView is a portable C library that extends the
standard GTK+ framework for multiline text editing with
support for configurable syntax highlighting, unlimited
undo/redo, search and replace, a completion framework,
printing and other features typical of a source code editor.

https://projects.gnome.org/gtksourceview

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
[Thomas:
 - simplify the Config.in by using "depends on BR2_PACKAGE_LIBGTK3"
   instead of a select. It is pretty obvious that Gtk is needed if you
   want to use gtksourceview.
 - license is LGPLv2.1+, not LGPLv2+.
 - change location in package/Config.in, gtksourceview is a library,
   it should not go under "Development tools".]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibpqxx: new package
James Knight [Thu, 28 Jul 2016 21:44:58 +0000 (17:44 -0400)]
libpqxx: new package

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogupnp-dlna: new package
Fabrice Fontaine [Thu, 28 Jul 2016 08:12:38 +0000 (10:12 +0200)]
gupnp-dlna: new package

GUPnP DLNA is a small utility library that aims to ease the
DLNA-related tasks such as media profile guessing, transcoding
to a given profile, etc.

http://www.gupnp.org/

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotinydtls: new package
Fabrice Fontaine [Thu, 28 Jul 2016 07:14:07 +0000 (09:14 +0200)]
tinydtls: new package

tinydtls is a library for Datagram Transport Layer Security
(DTLS) covering both the client and the server state machine.
It is implemented in C and provides support for the mandatory
cipher suites specified in CoAP.

https://sourceforge.net/projects/tinydtls

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolshw: bump version to B.02.18
Hubert Sokolowski [Fri, 29 Jul 2016 16:54:59 +0000 (18:54 +0200)]
lshw: bump version to B.02.18

Version B.02.17 was found to be unstable on recent HW.

Status of the patches:

 - The patch allowing to add extra values to the LIBS variable has
   been refreshed, and changed to a Git formatted patch.

 - The two patches from git.alpinelinux.org were needed for lshw to
   build with the musl C library, but they have been merged upstream
   (commit cd690bff1516b40fecd5ec4a7f6619e5bffc3cf0).

 - The last patch was taken from upstream, and therefore already
   merged, and now part of B.02.18.

This patch was tested with kernel 4.4.16.

Signed-off-by: Hubert Sokolowski <hubert.sokolowski@intel.com>
[Thomas:
 - better explanation about patches
 - re-add patch from Gustavo about LIBS, since it is really needed.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiperf: fix "speed" display in csv report
Matt Weber [Fri, 29 Jul 2016 00:09:09 +0000 (19:09 -0500)]
iperf: fix "speed" display in csv report

Some parameters displayed in the CSV reports are declared
as uint64_t, but the printf format doesn't reflect this.

Submitted bug: https://sourceforge.net/p/iperf/bugs/66/

Signed-off-by: Matt Poduska <matt.poduska@rockwellcollins.com>
Signed-off-by: Atul Singh <atul.singh.mandla@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiperf: bump to version 2.0.9
Baruch Siach [Fri, 29 Jul 2016 09:26:47 +0000 (12:26 +0300)]
iperf: bump to version 2.0.9

iperf2 is a fork of the original unmaintained iperf project, that
continues the development of the iperf 2.x series. Update homepage
link, and download location.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
[Thomas:
 - change the download location to use downloads.sourceforge.net
 - turn the patch into a Git-formatted one, since upstream uses Git as
   its version control system
 - as noticed by Khem Raj, a C99 compiler is needed for the bool type,
   so added AC_PROG_CC_C99 to configure.ac, and consequently added
   IPERF_AUTORECONF = YES.
 - removed two <pkg>_CONF_ENV variables related to the bool type, they
   were added by an older commit
   e13ac0ec8788092c6508636da94fe0198c18dffd back when we had a
   config.cache shared between packages (which is no longer the case
   today)]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolvm2: bump version to 2.02.162
Vicente Olivert Riera [Fri, 29 Jul 2016 09:52:20 +0000 (10:52 +0100)]
lvm2: bump version to 2.02.162

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowarpboard: linux.fragment: Do not use CONFIG_BRCMFMAC as built-in
Fabio Estevam [Fri, 29 Jul 2016 13:45:30 +0000 (10:45 -0300)]
warpboard: linux.fragment: Do not use CONFIG_BRCMFMAC as built-in

Selecting the driver CONFIG_BRCMFMAC as built-in causes some probe issues
as we cannot guarantee that the brcmfmac driver will be probed after the
rootfs has been mounted. The brcmfmac driver retrieves the firmware and
nvram file from the rootfs, so the rootfs should be mounted first.

To avoid such issues let the CONFIG_BRCMFMAC be built as module, which is
the original option in imx_v6_v7_defconfig.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libopenh264: bump version to 1.5.0
Bernd Kuhls [Sat, 30 Jul 2016 09:10:22 +0000 (11:10 +0200)]
package/libopenh264: bump version to 1.5.0

Bumping to 1.6.0 is not possible atm because ffmpeg fails to compile
with it. Patches to solve the problem were committed to ffmpeg master:

http://git.videolan.org/?p=ffmpeg.git;a=commit;h=293676c476733e81d7b596736add6cd510eb6960
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=c5d326f551b0312ff581bf1df35b21d956e01523

Backporting fails so let's just wait for the next ffmpeg bump to bump
libopenh264 as well.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosquashfs: update site to git.kernel.org
Atul Singh [Thu, 28 Jul 2016 13:13:28 +0000 (08:13 -0500)]
squashfs: update site to git.kernel.org

squashfs-tools development has been moved to git.kernel.org from
Sourceforge.

The hash was selected to fix a threading issue observed when
creating images on a build machine with at least 64 cores.
(Fixes random corrupted images that would fail to boot)

Signed-off-by: Atul Singh <atul.singh.mandla@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas: use https:// instead of git://.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agokmsxx: new package
Maxime Ripard [Thu, 28 Jul 2016 19:38:25 +0000 (21:38 +0200)]
kmsxx: new package

KMS++ is a suite of library and test tools to interact with KMS drivers in
the linux kernel.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
[Thomas:
 - rename prompt to kms++, suggested by Yann E. Morin
 - fixup the thread dependency comment
 - remove the mention of the python wrapper in the Config.in help
   text, since they are not installed
 - fix the Config.in comment to mention the C++ and gcc >= 4.8
   dependencies
 - use = instead of += when appropriate
 - use a loop to install the test programs
 - use a loop to install the libraries
 - add installation to staging as well, both the libraries and header
   files
 - add missing dependency on host-pkgconf
 - add hash file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowavemon: new package
Jörg Krause [Thu, 28 Jul 2016 20:54:07 +0000 (22:54 +0200)]
wavemon: new package

wavemon is an ncurse-based wireless device monitoring application allowing to
watch signal and noise levels, packet statistics, device configuration and
network parameters of wireless network hardware.

[Peter: needs host-pkgconf, explain CC override]
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain-external: musl toolchain on ARM is for MMU-systems only
Thomas Petazzoni [Thu, 28 Jul 2016 13:39:14 +0000 (15:39 +0200)]
toolchain-external: musl toolchain on ARM is for MMU-systems only

Now that we have introduced the support for ARM no-MMU in Buildroot,
we need to update the dependencies of the musl external toolchain. It
supports only MMU-capable ARM cores, so it must depend on BR2_USE_MMU,
at least for the ARM platforms.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain-external: update ARMeb musl dependency
Thomas Petazzoni [Thu, 28 Jul 2016 13:39:13 +0000 (15:39 +0200)]
toolchain-external: update ARMeb musl dependency

ARM big-endian is different from ARMv4/5/6 and ARMv7. Big-endian on
ARMv4/5/6 is BE-32 while big-endian on ARMv7 is BE-8, which are not
compatible.

Therefore, the musl big endian toolchain that is built for ARMv4
cannot work for ARMv7, it can only work for ARMv4/5/6.

This commit updates the musl toolchain dependency accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosupport/download/git: Fix compatibility issue with git older than 1.8.4
Enrique Ocaña González [Thu, 28 Jul 2016 08:40:22 +0000 (10:40 +0200)]
support/download/git: Fix compatibility issue with git older than 1.8.4

The "--no-patch" option used by the git downloader appeared on git
1.8.4. Systems with older git versions show an error and fall back to
the wget downloader, which isn't suitable for all the cases.

Signed-off-by: Enrique Ocaña González <eocanha@igalia.com>
Tested-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/x11r7/xdriver_xf86-video-intel: bump version
Bernd Kuhls [Thu, 28 Jul 2016 18:05:21 +0000 (20:05 +0200)]
package/x11r7/xdriver_xf86-video-intel: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotcl: bump version to 8.6.6
Vicente Olivert Riera [Thu, 28 Jul 2016 10:38:39 +0000 (11:38 +0100)]
tcl: bump version to 8.6.6

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowireshark: bump version to 2.0.5
Vicente Olivert Riera [Thu, 28 Jul 2016 10:38:38 +0000 (11:38 +0100)]
wireshark: bump version to 2.0.5

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agonano: bump version to 2.6.2
Vicente Olivert Riera [Thu, 28 Jul 2016 12:25:43 +0000 (13:25 +0100)]
nano: bump version to 2.6.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/systemd: bump version
Maxime Hadjinlian [Thu, 28 Jul 2016 09:10:12 +0000 (11:10 +0200)]
package/systemd: bump version

Bump to version v231.
Along that, refresh a patch that did not apply anymore.

For reference, here is the changelog:
https://lists.freedesktop.org/archives/systemd-devel/2016-July/037220.html

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 3.14.x and 4.{4, 6}.x series
Fabio Estevam [Wed, 27 Jul 2016 21:38:01 +0000 (18:38 -0300)]
linux-headers: bump 3.14.x and 4.{4, 6}.x series

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocollectd: security bump to version 5.5.2
Gustavo Zacarias [Wed, 27 Jul 2016 23:16:45 +0000 (20:16 -0300)]
collectd: security bump to version 5.5.2

Fixes a heap overflow in the network plugin.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodocker-engine: new package
Christian Stewart [Sun, 24 Jul 2016 21:10:28 +0000 (14:10 -0700)]
docker-engine: new package

Docker is a platform to build, ship, and run applications in portable
containers.

Signed-off-by: Christian Stewart <christian@paral.in>
[Thomas: drop LIBRARY_PATH, as suggested by Christian.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/btrfs-progs: install to staging directory
Christian Stewart [Sun, 24 Jul 2016 21:10:27 +0000 (14:10 -0700)]
package/btrfs-progs: install to staging directory

Other packages when building against btrfs-progs require headers in the
staging directory under /usr/include/btrfs. This patch enables
installing btrfs-progs to the staging directory to enable other packages
to build against the btrfs-progs headers.

Signed-off-by: Christian Stewart <christian@paral.in>
[Thomas: take into account the BR2_STATIC_LIBS case, by adding the
relevant BTRFS_PROGS_INSTALL_STAGING_OPTS variable, as well as a patch
to make sure "install-static" installs the static library and the
headers.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostella: new package
Sergio Prado [Tue, 26 Jul 2016 20:29:51 +0000 (17:29 -0300)]
stella: new package

Stella is a multi-platform Atari 2600 VCS emulator.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/elementary: fix parallel install issue
Romain Naour [Mon, 25 Jul 2016 21:38:00 +0000 (23:38 +0200)]
package/elementary: fix parallel install issue

There are some *.eo.h files listed in includesub_HEADERS list but
these files are already installed from elm_eolian_files list.

Use AUTORECONF and GETTEXTIZE to regenerate the configure script.

Fixes:
http://autobuild.buildroot.net/results/7e9/7e9caffe442dcf40ee41da56fd3f55ffedf3a291

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/qemu: bump to latest version
Gustavo Zacarias [Mon, 25 Jul 2016 21:47:02 +0000 (18:47 -0300)]
configs/qemu: bump to latest version

Also bump the pc samples since they're tied to the (base) qemu config.

Results table:

Defconfig               Kernel  Qemu            Network Status
--------------------------------------------------------------
aarch64_virt            4.7     2.6.0           YES     OK (3)
arm_versatile           4.7     2.5.0           YES     OK
arm_vexpress            4.7     2.5.0           YES     OK
m68k_mcf5208            4.7     2.5.0           YES     OK
m68k_q800               4.7     q800-v2.4.0     NO (2)  OK
microblazebe            4.7     2.5.0           YES     OK
microblazeel            4.7     2.5.0           YES     OK
mips32r2el_malta        4.7     2.5.0           YES     OK
mips32r2_malta          4.7     2.5.0           YES     OK
mips32r6el_malta        4.7     2.6.0           YES     OK (3)
mips32r6_malta          4.7     2.6.0           YES     OK (3)
mips64el_malta          4.7     2.5.0           YES     OK
mips64_malta            4.7     2.5.0           YES     OK
mips64r6el_malta        4.7     2.6.0           YES     OK (3)
mips64r6_malta          4.7     2.6.0           YES     OK (3)
ppc_g3beige             4.7     2.5.0           YES     OK
ppc_mpc8544ds           4.7     2.5.0           YES     OK
ppc_virtex_ml507        4.7     2.5.0           NO      OK
ppc64_pseries           4.7     2.5.0           YES     OK
sh4                     4.7     2.5.0           YES     OK
sh4eb                   4.7     2.5.0           NO (1)  OK
sparc_ss10              4.7     2.5.0           YES     OK
sparc64_sun4u           4.7     2.5.0           YES     OK
sparc_sun4u             4.7     2.5.0           YES     OK
x86                     4.7     2.5.0           YES     OK
x86_64                  4.7     2.5.0           YES     OK
xtensa_lx60             4.7     2.6.0           YES     OK
xtensa_lx60_nommu       4.7     2.6.0           YES     OK

(1) - Probably an endian issue with 8139 emulation/driver
(2) - There's a network interface, but enabling it in qemu fails
(3) - Known to fail with qemu versions lower than 2.6.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/qt5webkit: needs host-python
Yann E. MORIN [Mon, 25 Jul 2016 22:33:31 +0000 (00:33 +0200)]
package/qt5webkit: needs host-python

The Qt5Webkit build system hard-codes calls to 'python', but only really
supports python2.

We fix that similarly as we did in nodejs, by adding a python->python2
symlink early in the PATH when configuring/building Qt5Webkit, and
adding host-python in the dependency list.

Fixes:
    http://autobuild.buildroot.org/results/ea4/ea4dd00ee585f9f9ea1927b8b5fd9035e6733420/
    http://autobuild.buildroot.org/results/323/323ba220fae70d94c81bab9a348be844e90ace91/
    http://autobuild.buildroot.org/results/6c2/6c20c9e222f94e6b70b97b87e1393dd16da2718c/

Also slightly reorganise the dependency list, now that it no longer fits
on a single line.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofmc: bump to fsl-sdk-v2.0
Matt Weber [Wed, 27 Jul 2016 12:46:24 +0000 (07:46 -0500)]
fmc: bump to fsl-sdk-v2.0

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofmlib: bump to fsl-sdk-v2.0
Matt Weber [Wed, 27 Jul 2016 12:46:23 +0000 (07:46 -0500)]
fmlib: bump to fsl-sdk-v2.0

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibarchive: add selection of bsdcat
Frank Hunleth [Tue, 26 Jul 2016 12:58:53 +0000 (08:58 -0400)]
libarchive: add selection of bsdcat

libarchive builds three commandline utilities: bsdtar, bsdcpio, and
bsdcat. This change adds control over the third utility to the list of
configuration options.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: nitrogen*: bump u-boot version to v2016.03
Gary Bisson [Wed, 27 Jul 2016 13:27:07 +0000 (15:27 +0200)]
configs: nitrogen*: bump u-boot version to v2016.03

Using the latest commit of our 2016.03 U-Boot branch:
https://github.com/boundarydevices/u-boot-imx6/tree/boundary-v2016.03

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs: nitrogen*: bump kernel version to 4.1.15_1.0.0_ga
Gary Bisson [Wed, 27 Jul 2016 13:27:06 +0000 (15:27 +0200)]
configs: nitrogen*: bump kernel version to 4.1.15_1.0.0_ga

Using the latest commit of our 4.1.15 kernel branch:
https://github.com/boundarydevices/linux-imx6/commits/boundary-imx_4.1.15_1.0.0_ga

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoasciidoc: use absolute path for resources
Atul Singh [Wed, 27 Jul 2016 18:02:48 +0000 (13:02 -0500)]
asciidoc: use absolute path for resources

One of the "features" of a2x is that the '-r|--resource' flag imports
resources relative to the [SOURCE_FILE], not the CWD. The current
implementation tries to import resources from the destination dir $(@D),
which works fine for out-of-tree builds because $(@D) is an absolute
path, however in-tree builds treat $(@D) as a relative path, which breaks
because a2x treats $(@D) relative to SOURCE_FILE.

Use the make command $(abspath names...) to convert the dest dir to an
absolute path before passing it as a resource.

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
Signed-off-by: Atul Singh Mandla <atul.singh.mandla@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoipkg: fix MMU-less build
Baruch Siach [Tue, 26 Jul 2016 12:27:32 +0000 (15:27 +0300)]
ipkg: fix MMU-less build

The code incorrectly tests for __ARCH_HAS_MMU__ which is true for
architecture that *may* have a MMU, instead of __ARCH_USE_MMU__ which
specifies if MMU support is really enabled. Add a patch making direct
use of HAVE_FORK that configure defines when fork() is detected.

Fixes:
http://autobuild.buildroot.net/results/6cf/6cf75e08795d9ab194ce4e882c0f4858bad979c3/
http://autobuild.buildroot.net/results/964/964d8f694bc7d05b35411eabfbadf40bbf6337ae/
http://autobuild.buildroot.net/results/0f2/0f2cddf89af3ad4330556acd04ab6cb080370e24/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5imageformats: fix AArch64 compile
Peter Seiderer [Tue, 26 Jul 2016 18:49:21 +0000 (20:49 +0200)]
qt5imageformats: fix AArch64 compile

Fix libwebp.pri arm64/neon detection using upstream patch [1].

Fixes bug reported by Uwe Hermann [2] and [3], [4], [5]:

  .../build/qt5imageformats-5.6.1-1/src/3rdparty/libwebp/src/dsp/dec.o: In function `VP8DspInit':
  dec.c:(.text+0x2b28): undefined reference to `VP8DspInitNEON'
  .../build/qt5imageformats-5.6.1-1/src/3rdparty/libwebp/src/dsp/enc.o: In function `VP8EncDspInit':
  enc.c:(.text+0x1970): undefined reference to `VP8EncDspInitNEON'
  ../build/qt5imageformats-5.6.1-1/src/3rdparty/libwebp/src/dsp/lossless.o: In function `VP8LDspInit':
  lossless.c:(.text+0x2b18): undefined reference to `VP8LDspInitNEON'
  .../build/qt5imageformats-5.6.1-1/src/3rdparty/libwebp/src/dsp/upsampling.o: In function `WebPInitUpsamplers':
  upsampling.c:(.text+0x41e0): undefined reference to `WebPInitUpsamplersNEON'

[1] https://code.qt.io/cgit/qt/qtimageformats.git/patch/?id=e4c1d9ece74de212ebe5c55b134de7cb23469e2d
[2] https://bugs.busybox.net/show_bug.cgi?id=8986
[3] http://autobuild.buildroot.net/results/0e5/0e577a70bb88e2ba685ccde28576a6857c99876c
[4] http://autobuild.buildroot.net/results/c85/c85f0445151171548cf7c39999ef00d1638871e0
[5] http://autobuild.buildroot.net/results/ae7/ae74f93f09e61151553a54b9d3a6b19946e42938

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs: warpboard: Move to kernel version 4.4.15
Fabio Estevam [Tue, 26 Jul 2016 19:08:48 +0000 (16:08 -0300)]
configs: warpboard: Move to kernel version 4.4.15

Currently warpboard uses a 4.0.5 kernel version from github.

Move to version 4.4.15, which is a long term supported kernel version.

With 4.4.15 we no longer need the extra two kernel patches as they have
already been upstreamed.

Use a linux fragment file, so that wireless can be functional by default.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/warpboard: Generate an sdcard image
Fabio Estevam [Tue, 26 Jul 2016 16:01:51 +0000 (13:01 -0300)]
configs/warpboard: Generate an sdcard image

Generate an sdcard.img image to make it easier the deployment of a
Buildroot image.

[Peter: drop unneeded exit statement in post-image script]
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>