]> rtime.felk.cvut.cz Git - coffee/buildroot.git/log
coffee/buildroot.git
8 years agoboard/minnowboard: Rework to generate SD card image
Ezequiel García [Sat, 16 Apr 2016 15:23:20 +0000 (12:23 -0300)]
board/minnowboard: Rework to generate SD card image

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

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

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

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

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

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

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

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

it would look for

$(BR2_GLOBAL_PATCH_DIR)gcc-initial/*.patch

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

To fix, add the missing /

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

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

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

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

All the patches have been pulled from Yocto as well.

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

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

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

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

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

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

Needed for wchar_t. Fixes build error:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Remove patch, which was applied upstream.

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

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

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

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

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

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

The result is these two inittab lines:

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/turbolua: new package
Marcin Niestroj [Mon, 11 Apr 2016 09:43:18 +0000 (11:43 +0200)]
package/turbolua: new package

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/rtptools: fix build for toolchains missinf SUN RPC headers
Yann E. MORIN [Mon, 11 Apr 2016 21:46:35 +0000 (23:46 +0200)]
package/rtptools: fix build for toolchains missinf SUN RPC headers

Use a configure check rather than checking explicitly for uClibc.

Make the patch a git patch at the same time.

Fixes:
    http://autobuild.buildroot.org/results/1cf/1cfe3e019a627e7c092dbd94e4b891179e35bedd/
    http://autobuild.buildroot.org/results/5ba/5bad40610316392c3f213c3e2a27ac76abd88de6/
    http://autobuild.buildroot.org/results/789/789ebdc6a96fc62ca5c98bdd6b90de20872ea221/
    ... and numerous similar build failures

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimx-uuc: new package
Gary Bisson [Wed, 13 Apr 2016 10:40:52 +0000 (12:40 +0200)]
imx-uuc: new package

This package provides the Universal Adapter user-space utility that is
used to receive commands from the Manufacturing Tool using the Freescale
UTP Protocol.

It requires a Freescale/NXP kernels whose configuration contains the
CONFIG_FSL_UTP option.

The /fat file is provided as a bootargs to the g_mass_storage driver
from U-Boot, see:
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/include/
configs/mx6sabre_common.h?h=imx_v2015.04_3.14.52_1.1.0_ga#n116

Init scripts are provided so that the tool starts automatically at
bootup.

Tested on Nitrogen6_MAX + MFGTools.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
[Thomas:
 - test return value from start-stop⁻daemon in init script, and
   reindent the init script
 - fix dependency of the comment
 - rewrap Config.in help text.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: add optional dependency to openldap
Bernd Kuhls [Sun, 17 Apr 2016 15:24:48 +0000 (17:24 +0200)]
package/freeswitch: add optional dependency to openldap

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_shout
Bernd Kuhls [Sun, 17 Apr 2016 15:24:47 +0000 (17:24 +0200)]
package/freeswitch: enable mod_shout

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_cv
Bernd Kuhls [Sun, 17 Apr 2016 15:24:46 +0000 (17:24 +0200)]
package/freeswitch: enable mod_cv

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_imagick
Bernd Kuhls [Sun, 17 Apr 2016 15:24:45 +0000 (17:24 +0200)]
package/freeswitch: enable mod_imagick

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_memcache
Bernd Kuhls [Sun, 17 Apr 2016 15:24:44 +0000 (17:24 +0200)]
package/freeswitch: enable mod_memcache

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: add optional dependency to xz
Bernd Kuhls [Sun, 17 Apr 2016 15:24:43 +0000 (17:24 +0200)]
package/freeswitch: add optional dependency to xz

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_soundtouch
Bernd Kuhls [Sun, 17 Apr 2016 15:24:42 +0000 (17:24 +0200)]
package/freeswitch: enable mod_soundtouch

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_alsa
Bernd Kuhls [Sun, 17 Apr 2016 15:24:41 +0000 (17:24 +0200)]
package/freeswitch: enable mod_alsa

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_sndfile
Bernd Kuhls [Sun, 17 Apr 2016 15:24:40 +0000 (17:24 +0200)]
package/freeswitch: enable mod_sndfile

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_silk
Bernd Kuhls [Sun, 17 Apr 2016 15:24:39 +0000 (17:24 +0200)]
package/freeswitch: enable mod_silk

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_portaudio
Bernd Kuhls [Sun, 17 Apr 2016 15:24:38 +0000 (17:24 +0200)]
package/freeswitch: enable mod_portaudio

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_opus
Bernd Kuhls [Sun, 17 Apr 2016 15:24:37 +0000 (17:24 +0200)]
package/freeswitch: enable mod_opus

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_isac
Bernd Kuhls [Sun, 17 Apr 2016 15:24:36 +0000 (17:24 +0200)]
package/freeswitch: enable mod_isac

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_ilbc
Bernd Kuhls [Sun, 17 Apr 2016 15:24:35 +0000 (17:24 +0200)]
package/freeswitch: enable mod_ilbc

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: add optional dependency to libg7221
Bernd Kuhls [Sun, 17 Apr 2016 15:24:34 +0000 (17:24 +0200)]
package/freeswitch: add optional dependency to libg7221

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_codec2
Bernd Kuhls [Sun, 17 Apr 2016 15:24:33 +0000 (17:24 +0200)]
package/freeswitch: enable mod_codec2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_bv
Bernd Kuhls [Sun, 17 Apr 2016 15:24:32 +0000 (17:24 +0200)]
package/freeswitch: enable mod_bv

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_lua
Bernd Kuhls [Sun, 17 Apr 2016 15:24:31 +0000 (17:24 +0200)]
package/freeswitch: enable mod_lua

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_yaml
Bernd Kuhls [Sun, 17 Apr 2016 15:24:30 +0000 (17:24 +0200)]
package/freeswitch: enable mod_yaml

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: add optional dependency to freetype
Bernd Kuhls [Sun, 17 Apr 2016 15:24:29 +0000 (17:24 +0200)]
package/freeswitch: add optional dependency to freetype

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: add optional dependency to unixodbc
Bernd Kuhls [Sun, 17 Apr 2016 15:24:28 +0000 (17:24 +0200)]
package/freeswitch: add optional dependency to unixodbc

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: add optional dependency to libpng
Bernd Kuhls [Sun, 17 Apr 2016 15:24:27 +0000 (17:24 +0200)]
package/freeswitch: add optional dependency to libpng

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable mod_enum
Bernd Kuhls [Sun, 17 Apr 2016 15:24:26 +0000 (17:24 +0200)]
package/freeswitch: enable mod_enum

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: add optional dependency to libedit
Bernd Kuhls [Sun, 17 Apr 2016 15:24:25 +0000 (17:24 +0200)]
package/freeswitch: add optional dependency to libedit

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: enable optional modules
Bernd Kuhls [Sun, 17 Apr 2016 15:24:24 +0000 (17:24 +0200)]
package/freeswitch: enable optional modules

All these modules have no external dependencies.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: new package
Bernd Kuhls [Sun, 17 Apr 2016 15:24:23 +0000 (17:24 +0200)]
package/freeswitch: new package

This commit adds freeswitch without any configured modules and with a
minimal set of non-optional dependencies. All other dependencies and
modules will be added by further patches in this series.

Please note that freeswitch source repo bundles some libraries which
are also available as buildroot packages. The freeswitch build system
does not allow to use system libraries in these cases:

  apr, apr-util, libsrtp, libvpx, libyuv, sofia-sip, tiff

The reason are patches to these packages by the freeswitch project
which are not yet upstream. There is an open JIRA report for this
situation:
https://freeswitch.org/jira/si/jira.issueviews:issue-html/FS-353/FS-353.html

More historic infos can be found here:
http://article.gmane.org/gmane.comp.telephony.freeswitch.devel/2715
https://freeswitch.org/the-missing-link/

In the 1.6.7 version bump libvpx & libyuv were also moved in-tree:
https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/febe0f8dacea2d2a31902b3dc469be757f8c3c4d
https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/44da905b4f6b3b35e94b4948fb70dec7b5071ded

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofile: bump to version 5.26
Gustavo Zacarias [Sun, 17 Apr 2016 14:51:14 +0000 (11:51 -0300)]
file: bump to version 5.26

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogutenprint: add optional libusb support
Peter Korsgaard [Sun, 17 Apr 2016 19:35:38 +0000 (21:35 +0200)]
gutenprint: add optional libusb support

As the recent build issues have shown, gutenprint has optional libusb
support so ensure it is built after libusb if enabled for consistent
builds.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/cmake: bump version to 3.5.2
Bernd Kuhls [Sun, 17 Apr 2016 12:59:17 +0000 (14:59 +0200)]
package/cmake: bump version to 3.5.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogutenprint: fix host build
Waldemar Brodkorb [Sun, 17 Apr 2016 09:52:37 +0000 (11:52 +0200)]
gutenprint: fix host build

Disable USB support when CUPS disabled, otherwise host build breaks.
Fixes following autobuild error:
http://autobuild.buildroot.net/results/081b3be918ac1eaa8cfbc5919e00bc1ea267c1df/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas:
 - use Git formatted patch, cherry-picked from upstream
 - remove --without-libusb, not needed.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogstreamer1: fix help text typos
Baruch Siach [Sun, 17 Apr 2016 09:16:04 +0000 (12:16 +0300)]
gstreamer1: fix help text typos

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogadgetfs-test: add a hash file
Fabio Porcedda [Sun, 17 Apr 2016 00:20:33 +0000 (02:20 +0200)]
gadgetfs-test: add a hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibeXosip2: add a hash file
Fabio Porcedda [Sun, 17 Apr 2016 00:20:32 +0000 (02:20 +0200)]
libeXosip2: add a hash file

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoRevert "core: add the possibility to provide help for custom rules"
Yann E. MORIN [Sat, 16 Apr 2016 21:20:18 +0000 (23:20 +0200)]
Revert "core: add the possibility to provide help for custom rules"

This reverts commit 84c825f8e893bfb56847ab4a880c46066a41744f.

Turns out that the custom help is not available when the $(O) directory
has not been configure yet (i.e. when there is no .config already
filled).

Rather than trying to work around this limitation with dirty hacks, just
revert this feature. After all, this will not prevent an external.mk
from providing custom help anyway; it's just not gonna be advertised nor
displayed with the main help.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoRevert "core: also display the custom help with our main help"
Yann E. MORIN [Sat, 16 Apr 2016 21:20:17 +0000 (23:20 +0200)]
Revert "core: also display the custom help with our main help"

This reverts commit 0a767deba004c920e7824543380cffbb298507f8.

Turns out that the custom help is not available when the $(O) directory
has not been configure yet (i.e. when there is no .config already
filled).

Rather than trying to work around this limitation with dirty hacks, just
revert this feature. After all, this will not prevent an external.mk
from providing custom help anyway; it's just not gonna be advertised nor
displayed with the main help.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/stm32f469_disco: new configuration for STM32F469 Discovery board
Lee Jones [Fri, 15 Apr 2016 21:02:20 +0000 (23:02 +0200)]
configs/stm32f469_disco: new configuration for STM32F469 Discovery board

Similar to stm32f429_disco, this commit adds a configuration for the
Cortex-M4 based STM32F469 platform.

It requires a few kernel patches, which have already been submitted
upstream, as well as a small OpenOCD patch. Besides that, it re-uses
most of what has been added for the STM32F429 platform.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
[Thomas:
 - squash multiple patches from Lee Jones into one
 - improve the readme.txt file
 - sync the defconfig with the adaptations made to the stm32f429
   configuration.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/stm32f429_disco: new configuration for STM32F429 Discovery board
Lee Jones [Fri, 15 Apr 2016 21:02:19 +0000 (23:02 +0200)]
configs/stm32f429_disco: new configuration for STM32F429 Discovery board

This commit adds a defconfig for the STM32F429 platform, which is
based on a Cortex-M4 core from ST Microelectronics. It is therefore
the first noMMU ARM platform supported in Buildroot.

This commit includes some files that will be common to several STM32
platforms (hence in board/stmicroelectronics) and some files that are
specific to the STM32F429 (hence in
board/stmicroelectronics/stm32f429-disco). More specifically, this
commit adds:

 - A minimal Busybox configuration, which is small enough to boot
   without causing OOM on such small noMMU platforms. The resulting
   Busybox, statically linked with uClibc-ng, weights around 220
   KB. For now, this file is located in board/stmicroelectronics/, but
   we might consider moving it to package/busybox/ in the future if
   needed.

 - A post-build script that removes the mounting of /dev/pts (not
   enabled in the kernel and not very useful for a system that has no
   network and no X), and removes the network related init script and
   configuration files (no network support).

 - A flash.sh script, to perform the right OpenOCD invocations to
   reflash the board.

 - One small kernel patch to adjust the kernel command line in the
   Device Tree, since it's the only way to do so.

 - The usual readme.txt file.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
[Thomas:
 - squashed multiple patches from Lee Jones together
 - added the minimal Busybox configuration
 - added the post-build script
 - improved the flashing script to not hardcode the location of the
   output directory
 - add the small kernel patch
 - improve the readme.txt file
 - test on HW the resulting image, after using the internal toolchain.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoafboot-stm32: use the Buildroot toolchain
Thomas Petazzoni [Fri, 15 Apr 2016 21:02:18 +0000 (23:02 +0200)]
afboot-stm32: use the Buildroot toolchain

By default, the afboot-stm32 Makefile uses "CROSS_COMPILE =
arm-none-eabi-". Since I had such a toolchain installed on my system
when testing afboot-stm32, I didn't realize it wasn't using the
Buildroot toolchain.

However, using the Buildroot toolchain doesn't immediately works for
FLAT toolchains, as gcc automatically wants to create a FLAT
binary. So we need to adjust the afboot-stm32 Makefile to use directly
'ld' and not 'gcc' when linking.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoelf2flt: use new upstream site and bump version
Thomas Petazzoni [Fri, 15 Apr 2016 21:02:17 +0000 (23:02 +0200)]
elf2flt: use new upstream site and bump version

The uClinux developers now have a Github with elf2flt code, with an
upstream that is again active. Let's switch to this upstream, which
has built-in support for ARM noMMU, contributed by Waldemar.

Since we're now fetching from github, a hash file is added as well.

Finally, we disable -Werror to avoid build issues caused by warnings.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-pexpect: new package
Jan Viktorin [Sun, 27 Mar 2016 01:31:23 +0000 (03:31 +0200)]
python-pexpect: new package

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas:
 - fix hash file
 - fix <pkg>_SITE variable
 - remove runtime only dependency from .mk file, as suggested by Yegor
   Yefremov]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-ptyprocess: new package
Jan Viktorin [Sun, 27 Mar 2016 01:31:22 +0000 (03:31 +0200)]
python-ptyprocess: new package

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
[Thomas:
 - fix hash file
 - fix <pkg>_SITE variable.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-pysocks: new package
Yegor Yefremov [Mon, 4 Jan 2016 17:09:22 +0000 (18:09 +0100)]
python-pysocks: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoyajl: fix static linking in a parallel build
Jörg Krause [Sat, 9 Apr 2016 22:15:25 +0000 (00:15 +0200)]
yajl: fix static linking in a parallel build

The yajl build system contains a race condition, which gets triggered by
high BR2_JLEVEL settings - It tries to link the executable gen-extra-close
against the shared libyajl before it is created:

[ 21%] Linking C executable gen-extra-close
[ 26%] Building C object src/CMakeFiles/yajl_s.dir/yajl_buf.c.o
/home/test/autobuild/instance-3/output/host/opt/ext-toolchain/bfin-uclinux/bfin-uclinux/bin/ld.real: cannot find -lyajl

Fix this issue by linking gen-extra-close against the shared library in a shared
build and the static library otherwise.
Apply this to all other build targets from yail who are linking against the
library, too.

Fixes:
http://autobuild.buildroot.net/results/a9b/a9b5209377acb51e69f376e0c008ee71fe00397a/
http://autobuild.buildroot.net/results/55f/55fe22463d49addb42b635d10be5176522f4a561/
http://autobuild.buildroot.net/results/808/808acca0cfed93465845c2aa055a7a4fc56a8a17/
http://autobuild.buildroot.net/results/b92/b92a9c84b71a8a2d022d307245ca6be36a000e6c/
http://autobuild.buildroot.net/results/55d/55df698ab53f7d94235166e8576eb681ed68668e/
.. and more.

Upstream status: Pending
https://github.com/lloyd/yajl/pull/187

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogdk-pixbuf: use host loaders to update the cache
Gustavo Zacarias [Tue, 5 Apr 2016 23:31:24 +0000 (20:31 -0300)]
gdk-pixbuf: use host loaders to update the cache

Unfortunately gdk-pixbuf-query-loaders doesn't understand cross loaders
to update the cache, hence we can't use the host variant against target
loaders since it will output an effectively empty cache, causing runtime
failure of libgtk when finding icons.
So make host-gdk-pixbuf functionally equivalent to the target gdk-pixbuf
so we can run gdk-pixbuf-query-loaders against the host plugins and just
strip the host directory to make it runtime-compatible (like was done
before for the target directory).

This is still better than trying to update at runtime, since that would
require a writable loaders.cache file in tmpfs or rw filesystem, not to
mention the associated additional startup time.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotiff: add host variant
Gustavo Zacarias [Tue, 5 Apr 2016 23:31:23 +0000 (20:31 -0300)]
tiff: add host variant

Add host variant to be used by host-gdk-pixbuf to update the loaders
cache.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogtkmm3: bump to version 3.20.1
Gustavo Zacarias [Fri, 15 Apr 2016 11:01:04 +0000 (08:01 -0300)]
gtkmm3: bump to version 3.20.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agofreescale_imx6sxsabresd_defconfig: fix kernel headers version
Peter Korsgaard [Fri, 15 Apr 2016 11:43:26 +0000 (13:43 +0200)]
freescale_imx6sxsabresd_defconfig: fix kernel headers version

Fixes https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/123187910

Commit 1e5bc05a04d (configs: freescale_imx6*: bump version to
3.14.52-1.1.0_ga) updated the kernel but forgot to change the kernel headers
version to match.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agos6lx9_microboard_defconfig: lock kernel version
Peter Korsgaard [Fri, 15 Apr 2016 09:48:43 +0000 (11:48 +0200)]
s6lx9_microboard_defconfig: lock kernel version

Fixes https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/123187960

The defconfig broke after we moved the default kernel version to 4.5.x. Fix
it by locking the kernel version in the defconfig.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/raspberrypi2_defconfig: configure eth0 through dhcp
Peter Korsgaard [Fri, 15 Apr 2016 08:09:22 +0000 (10:09 +0200)]
configs/raspberrypi2_defconfig: configure eth0 through dhcp

The rpi2 board has an ethernet port, so configure it at startup.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/raspberrypi_defconfig: configure eth0 through dhcp
Peter Korsgaard [Fri, 15 Apr 2016 08:05:58 +0000 (10:05 +0200)]
configs/raspberrypi_defconfig: configure eth0 through dhcp

The rpi board has an ethernet port, so configure it at startup.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/minnowboard_max: configure eth0 through dhcp
Peter Korsgaard [Fri, 15 Apr 2016 07:50:08 +0000 (09:50 +0200)]
configs/minnowboard_max: configure eth0 through dhcp

The minnowboard max board has an ethernet port, so configure it at startup.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconnman: add patch to fix build with headers >= 4.5
Gustavo Zacarias [Thu, 14 Apr 2016 14:24:03 +0000 (11:24 -0300)]
connman: add patch to fix build with headers >= 4.5

Add a patch from Gentoo that fixes the build on linux headers >= 4.5
The probem arises from an incompatibility in newer headers when both
net/if.h and linux/if.h are included in the same source.
See https://bugs.gentoo.org/show_bug.cgi?id=577584

Fixes:
http://autobuild.buildroot.net/results/48e/48e6f34a7940f52d987db47784c0d9e82f39de7c/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoMakefile: reset LD and AR environment variables
Nicolas Dichtel [Thu, 14 Apr 2016 14:58:32 +0000 (16:58 +0200)]
Makefile: reset LD and AR environment variables

The goal is to fix the compilation of perf (from linux) when LD or AR
variables are inherited from the environment.
After the linux upstream commits 5ef7bbb09f7b ("perf tools: Allow to
specify custom linker command") and 3c71ba3f80bb ("perf tools: Really allow
to specify custom CC, AR or LD") CC, AR, and LD variables are not overridden
if they are inherited.

In case of a cross compilation, it results in an inconsistent state: CC is
overridden but not LD and AR.

Linux-patch: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=5ef7bbb09f7b
Linux-patch: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=3c71ba3f80bb

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocannelloni: bump to version 20160414
Yegor Yefremov [Fri, 15 Apr 2016 07:35:06 +0000 (09:35 +0200)]
cannelloni: bump to version 20160414

Fixes:
http://autobuild.buildroot.net/results/5e9/5e9b44435522a26ad080b7810536686cc1e47c0f/

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoluvi: bump to version 2.7.0
Jörg Krause [Fri, 15 Apr 2016 07:13:27 +0000 (09:13 +0200)]
luvi: bump to version 2.7.0

Add a patch from upstream [1] to fix CMake build error when building with option
"WithSharedLibluv=ON".

[1]
https://github.com/luvit/luvi/commit/35c3961d10d3f9e3752102ea8e8bb8c187b32241

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoquazip: bump to version 0.7.2
Jörg Krause [Fri, 15 Apr 2016 06:58:50 +0000 (08:58 +0200)]
quazip: bump to version 0.7.2

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt: fix static linking
Jörg Krause [Fri, 15 Apr 2016 06:54:45 +0000 (08:54 +0200)]
qt: fix static linking

`-ldl` option is used unconditionally in `QMAKE_LIBS_DYNLOAD` while libdl is
not supported when libc is static. As the value of `QMAKE_LIBS_DYNLOAD` goes
into 'Libs.private' field of the pkgconfig files created by qmake, static
linking with qt will fail with:
  /usr/bin/ld: cannot find -ldl

Fix this issue by adding a build test to configure to check if libdl is
supported. `QMAKE_LIBS_DYNLOAD` in "src/corelib/plugin/plugin.pri" is now used
only if libdl is available.

Fixes:
http://autobuild.buildroot.net/results/459/4596b9c69cbc387f1071c730aaac76723afaa853/
http://autobuild.buildroot.net/results/459/4596b9c69cbc387f1071c730aaac76723afaa853/

Backported from Qt5:
https://github.com/qtproject/qtbase/commit/f669ea0d54302de31456d57286aa0e4ca1443e98

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt: Fix musl build
Jörg Krause [Fri, 15 Apr 2016 06:40:36 +0000 (08:40 +0200)]
qt: Fix musl build

This helps to make sure that QT_SOCKLEN_T is defined to be 'int' only for legacy
glibc < 2 and not also for other libraries which may define it as per standards
but are not glibc, e.g. musl.

Fixes the following build error:
In file included from ../../include/QtNetwork/private/qnet_unix_p.h:1:0,
                 from kernel/qnetworkinterface_unix.cpp:46:
../../include/QtNetwork/private/../../../src/network/socket/qnet_unix_p.h: In function 'int qt_safe_accept(int, sockaddr*, int*, int)':
../../include/QtNetwork/private/../../../src/network/socket/qnet_unix_p.h:121:76: error: invalid conversion from 'int*' to 'socklen_t* {aka unsigned int*}' [-fpermissive]

Fixes:
http://autobuild.buildroot.net/results/709/709d547699596d09b4601a7940677d2010adeedf/
http://autobuild.buildroot.net/results/f05/f0589e1d06404a7bd57f5734228afe45164e553d/

Backported from Qt5:
https://github.com/qtproject/qtbase/commit/813f468a14fb84af43c1f8fc0a1430277358eba2

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomemcached: fix musl build
Baruch Siach [Fri, 15 Apr 2016 05:19:11 +0000 (08:19 +0300)]
memcached: fix musl build

Add a patch fixing pre-processor warnings that breaks the build. The patch is
pending upstream.

Fixes:

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

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoglibc: remove version 2.21 stray patches
Gustavo Zacarias [Fri, 15 Apr 2016 00:31:08 +0000 (21:31 -0300)]
glibc: remove version 2.21 stray patches

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouboot-tools: bump to version 2016.03
Jörg Krause [Thu, 14 Apr 2016 21:50:08 +0000 (23:50 +0200)]
uboot-tools: bump to version 2016.03

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimlib2: security bump to version 1.4.8
Gustavo Zacarias [Thu, 14 Apr 2016 15:43:35 +0000 (12:43 -0300)]
imlib2: security bump to version 1.4.8

Fixes:
CVE-2016-3994 - out of bound read in GIF loader
CVE-2011-5326 - divide by zero on 2x1 ellipse

Switch to sourceforge hashes.
And drop all previous patches, they're upstream, yay.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovalijson: new package
Santosh Multhalli [Thu, 14 Apr 2016 09:27:56 +0000 (14:57 +0530)]
valijson: new package

Valijson is a header-only JSON Schema Validation library for C++.

Signed-off-by: Santosh Multhalli <santosh.multhalli@rockwellcollins.com>
[Thomas:
 - fix license, it's BSD-2c, not BSD-3c.
 - fix propagation of boost dependencies,
   BR2_PACKAGE_BOOST_ARCH_SUPPORTS was missing.
 - remove useless blank line in Config.in
 - tweak commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoluv: bump to version 1.9.0-1
Jörg Krause [Thu, 14 Apr 2016 10:29:28 +0000 (12:29 +0200)]
luv: bump to version 1.9.0-1

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopostgresql: bump version to 9.5.2
Vicente Olivert Riera [Thu, 14 Apr 2016 08:53:58 +0000 (09:53 +0100)]
postgresql: bump version to 9.5.2

Also remove a patch which is no longer necessary and do not autoreconf.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt: get rid of extra spaces in license file list
Danomi Manchego [Wed, 2 Mar 2016 02:54:40 +0000 (21:54 -0500)]
qt: get rid of extra spaces in license file list

Use "QT_LICENSE := $(QT_LICENSE), xxxx" construct to get rid of the
extra spaces before commas added by the font license clauses.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostrongswan: disable iptables support
Waldemar Brodkorb [Mon, 4 Apr 2016 08:19:55 +0000 (10:19 +0200)]
strongswan: disable iptables support

There is a new conflict between Linux header (linux/if.h)
and C library header (net/if.h) introduced by this commit
to the Linux kernel:
1ffad83dffd675cd742286ae82dca7d746cb0da8
Mikko Rapeli is working on a solution, but it requires
changes to the Linux kernel and C library.

For now I would just disable the iptables feature in Strongswan.

The changes fixes following autobuild error:
http://autobuild.buildroot.net/results/e1693a714eb690988c1798b733d0ff143e50b3b9/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostrongswan: update to 5.4.0
Waldemar Brodkorb [Mon, 4 Apr 2016 08:19:06 +0000 (10:19 +0200)]
strongswan: update to 5.4.0

Update to 5.4.0

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5connectivity: add sdpscanner tool for Qt5Bluetooth
Julien Corjon [Mon, 4 Apr 2016 09:56:01 +0000 (11:56 +0200)]
qt5connectivity: add sdpscanner tool for Qt5Bluetooth

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopoco: add patch to fix musl build
Jörg Krause [Tue, 5 Apr 2016 20:40:27 +0000 (22:40 +0200)]
poco: add patch to fix musl build

Add patch from upstream commit 30159aea4b3f6421da9d74a8bf22aad6d3bf26b4 to fix
musl build issue:

src/Error.cpp: In static member function 'static std::string Poco::Error::getMessage(int)':
src/Error.cpp:71:55: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
   return std::string(strerror_r(errorCode, errmsg, 256));

There are 2 flavors of `strerror_r`, a GNU which returns a string and a POSIX
version which returns an int.

When the POSIX and GNU API collides musl always provides the POSIX API. That
being the case for `strerror_r` musl does only support the POSIX version,
despite of `_GNU_SOURCE`.

Only use the GNU version for glibc or uClibc.

Fixes:
http://autobuild.buildroot.net/results/cc3/cc392a6e294b9eed697b205329f8146a28e423e2/
http://autobuild.buildroot.net/results/693/693ef640a95702b20eb4e811936510e0a58cdfdd/
http://autobuild.buildroot.net/results/7f0/7f0966ee57aea574fda2157562e9c3202bd3819d/
http://autobuild.buildroot.net/results/7c0/7c02072a885a874e8b640905ef21929e6e143aae/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopoco: bump to version 1.7.2
Jörg Krause [Tue, 5 Apr 2016 20:40:26 +0000 (22:40 +0200)]
poco: bump to version 1.7.2

Also:
 - add a hash file.
 - replace patch #0002 by passing the DEFAULT_TARGET to poco
 - remove patch #0003 as it is obsolet since upstream commit
   010f7a5370be450109f1726e39d5b193e63a6373
 - remove patch #0004 which is applied upstream
 - remove patch #0005 which is fixed by upstream different

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard/atmel: update documentation for SD card generation
Ludovic Desroches [Fri, 8 Apr 2016 14:30:41 +0000 (16:30 +0200)]
board/atmel: update documentation for SD card generation

Henceforth, a sdcard.img file is automatically generated. It simplifies the
procedure to generate a bootable SD card for Atmel Xplained boards.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: atmel: add sama5d3 xplained sd card image generation
Ludovic Desroches [Fri, 8 Apr 2016 14:30:40 +0000 (16:30 +0200)]
configs: atmel: add sama5d3 xplained sd card image generation

Use genimage to generate a sd card with a fat partition (at91bootstrap,
u-boot, kernel, dtbs) and an ext4 partition (rootfs).

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: atmel: add sama5d4 xplained sd card image generation
Ludovic Desroches [Fri, 8 Apr 2016 14:30:39 +0000 (16:30 +0200)]
configs: atmel: add sama5d4 xplained sd card image generation

Use genimage to generate a sd card with a fat partition (at91bootstrap,
u-boot, kernel, dtbs) and an ext4 partition (rootfs).

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>