buildroot.git
8 years agogdb: fix simulator build failures
Thomas Petazzoni [Thu, 4 Aug 2016 22:12:25 +0000 (00:12 +0200)]
gdb: fix simulator build failures

Following reports from me of build failures of the GDB simulator for the
Blackfin architecture, Waldemar cooked a
patch (0005-fix-sim-compile.patch) that removes the typedef of SIM_CPU,
because there was a redefinition of this typedef for Blackfin. This was
not causing an issue with recent compilers as redefining the same
typedef is valid with recent compilers, but was causing build failures
with gcc 4.4.x.

However, by removing the common definition of SIM_CPU, this patch broke
the build of the GDB simulator on other architectures, which did not had
an architecture-specific redefinition of SIM_CPU (unlike Blackfin).

The crux of the problem is in a commit from Mike Frysinger, that tries
to refactor the SIM_CPU definition into a common one. Except that it
leaves a redefinition of it for Blackfin. Removing this second
definition however doesn't easily work, due to include ordering
issues. The easiest solution is to simply revert the patch from Mike
Frysinger. This allows to fix the build for all architectures and all
compiler versions.

Fixes:

  http://autobuild.buildroot.net/results/3b82c44ee853fab0e0c63881f0705bb659412917/
  http://autobuild.buildroot.net/results/dafbb93ab38a4285ce42436219d552cceb14828b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libvpx: bump version to 1.6.0
Bernd Kuhls [Sun, 31 Jul 2016 09:17:40 +0000 (11:17 +0200)]
package/libvpx: bump version to 1.6.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libvpx: Fix compilation when __uClinux__ is defined
Bernd Kuhls [Sun, 31 Jul 2016 08:41:44 +0000 (10:41 +0200)]
package/libvpx: Fix compilation when __uClinux__ is defined

<lddk.h> is a platform-specific header, which is not provided by any C
library today.

Fixes:

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibdvdnav: fix nios2 cross-compile
Waldemar Brodkorb [Sun, 31 Jul 2016 10:17:16 +0000 (12:17 +0200)]
libdvdnav: fix nios2 cross-compile

The host is misdetected as OS/2.

Fixes:
http://autobuild.buildroot.net/results/d5b30d6b5463928ded1a1c1f1f5345a726f6ffaf/
http://autobuild.buildroot.net/results/917041c7165093f44a5d3b4a5ba56a3d1b59e456/
http://autobuild.buildroot.net/results/dcfc53b6fc25210cf70a1abf0e24b85f0d971101/
http://autobuild.buildroot.net/results/79109d06183efa17f6f68c1ea78cbd9927c5c46e/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoeudev: add patch to fix getrandom() system call on ARM64
Thomas Petazzoni [Thu, 4 Aug 2016 09:04:46 +0000 (11:04 +0200)]
eudev: add patch to fix getrandom() system call on ARM64

When the kernel headers in the toolchain don't provide __NR_getrandom,
eudev has a predefined set of values. However, the provided value for
ARM64 is incorrect, and causes a runtime problem on this architecture
when old kernel headers (not providing __NR_getrandom) are used.

This commit adds a patch to eudev to fix this issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
8 years agogcc: bump 4.9 series to 4.9.4
Thomas Petazzoni [Wed, 3 Aug 2016 21:48:24 +0000 (23:48 +0200)]
gcc: bump 4.9 series to 4.9.4

Two patches are removed, as they have been upstreamed:

 - 130-fix_build_with_gcc-6.patch (svn commit 233721, Git commit
   8c3fa311caa86f61b4e28d1563d1110b44340fb2)

 - 920-libgcc-remove-unistd-header.patch (svn commit 226092, Git commit
   e940d7953f06af11d09229a29ecbcc1ba25b378d)

All other patches have simply been refreshed, with no manual edit
needed.

A build+runtime test has been done with an ARM, Cortex-A8, EABIhf, musl
configuration, booted under Qemu.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: bump 3.18.x and 4.1.x series
Fabio Estevam [Thu, 4 Aug 2016 19:19:26 +0000 (16:19 -0300)]
linux-headers: bump 3.18.x and 4.1.x series

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoshellinabox: add dependency on !BR2_STATIC_LIBS
Thomas Petazzoni [Thu, 4 Aug 2016 20:37:01 +0000 (22:37 +0200)]
shellinabox: add dependency on !BR2_STATIC_LIBS

shellinabox uses <dlfcn.h>, so a !BR2_STATIC_LIBS dependency is needed.

Fixes:

  http://autobuild.buildroot.net/results/59dd88e31a5f49231c4131b840fbf1bb76e777e7/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoshellinabox: fix build on musl
Olivier Singla [Thu, 4 Aug 2016 01:47:12 +0000 (21:47 -0400)]
shellinabox: fix build on musl

This commit fixes the build of shellinabox with the musl C library,
which requires two changes:

 - A patch to include <sys/ttydefaults.h>, which is needed to get the
   definitions of TTYDEF_*

 - A hack to workaround what seems to be a problem in musl itself (musl
   does #define utmp utmpx, which causes some symbol conflicts down the
   road). Since anyway the utmpx implementation is just a set of stubs
   in musl, we simply make shellinabox believe that <utmpx.h> is not
   available by passing the appropriate variable. The musl issue has
   been reported at http://www.openwall.com/lists/musl/2016/08/04/8.

Fixes:

  http://autobuild.buildroot.net/results/1847cab964957da3c9bf4911a5ad3602b3c82431/

Signed-off-by: Olivier Singla <olivier.singla@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoshellinabox: convert patch to a Git formatted one
Thomas Petazzoni [Thu, 4 Aug 2016 20:33:40 +0000 (22:33 +0200)]
shellinabox: convert patch to a Git formatted one

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoncdu: bump version from 1.9 to 1.11
Alexander Dahl [Thu, 4 Aug 2016 10:47:42 +0000 (12:47 +0200)]
ncdu: bump version from 1.9 to 1.11

Signed-off-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mono: bump to version 4.4.2.11
Angelo Compagnucci [Wed, 3 Aug 2016 21:26:55 +0000 (23:26 +0200)]
package/mono: bump to version 4.4.2.11

This patch bumps mono to version 4.4.2.11

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoRevert "dtc: install libfdt library and headers for host variant"
Thomas Petazzoni [Thu, 4 Aug 2016 16:19:18 +0000 (18:19 +0200)]
Revert "dtc: install libfdt library and headers for host variant"

This reverts commit 5ca9b7cf66941a66cff736aadaf8a31afe55f964. Installing
dtc headers in $(HOST_DIR) causes some build failures of
host-uboot-tools due to a conflicting libfdt.h header.

The possible solution to solve this problem, based on -isystem, has been
reverted has it was causing too many issues that we didn't want to solve
so close to cutting 2016.08-rc1.

Since the headers of libfdt for the host are currently not needed for
any package in the Buildroot tree, it is easier and safer to just revert
this patch.

Fixes:

  http://autobuild.buildroot.net/results/9fba77f4080bf6bc26e341f3f383cdba26c0e14f/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/imagemagick: bump to version 7.0.2-6
Jerzy Grzegorek [Wed, 3 Aug 2016 21:23:27 +0000 (23:23 +0200)]
package/imagemagick: bump to version 7.0.2-6

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoncurses: use foreach make loops instead of shell for loops
Thomas Petazzoni [Tue, 2 Aug 2016 20:34:36 +0000 (22:34 +0200)]
ncurses: use foreach make loops instead of shell for loops

The main benefit of using make foreach loops is that they will abort
if one of the iteration of the loop fails. The current for loops will
continue, and only report a failure if the last iteration was a
failure, but will silently ignore other errors.

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 agoncurses: factorize terminfo files installation
Thomas Petazzoni [Tue, 2 Aug 2016 20:34:35 +0000 (22:34 +0200)]
ncurses: factorize terminfo files installation

This long list of commands to copy the terminfo files from staging to
target is really silly and can be factorized using a
NCURSES_TERMINFO_FILES variable, which is then iterated through.

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 agoconfigs: nitrogen*: bump kernel and u-boot version for m4 support
Gary Bisson [Wed, 3 Aug 2016 17:09:49 +0000 (19:09 +0200)]
configs: nitrogen*: bump kernel and u-boot version for m4 support

Also adding the '-m4' device tree blobs which allow to disable the
peripherals that are used by the Cortex-M4.

The 6x_bootscript is already setup to load the '-m4' dtb if m4enabled
u-boot variable is set to 1.

The FreeRTOS BSP for both Nitrogen6SX and Nitrogen7 can be found here:
https://github.com/boundarydevices/freertos-boundary

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogst1-imx: bump to version 0.12.2
Gary Bisson [Wed, 27 Jul 2016 13:53:34 +0000 (15:53 +0200)]
gst1-imx: bump to version 0.12.2

Changelog:
* imxv4l2videosrc:
  * Stricter checks for video device capabilities
  * Add support for more video formats like 8/16-bit grayscale

* pxp: Fix incorrect return code which broke blitter with GStreamer 1.8

* blitter:
  * Improvements in error logging
  * Fixes for RGBx framebuffer format detection
  * Fix for subtle tearing problem by implementing triple buffering

* audio:
  * Replace objdump-based scan during build configuration
    Codec filenames are instead moved to the C code; the libdir
    path of the libfslaudiocodec.pc file is used to know where on
    the target the files are placed
  * Explicitely add the libfslaudiocodec.pc libdir to the MP3 encoder
    Fixes build errors in buildroot
  * Minor logging fixes

* misc:
  * Proper check for region copies in phys_mem_meta
  * Add missing G_END_DECLS lines in headers

Tested with the following commands on i.MX6Q (IPU):
 # gst-launch-1.0 playbin uri=file:///root/tears_of_steel_1080p.webm
 # gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
   matroskademux ! imxvpudec ! imxipuvideosink
 # gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \
   matroskademux ! imxvpudec ! imxeglvivsink

Tested with the following commands on i.MX7 (PXP):
 # gst-launch-1.0 imxv4l2videosrc device=/dev/video1 ! imxpxpvideosink

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoimx-parser: add missing configure options
Gary Bisson [Wed, 27 Jul 2016 13:53:33 +0000 (15:53 +0200)]
imx-parser: add missing configure options

Enable hard float support when the configuration contains:
BR2_ARM_EABIHF=y

See Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/blob/krogoth/recipes-multimedia/imx-parser/imx-parser.inc

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoimx-parser: add install hooks to fix libraries path
Gary Bisson [Wed, 27 Jul 2016 13:53:32 +0000 (15:53 +0200)]
imx-parser: add install hooks to fix libraries path

By default, all the libraries are installed under /usr/lib/imx-mm
which causes problems at runtime.

[Peter: drop -mindepth/-maxdepth, add comment explaining why this is done]
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoimx-codec: add missing configure options
Gary Bisson [Wed, 27 Jul 2016 13:53:31 +0000 (15:53 +0200)]
imx-codec: add missing configure options

Enable VPU and hard float support when the configuration contains:
BR2_ARM_EABIHF=y
BR2_PACKAGE_IMX_VPU=y

See Yocto equivalent:
https://github.com/Freescale/meta-fsl-arm/blob/krogoth/recipes-multimedia/imx-codec/imx-codec.inc

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoimx-codec: add install hooks to fix libraries path
Gary Bisson [Wed, 27 Jul 2016 13:53:30 +0000 (15:53 +0200)]
imx-codec: add install hooks to fix libraries path

By default, all the libraries are installed under /usr/lib/imx-mm
which causes problems at runtime.

The hooks are inspired from the mechanism used in the Yocto recipe:
https://github.com/Freescale/meta-fsl-arm/blob/krogoth/recipes-multimedia/imx-codec/imx-codec.inc

Tested with the following commands:
 # gst-launch-0.10 audiotestsrc ! mfw_mp3encoder ! fakesink
 # gst-launch-1.0 audiotestsrc ! imxmp3audioenc ! fakesink

[Peter: drop -mindepth/-maxdepth, add comment explaining why this is done]
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
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>