buildroot.git
8 years agotoolchain-external: rename Blackfin related special variables
Thomas Petazzoni [Mon, 25 Apr 2016 20:12:43 +0000 (22:12 +0200)]
toolchain-external: rename Blackfin related special variables

As suggested by Arnout, this commit renames:

 - TOOLCHAIN_EXTERNAL_INSTALL_BFIN_FDPIC to
   TOOLCHAIN_EXTERNAL_INSTALL_TARGET_BFIN_FDPIC

 - TOOLCHAIN_EXTERNAL_INSTALL_BFIN_FLAT to
   TOOLCHAIN_EXTERNAL_INSTALL_TARGET_BFIN_FLAT

Which makes it clear that those variables are installing libraries to
the target, and make their naming more consistent with the naming of
other variables in the file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: unify LIB_EXTERNAL_LIBS and USR_LIB_EXTERNAL_LIBS
Thomas De Schampheleire [Fri, 12 Feb 2016 19:20:26 +0000 (20:20 +0100)]
toolchain-external: unify LIB_EXTERNAL_LIBS and USR_LIB_EXTERNAL_LIBS

With the alignment of toolchain library location in target and staging,
there is no need anymore for the distinction between LIB_EXTERNAL_LIBS and
USR_LIB_EXTERNAL_LIBS. Unify them into TOOLCHAIN_EXTERNAL_LIBS.

Related, update the help text of
BR2_TOOLCHAIN_EXTRA_TOOLCHAIN_EXTERNAL_LIBS.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: align library locations in target and staging dir
Thomas De Schampheleire [Fri, 12 Feb 2016 19:20:25 +0000 (20:20 +0100)]
toolchain-external: align library locations in target and staging dir

The toolchain-external logic is roughly:
- populate the staging dir by rsyncing the entire ${ARCH_LIB_DIR} and
  usr/${ARCH_LIB_DIR} from sysroot.
- populate the target dir by explictly copying some libraries from sysroot
  into target/lib and some other libraries in target/usr/lib, the split
  being hardcoded into buildroot regardless of the location in the sysroot.

This means that a library libfoo could be located in:
  staging/lib/libfoo.so
  target/usr/lib/libfoo.so

When debugging an application that links against this library, gdb will
fruitlessly search for 'usr/lib/libfoo.so' in staging, and then suggest to
use 'set solib-search-path' which is a hack, really.

To solve the problem, we need to make sure that libraries from the toolchain
are installed in the same relative location in staging and target.
Achieve this by:
- replacing the convoluted search for libraries using for+find in sysroot
  with a simple find in staging.
- determining DESTDIR for each library individually based on the location in
  staging.
- treating LIB_EXTERNAL_LIBS and USR_LIB_EXTERNAL_LIBS equivalently

These changes also allow for the removal of most arguments to
copy_toolchain_lib_root in the method itself and their callers.

Test procedure:
- set configuration for a given toolchain
- make clean toolchain
- find output/target | sort > /tmp/out-before
- apply patch
- make clean toolchain
- find output/target | sort > /tmp/out-after
- diff -u /tmp/out-before /tmp/out-after

The only changes should be some libraries moving from lib to usr/lib or vice
versa. Notable examples being libstdc++ and libatomic.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas:
 - use -L instead of -follow in the find invocation, as suggested by
   Arnout.
 - move the BR2_STATIC_LIBS condition as a make condition rather than
   a shell condition, as suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: extract installation of gdbserver to separate define
Thomas De Schampheleire [Fri, 12 Feb 2016 19:20:24 +0000 (20:20 +0100)]
toolchain-external: extract installation of gdbserver to separate define

The installation of the gdbserver binary has no relation to the installation
of the target libraries. Moving it to a separate define improves the
understandability of the code and makes later refactoring easier.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
[Thomas:
 - move the BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY condition as a make
   condition rather than a shell condition, as suggested by Romain
   Naour.
 - rename the TOOLCHAIN_EXTERNAL_INSTALL_GDBSERVER variable to
   TOOLCHAIN_EXTERNAL_INSTALL_TARGET_GDBSERVER as suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: blackfin: install FDPIC libraries also to staging
Thomas De Schampheleire [Fri, 12 Feb 2016 19:20:22 +0000 (20:20 +0100)]
toolchain-external: blackfin: install FDPIC libraries also to staging

For external Blackfin toolchains with BR2_BFIN_INSTALL_FDPIC_SHARED set,
the FDPIC shared libraries are currently only copied to the target
directory, not to staging.

For debugging purposes, an unstripped copy in staging is necessary.
Moreover, this change will simplify a subsequent change that lines up the
location of shared libraries between target and staging directories.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux: properly install all images in the initramfs case
Sebastian Frias [Mon, 25 Apr 2016 14:52:17 +0000 (16:52 +0200)]
linux: properly install all images in the initramfs case

The target "$(LINUX_DIR)/.stamp_initramfs_rebuilt" uses its own
'cp' command, instead of LINUX_INSTALL_IMAGE/LINUX_INSTALL_IMAGES_CMDS
provided by (or updated with) commit 055e6162bba7 ("linux: don't build
appended DTB image in place and support multiple images") and thus is
not operating properly when APPENDED_DTB is used.

Indeed, it copies a single image, and does not copy the one with the DTB
appended.

This patch replaces the 'cp' command with LINUX_INSTALL_IMAGE which
handles APPENDED_DTB.

Fixes: 055e6162bba7 ("linux: don't build appended DTB image in place and
support multiple images")

Signed-off-by: Sebastian Frias <sf84@laposte.net>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolvm2: bump version to 2.02.151
Vicente Olivert Riera [Mon, 25 Apr 2016 14:41:35 +0000 (15:41 +0100)]
lvm2: bump version to 2.02.151

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/x11r7/xdriver_xf86-video-openchrome: bump version to 0.4.0
Bernd Kuhls [Mon, 25 Apr 2016 12:18:54 +0000 (14:18 +0200)]
package/x11r7/xdriver_xf86-video-openchrome: bump version to 0.4.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/mesa3d: remove unneeded comment
Bernd Kuhls [Mon, 25 Apr 2016 09:37:00 +0000 (11:37 +0200)]
package/mesa3d: remove unneeded comment

https://git.busybox.net/buildroot/commit/package/mesa3d?id=f1894ec95728806e09405d26663e0ea371afaeab
removed the dependency on X.org for DRI drivers but forgot to remove
the corresponding comment.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/glmark2: remove unneeded comment
Bernd Kuhls [Mon, 25 Apr 2016 09:34:16 +0000 (11:34 +0200)]
package/glmark2: remove unneeded comment

glmark2 depends on mesa3d which already depends on BR2_INSTALL_LIBSTDCPP
and BR2_TOOLCHAIN_HAS_THREADS_NPTL, glmark2 does not depend on udev so
the comment stating all these dependencies is not needed.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibfuse: bump to version 2.9.6
Gustavo Zacarias [Mon, 25 Apr 2016 01:36:08 +0000 (22:36 -0300)]
libfuse: bump to version 2.9.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowireshark: security bump to version 2.0.3
Gustavo Zacarias [Mon, 25 Apr 2016 01:34:42 +0000 (22:34 -0300)]
wireshark: security bump to version 2.0.3

Fixes:
WNPA-SEC-2016-19 - The NCP dissector could crash.
WNPA-SEC-2016-20 - TShark could crash due to a packet reassembly bug.
WNPA-SEC-2016-21 - The IEEE 802.11 dissector could crash.
WNPA-SEC-2016-22 - The PKTC dissector could crash.
WNPA-SEC-2016-23 - The PKTC dissector could crash.
WNPA-SEC-2016-24 - The IAX2 dissector could go into an infinite loop.
WNPA-SEC-2016-25 - Wireshark and TShark could exhaust the stack.
WNPA-SEC-2016-26 - The GSM CBCH dissector could crash.
WNPA-SEC-2016-27 - MS-WSP dissector crash.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoRevert "core/pkg-kconfig: use olddefconfig when available"
Thomas Petazzoni [Mon, 25 Apr 2016 13:29:38 +0000 (15:29 +0200)]
Revert "core/pkg-kconfig: use olddefconfig when available"

This reverts commit 638ea2d715950f1409475e01a37f25c3528df35e, since it
breaks the build of busybox in many configurations, with the following
issues:

/bin/bash: : command not found
make[1]: Entering directory `/home/test/autobuild/instance-0/output/build/busybox-1.24.2'
[...]
  GEN     miscutils/Config.in
make[2]: *** No rule to make target `olddefconfig'.  Stop.
make[1]: *** [olddefconfig] Error 2
make[1]: Leaving directory `/home/test/autobuild/instance-0/output/build/busybox-1.24.2'
make: *** [/home/test/autobuild/instance-0/output/build/busybox-1.24.2/.config] Error 1
make: Leaving directory `/home/test/autobuild/instance-0/buildroot'

See:

  http://autobuild.buildroot.org/results/48481bb3531927be35cda3df57d02f02cec709aa/

for example.

A minimal configuration with just Busybox doesn't exhibit the problem,
but adding libtirpc in the configuration is enough to trigger the
problem, so the following defconfig allows to reproduce the issue:

BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2016.02-3-g762b7c9.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_4_7=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_10=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_PACKAGE_LIBTIRPC=y

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/raspberrypi3: sync kernel version with rpi/rpi2
Peter Korsgaard [Mon, 25 Apr 2016 07:35:32 +0000 (09:35 +0200)]
configs/raspberrypi3: sync kernel version with rpi/rpi2

Move to 4.4 series.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs: add Raspberry Pi 3 defconfig
Ubaldo Porcheddu [Sat, 23 Apr 2016 20:12:50 +0000 (20:12 +0000)]
configs: add Raspberry Pi 3 defconfig

So far identical to the rpi2 one except for the dts file as the SW runs in
32bit mode.

[Peter: extend commit message]
Signed-off-by: Ubaldo Porcheddu <ubaldo@eja.it>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/*: drop explicit BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
Peter Korsgaard [Sun, 24 Apr 2016 19:36:58 +0000 (21:36 +0200)]
configs/*: drop explicit BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y

Commit 7f1f9185e (system: default to devtmpfs for /dev) changed our default
for /dev handling, but didn't remove the explicit selection of devtmpfs from
a number of defconfigs.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-iowait: new package
Yegor Yefremov [Fri, 22 Apr 2016 13:36:28 +0000 (15:36 +0200)]
python-iowait: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore/pkg-kconfig: use olddefconfig when available
Romain Izard [Sat, 23 Apr 2016 17:46:04 +0000 (19:46 +0200)]
core/pkg-kconfig: use olddefconfig when available

Using 'yes "" | make oldconfig' to regenerate a .config file from an
existing defconfig does not work reliably in all cases. Specifically, it
does not work well with tristate choice entries.

The correct way to do it is to use 'make olddefconfig', but this target
is not supported in projects that use an old version of kconfig. As
most projects do not use tristate entries, there is no need for them to
upgrade.

'oldnoconfig' is an alias for 'olddefconfig', but it also is the only
name for this target between Linux versions 2.6.36 and 3.6.

Check which targets are supported by the current project, and use the
appropriate method to regenerate the .config file.

Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
[yann.morin.1998@free.fr: use a shell construct instead of makefile code]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Thomas: fix minor typos.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5base: fix sparc glibc libatomic link problem
Peter Seiderer [Sat, 23 Apr 2016 20:40:57 +0000 (22:40 +0200)]
qt5base: fix sparc glibc libatomic link problem

Fixes [1]:

  undefined reference to `__atomic_fetch_add_4'

Upstream patch from QTBUG-51621 ([2], [3]).

[1] http://autobuild.buildroot.net/results/8e7/8e7ff74abdd6274c257a928113e50f534a142650
[2] https://bugreports.qt.io/browse/QTBUG-51621
[3] https://codereview.qt-project.org/#/c/151273/3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-firmware: add support for intel iwlwifi 6000g2b
Gustavo Zacarias [Tue, 19 Apr 2016 14:44:08 +0000 (11:44 -0300)]
linux-firmware: add support for intel iwlwifi 6000g2b

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-firmware: add support for intel iwlwifi 3168
Gustavo Zacarias [Tue, 19 Apr 2016 14:44:07 +0000 (11:44 -0300)]
linux-firmware: add support for intel iwlwifi 3168

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-firmware: add support for intel iwlwifi 8265
Gustavo Zacarias [Tue, 19 Apr 2016 14:44:06 +0000 (11:44 -0300)]
linux-firmware: add support for intel iwlwifi 8265

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-firmware: add support for intel iwlwifi 8000C
Gustavo Zacarias [Tue, 19 Apr 2016 14:44:05 +0000 (11:44 -0300)]
linux-firmware: add support for intel iwlwifi 8000C

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-firmware: bump version
Gustavo Zacarias [Tue, 19 Apr 2016 14:44:04 +0000 (11:44 -0300)]
linux-firmware: bump version

Bump to the latest (as of this writing) linux-firmware git version.
This adds support for newer iwlwifi firmware versions and new chipset
support as well.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-firmware: add support for intel iwlwifi 7265D
Gustavo Zacarias [Tue, 19 Apr 2016 14:44:03 +0000 (11:44 -0300)]
linux-firmware: add support for intel iwlwifi 7265D

It selects 7265 non-D firmware since they share the same firmware for
old kernel versions (rev 10 D-variant is the same as rev 10 non-D).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas: add a comment about the select in Config.in.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-firmware: drop revision handling for iwlwifi
Gustavo Zacarias [Tue, 19 Apr 2016 14:44:02 +0000 (11:44 -0300)]
linux-firmware: drop revision handling for iwlwifi

This avoids a lot of unnecessary complication with lots of revison
knobs for different chipsets and it's consequence when bumping
linux-firmware as well.

Users can purge unwanted versions from a post processing script if
target space is too constrained.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-firmware: allow LINUX_FIRMWARE_FILES to contain wildcards
Gustavo Zacarias [Sun, 24 Apr 2016 21:34:51 +0000 (23:34 +0200)]
linux-firmware: allow LINUX_FIRMWARE_FILES to contain wildcards

This commit will allow the LINUX_FIRMWARE_FILES variable to contain
wildcards, which will simplify the handling of firmware that are
available in numerous revisions.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/glibc: add upstream patch to fix glibc-2.23 compile bug with gcc6
Bernd Kuhls [Sun, 24 Apr 2016 19:51:45 +0000 (21:51 +0200)]
package/glibc: add upstream patch to fix glibc-2.23 compile bug with gcc6

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/glibc: Add security patches to fix CVE-2016-3075
Bernd Kuhls [Sun, 24 Apr 2016 19:50:19 +0000 (21:50 +0200)]
package/glibc: Add security patches to fix CVE-2016-3075

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/yajl: fix build when explicit link with libm is needed
Samuel Martin [Sun, 24 Apr 2016 18:29:38 +0000 (20:29 +0200)]
package/yajl: fix build when explicit link with libm is needed

This change adds another fix to the yajl build-system code.
This patch checks for isnan function in libc, and if not, it makes sure
libm is passed to the linker flags.

This change fixes build failure looking like:

  make[3]: Entering directory `/home/peko/autobuild/instance-2/output/build/yajl-2.1.0'
  [ 81%] Building C object example/CMakeFiles/parse_config.dir/parse_config.c.o
  ../yajl-2.1.0/lib/libyajl.so.2.1.0: undefined reference to `__isnan'
  ../yajl-2.1.0/lib/libyajl.so.2.1.0: undefined reference to `__isinf'
  collect2: error: ld returned 1 exit status
  make[3]: *** [verify/json_verify] Error 1

Fixes:
  http://autobuild.buildroot.org/results/312/31268e4d20aa34bb90c09aa771b1923f979578ab/
  and many others

Cc: Benoît Mauduit <bmauduit@beneth.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi-addon-xvdr: mark as deprecated
Bernd Kuhls [Sun, 24 Apr 2016 17:24:05 +0000 (19:24 +0200)]
package/kodi-addon-xvdr: mark as deprecated

According to the github project page:
https://github.com/pipelka/xbmc-addon-xvdr
this package is discontinued.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: add a reason for the deprecation.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/jsoncpp: add hash
Bernd Kuhls [Sun, 24 Apr 2016 15:25:52 +0000 (17:25 +0200)]
package/jsoncpp: add hash

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobusybox: Support option 119 in udhcpc default script.
Ignacy Gawędzki [Thu, 31 Mar 2016 07:34:43 +0000 (09:34 +0200)]
busybox: Support option 119 in udhcpc default script.

* package/busybox/udhcpc.script: Use $search instead of $domain if
  that is defined.

Note that for this to work, not only has CONFIG_FEATURE_UDHCP_RFC3397
be enabled in Busybox' configuration but also the option has to be
requested using the "-O search" command-line option (one can set it in
CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS, for instance).

[Peter: add comment with reference to rfc3359/option 119 for clarity]
Signed-off-by: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobarebox: extract package name argument
Pieter Smith [Sun, 24 Apr 2016 09:18:45 +0000 (11:18 +0200)]
barebox: extract package name argument

No functional changes: Extracts an argument to the inner-barebox-package
function to automatically determine the uppercase package name. This is needed
to support a 2nd config build. This results in the following renaming:
  'BAREBOX' -> '$(1)'

All barebox packages are meant to be built from the same sources, so related
KConfig variables (origin, version and patch directory) are not extracted.

Signed-off-by: Pieter Smith <pieter@boesman.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobarebox: introduce barebox-package function
Pieter Smith [Sun, 24 Apr 2016 09:18:44 +0000 (11:18 +0200)]
barebox: introduce barebox-package function

No functional changes: Introduces a barebox-package function towards
re-use by a 2nd config build.

Because the function is meant to be called from within a $(eval), all
instances of '$' has to be escaped. I.e. rename '$' -> '$$'.

Signed-off-by: Pieter Smith <pieter@boesman.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobarebox: support multi-image-build image selection
Pieter Smith [Sun, 24 Apr 2016 09:18:43 +0000 (11:18 +0200)]
barebox: support multi-image-build image selection

Support optional selection of the built image filename in a
multi-image barebox build. This makes it possible to specify which
image to pick in a multi-image barebox config such as the
am335x_defconfig.

Signed-off-by: Pieter Smith <pieter@boesman.nl>
[Thomas:
 - remove default "", since this is the default for string options
 - rename the prompt from "Barebox image filename" to "Image filename"
 - slightly improve the Config.in help text.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi: bump version to 16.1-Jarvis
Bernd Kuhls [Sun, 24 Apr 2016 12:23:04 +0000 (14:23 +0200)]
package/kodi: bump version to 16.1-Jarvis

Removed patch 0005, applied upstream, and renumbered the remaining
patches.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mono: bump to version 4.2.3.4
Angelo Compagnucci [Sun, 24 Apr 2016 14:15:48 +0000 (16:15 +0200)]
package/mono: bump to version 4.2.3.4

This patch bump mono version to the latest release 4.2.3.4.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/jsoncpp: bump version to 1.7.2
Bernd Kuhls [Sun, 24 Apr 2016 13:56:40 +0000 (15:56 +0200)]
package/jsoncpp: bump version to 1.7.2

Removed patches applied upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomono: disable for sparc/sparc64
Waldemar Brodkorb [Sun, 24 Apr 2016 13:51:26 +0000 (15:51 +0200)]
mono: disable for sparc/sparc64

It seems mono isn't supported for sparc32, see configure.ac
for some comments about it. Tried with sparc64, but this
doesn't compile either.
So disable for sparc for now.

Fixes following autobuild issues:
http://autobuild.buildroot.org/?reason=mono-4.2.2.30

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard: add support for Hardkernel ODROID-C2 Board
Brian Kim [Tue, 19 Apr 2016 08:35:35 +0000 (17:35 +0900)]
board: add support for Hardkernel ODROID-C2 Board

The ODROID-C2 is a 64-bit quad-core single board computer(SBC) that is
one of the most cost-effective 64bit development boards available in the
ARM world.

http://www.hardkernel.com/main/products/prdt_info.php?g_code=G145457216438

[Peter: fix typos, drop neon/C++ settings, use git hash for Linux/U-Boot]
Signed-off-by: Brian Kim <brian.kim@hardkernel.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoxenomai: update download site
Erdem MEYDANLI [Sat, 23 Apr 2016 14:28:18 +0000 (17:28 +0300)]
xenomai: update download site

The new address include more recent versions of stable releases.
Therefore, newer versions than 2.6.4 can be available when required.

Signed-off-by: Erdem MEYDANLI <erdem.meydanli@punica.com.tr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorpi-userland: bump version
Peter Seiderer [Sat, 23 Apr 2016 16:46:22 +0000 (18:46 +0200)]
rpi-userland: bump version

- remove upstream commited patch:
  0002-makefiles-cmake-vmcs.cmake-allow-to-override-VMCS_IN.patch

- fix compile errror (missing include for va_list with uclibc-1.0.14):
  0006-dtmerge-add-missing-include-for-va_list.patch

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorpi-firmware: bump version
Peter Seiderer [Sat, 23 Apr 2016 16:46:21 +0000 (18:46 +0200)]
rpi-firmware: bump version

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoraspberrypi2_defconfig: bump to kernel version 4.4.7
Peter Seiderer [Sat, 23 Apr 2016 16:46:24 +0000 (18:46 +0200)]
raspberrypi2_defconfig: bump to kernel version 4.4.7

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoraspberrypi_defconfig: bump to kernel version 4.4.7
Peter Seiderer [Sat, 23 Apr 2016 16:46:23 +0000 (18:46 +0200)]
raspberrypi_defconfig: bump to kernel version 4.4.7

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc/defconfig: enable XSI math
Gustavo Zacarias [Thu, 21 Apr 2016 13:54:16 +0000 (10:54 -0300)]
uclibc/defconfig: enable XSI math

ARM926 size delta +12 KB.
It's required for the upcoming mpv package.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoshared-mime-info: add patch to fix parallel installation issue
Thomas Petazzoni [Fri, 22 Apr 2016 21:51:10 +0000 (23:51 +0200)]
shared-mime-info: add patch to fix parallel installation issue

This commit adds a patch that should fix the parallel installation. A
similar patch is used by the Yocto Project, and they have already
submitted it upstream.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibinput: bump to version 1.2.4
Gustavo Zacarias [Thu, 21 Apr 2016 21:20:52 +0000 (18:20 -0300)]
libinput: bump to version 1.2.4

Forcibly disable wacom support since we haven't got a libwacom package
yet.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibinput: add explicit event-gui handling
Gustavo Zacarias [Thu, 21 Apr 2016 21:20:51 +0000 (18:20 -0300)]
libinput: add explicit event-gui handling

Otherwise since it's automatic it was left to random depending on the
libgtk3/libinput build order.

Also collapse all that whitespace.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogrep: bump to version 2.25
Gustavo Zacarias [Fri, 22 Apr 2016 13:11:19 +0000 (10:11 -0300)]
grep: bump to version 2.25

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibsrtp: fix SHA1 functions conflicts with downstream packages
Vicente Olivert Riera [Wed, 20 Apr 2016 15:22:47 +0000 (16:22 +0100)]
libsrtp: fix SHA1 functions conflicts with downstream packages

Our current version of libsrtp is preventing linphone to build causing
an error like this one:

configure:12952: error: This libsrtp version exports symbols conflicting
with other libraries. Please use the one from
git://git.linphone.org/srtp.git

Backporting an upstream patch to rename the SHA1 functions to avoid
conflicts with downstream packages:

  https://github.com/cisco/libsrtp/commit/c270245a94ae9a007202754eb8f7ce9e48f97007

Fixes:

  http://autobuild.buildroot.net/results/773/7733ee4472834d26cf6bdd4ca557ac19f97290f8/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobinutils: remove 2.22 hash
Thomas Petazzoni [Wed, 20 Apr 2016 21:10:13 +0000 (23:10 +0200)]
binutils: remove 2.22 hash

In commit 2f8459539401938a4ec4fe5f4a207c5d81f2cf74 ("binutils: remove
version 2.22"), binutils 2.22 was removed, but forgot to remove the
corresponding hash from the hash file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: select OpenCV modules needed for mod_cv
Bernd Kuhls [Fri, 22 Apr 2016 08:00:37 +0000 (10:00 +0200)]
package/freeswitch: select OpenCV modules needed for mod_cv

Fixes
http://autobuild.buildroot.net/results/ffd/ffd572d7bb68d8ed46ce76b2af824503c587449f/
http://autobuild.buildroot.net/results/e53/e53e356451aa4541a76e26722fd71051896e774b/
http://autobuild.buildroot.net/results/564/5649ff1b50a1eaafbd0e1a329bff87a65ce18da0/
http://autobuild.buildroot.net/results/c60/c60f97c6aafb1a94cb4ce344953598eae8b4a912/
http://autobuild.buildroot.net/results/c1a/c1ac61f9a77635962babdb6bfb31dbecb7f4d439/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomoarvm: bump to version 2016.04
Francois Perrad [Fri, 22 Apr 2016 11:40:15 +0000 (13:40 +0200)]
moarvm: bump to version 2016.04

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoelf2flt: Update version to fix buffer overflow in output_relocs()
Maxime Coquelin [Fri, 22 Apr 2016 12:59:37 +0000 (14:59 +0200)]
elf2flt: Update version to fix buffer overflow in output_relocs()

This new version contains a patch that fixes the following crash:
make[1]: Entering directory `<...>/build/uclibc-1.0.14'
  CC utils/getconf
*** buffer overflow detected ***: <...>/bin/elf2flt terminated

======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7338f)[0x2ad3be5f738f]
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x2ad3be68ec9c]
/lib/x86_64-linux-gnu/libc.so.6(+0x109b60)[0x2ad3be68db60]
/lib/x86_64-linux-gnu/libc.so.6(+0x109069)[0x2ad3be68d069]
/lib/x86_64-linux-gnu/libc.so.6(_IO_default_xsputn+0xbc)[0x2ad3be5ff70c]
/lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0xaef)[0x2ad3be5ce7df]
/lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x84)[0x2ad3be68d0f4]
/lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x2ad3be68d04d]
 <...>/bin/elf2flt[0x403cda]
 <...>/bin/elf2flt[0x4030a4]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x2ad3be5a5ec5]
 <...>/bin/elf2flt[0x403642]

Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqemu: Add support for arm
Julian Scheel [Fri, 22 Apr 2016 07:18:11 +0000 (09:18 +0200)]
qemu: Add support for arm

Build and operation was successfully tested to Tegra K1 arm platform.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: remove unused calculation of ARCH_SUBDIR
Thomas De Schampheleire [Fri, 12 Feb 2016 19:20:23 +0000 (20:20 +0100)]
toolchain-external: remove unused calculation of ARCH_SUBDIR

In TOOLCHAIN_EXTERNAL_INSTALL_TARGET_LIBS, ARCH_SUBDIR is calculated but not
used, and can thus be removed. Since SYSROOT_DIR is only used for the
calculation of ARCH_SUBDIR, it can be removed too.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: disable v4l simple dmabuf for headers < 3.8
Gustavo Zacarias [Wed, 20 Apr 2016 16:54:43 +0000 (13:54 -0300)]
weston: disable v4l simple dmabuf for headers < 3.8

It uses VIDIOC_EXPBUF which only came to light with kernel 3.8, so
disable it if headers are older. Fixes:
http://autobuild.buildroot.net/results/7fb/7fb9968b13f144c4576b28ecd01c82b74e4ed9d5/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: add build fix for clock_gettime() in librt
Gustavo Zacarias [Wed, 20 Apr 2016 18:38:58 +0000 (15:38 -0300)]
weston: add build fix for clock_gettime() in librt

Over time weston has been manually adding -lrt LDADDs to the Makefile
for clock_gettime() using sources. However this isn't 100% correct since
"modern" glibc versions don't require it so switch all over to a
configure test for that purpose. Fixes:
http://autobuild.buildroot.net/results/a16/a165f439cf5a81c79fe3fa3af7a2a5a30022e7ed/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas: fixed autobuilder reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard: rename ts to technologic
Damien Riegel [Thu, 21 Apr 2016 16:21:12 +0000 (12:21 -0400)]
board: rename ts to technologic

Other projects, such as Linux [1] and U-Boot [2], use "technologic" for
this manufacturer. To be more consistent across all of them, rename the
board/ts folder to board/technologic.

[1] https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/vendor-prefixes.txt
[2] http://git.denx.de/?p=u-boot.git;a=tree;f=board/technologic;hb=HEAD

Signed-off-by: Damien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoi386: properly define BR2_ARCH for all x86 subarchitectures
Thomas Petazzoni [Thu, 21 Apr 2016 19:52:45 +0000 (21:52 +0200)]
i386: properly define BR2_ARCH for all x86 subarchitectures

We were not defining BR2_ARCH for two of the x86 subarchitecture,
which means the architecture part of the GNU_TARGET_NAME tuple was
empty, leading to weird build failures.

This commit fixes that by defining the appropriate values.

Fixes bug #8861.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: atmel: xplained boards: bump to linux4sam_5.3
Ludovic Desroches [Tue, 19 Apr 2016 08:53:11 +0000 (10:53 +0200)]
configs: atmel: xplained boards: bump to linux4sam_5.3

Bump defconfigs relative to Xplained boards to linux4sam_5.3 release. It
involves to use at91bootstrap v3.8.5.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/opencv: define modules inter-dependencies
Samuel Martin [Tue, 19 Apr 2016 21:49:01 +0000 (23:49 +0200)]
package/opencv: define modules inter-dependencies

OpenCV allows to enable/disable the selection of modules (a.k.a.
opencv libraries). These modules depend one on the others; these
dependencies are already handled by the build-system (CMake).

However, the way we handled them in Buildroot was not really clean.
For each opencv module, there is a kconfig option, but we forced the
corresponding CMake config option without checking for the modules'
dependencies.
For further details about the issues this situation was causing, refer
to this discussion [1].

This patch replicates the modules' dependency relations in the
Config.in, so that the selection of the user will actually be built.
This changes completes this work [2].

[1] http://lists.busybox.net/pipermail/buildroot/2016-April/159017.html
[2] https://git.buildroot.org/buildroot/commit/?id=3bd5025038a9ecfb2c19a2450a68ae3b0888b440

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosupport/scripts/check-host-rpath: also check HOST_DIR/{bin, sbin}
Samuel Martin [Tue, 19 Apr 2016 21:49:00 +0000 (23:49 +0200)]
support/scripts/check-host-rpath: also check HOST_DIR/{bin, sbin}

At least syslinux is installing stuff in HOST_DIR/sbin.

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorpi-firmware: bump version
Ubaldo Porcheddu [Wed, 20 Apr 2016 08:39:51 +0000 (08:39 +0000)]
rpi-firmware: bump version

This commit bumps the rpi-firmware to a more recent version that
includes support for the Raspberry Pi 3.

Signed-off-by: Ubaldo Porcheddu <ubaldo@eja.it>
[Thomas: tweak commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibgtk3: create icon-theme.cache for icon themes
Gustavo Zacarias [Thu, 21 Apr 2016 11:00:43 +0000 (08:00 -0300)]
libgtk3: create icon-theme.cache for icon themes

It makes icon lookups faster, though it's not strictly necessary.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas: enclsoe the hook definition in the condition.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibgtk3: build gtk-encode-symbolic-svg for host variant
Gustavo Zacarias [Thu, 21 Apr 2016 11:00:42 +0000 (08:00 -0300)]
libgtk3: build gtk-encode-symbolic-svg for host variant

It's required to create the symbolic icons (RGBA/transparent) which some
apps like to use, like connman-gtk.
The added patch avoids the need for a full host-libgtk3 build which would
require host-libepoxy, host-mesa3d and a ton other deps.
And pull in host-librsvg so that we have the rsvg gdk-pixbuf loader
(plugin), otherwise scalable (svg) icons will error when trying to be
processed, like those provided by adwaita-icon-theme.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoshairport-sync: bump to version 2.8.2
Jörg Krause [Thu, 21 Apr 2016 06:33:07 +0000 (08:33 +0200)]
shairport-sync: bump to version 2.8.2

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-validate: bump to version 1.8.1
Gustavo Zacarias [Wed, 20 Apr 2016 23:48:09 +0000 (20:48 -0300)]
gst1-validate: bump to version 1.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-libav: bump to version 1.8.1
Gustavo Zacarias [Wed, 20 Apr 2016 23:48:08 +0000 (20:48 -0300)]
gst1-libav: bump to version 1.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-ugly: bump to version 1.8.1
Gustavo Zacarias [Wed, 20 Apr 2016 23:48:07 +0000 (20:48 -0300)]
gst1-plugins-ugly: bump to version 1.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-bad: bump to version 1.8.1
Gustavo Zacarias [Wed, 20 Apr 2016 23:48:06 +0000 (20:48 -0300)]
gst1-plugins-bad: bump to version 1.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-good: bump to version 1.8.1
Gustavo Zacarias [Wed, 20 Apr 2016 23:48:05 +0000 (20:48 -0300)]
gst1-plugins-good: bump to version 1.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-base: bump to version 1.8.1
Gustavo Zacarias [Wed, 20 Apr 2016 23:48:04 +0000 (20:48 -0300)]
gst1-plugins-base: bump to version 1.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogstreamer1: bump to version 1.8.1
Gustavo Zacarias [Wed, 20 Apr 2016 23:48:03 +0000 (20:48 -0300)]
gstreamer1: bump to version 1.8.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore/pkg-download: ignore hashes from mirror for VCS downloads
Yann E. MORIN [Sun, 17 Apr 2016 22:17:12 +0000 (00:17 +0200)]
core/pkg-download: ignore hashes from mirror for VCS downloads

When a download via a VCS method fails, Buildroot attempts the download
from the backup mirror (if any is set). Such a download is done with the
wget helper.

Given a package that has a .hash file for relase tarballs, which also
allows the user to use a random revision from a VCS, the normal download
wrapper will not check for hashes, on the assumption that maybe they are
not reproducible [*] (or user configurable).

However, when the download fails (for any reason: network error,
upstream removed the revision, old machine with incomplete set of CA
certificates...), the backup download now proceeds over with http (or
https) with the wget wrapper. The wget wrapper *always* checks for
hashes, and when a .hash file is present but no hash is found for the
download, this is considered an error.

However, when we download from the backup mirror for a main download that
should have been done with git/hq/svn/.., we in this situation have no hash
for the download.  Thus, we should not fail on a missing hash for that
download. Same situation if a primary site is used.

Add a test for the site-method in the DOWNLOAD_INNER macro; if it was either
one of the VCS method, pass a one-off BR_NO_CHECK_HASH_FOR variable set to
contain the tarball to download.

Fixes issues like those reported by the Travis build bots:
    https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/123624879

[Peter: Move logic to beginning of DOWNLOAD_INNER so it also applies for BR2_PRIMARY_SITE]
Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain-external: CodeSourcery NiosII 2015.11 affected by PR19405
Romain Naour [Sat, 20 Feb 2016 12:42:46 +0000 (13:42 +0100)]
toolchain-external: CodeSourcery NiosII 2015.11 affected by PR19405

See bug report https://sourceware.org/bugzilla/show_bug.cgi?id=19405

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

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - rename BR2_TOOLCHAIN_BINUTILS_HAS_BUG_19405 to
   BR2_TOOLCHAIN_HAS_BINUTILS_BUG_19405
 - propagate to the qwt package, which is now selecting
   BR2_PACKAGE_QT_GUI_MODULE.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovpnc: simplify patch 0001
Thomas Petazzoni [Wed, 10 Feb 2016 23:03:10 +0000 (00:03 +0100)]
vpnc: simplify patch 0001

Patch 0001 that adjusts the Makefile to solve cross-compilation issues
does a lot of whitespace changes that are unnecessary. We remove all
those noisy changes to keep only the really interesting ones.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovpnc: switch to github as the new site
Thomas Petazzoni [Wed, 10 Feb 2016 23:03:09 +0000 (00:03 +0100)]
vpnc: switch to github as the new site

The vpnc upstream project has not made any tarball release since many
years, but they have continued to update their Subversion
repository.

A Github repository synced with the Subversion repository now exists
at https://github.com/ndpgroup/vpnc, which is more practical to
generate patches and submit pull requests. For this reason, we move to
using this Github repository as the new source for the vpnc
package. The specific commit that we use corresponds to version 0.5.3
exactly.

All patches are re-formatted using Git.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoflannel: new package
Geoff Levand [Mon, 4 Apr 2016 19:31:49 +0000 (19:31 +0000)]
flannel: new package

Flannel is a virtual network that gives a subnet to each host for use
with container runtimes.

Cc: Brandon Philips <brandon.philips@coreos.com>
Signed-off-by: Geoff Levand <geoff@infradead.org>
[Thomas:
  - Don't select BR2_PACKAGE_HOST_GO since this option was removed.
  - Take into account the rename of BR2_PACKAGE_GO_ARCH_SUPPORTS to
    BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS.
  - Rewrap Config.in help text, it was slightly too large.
  - Don't use the github function (the link was anyway incorrect), but
    instead a direct link to the tarball, since the tarballs are
    uploaded by the maintainers.
  - Update the hash accordingly.
  - Use $() to reference make variables and not ${}.
  - Call the go compiler from $(HOST_DIR)/usr/bin, rather than from
    HOST_GO_ROOT.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogo: new host package
Geoff Levand [Mon, 4 Apr 2016 19:31:49 +0000 (19:31 +0000)]
go: new host package

Add a new package 'go' which builds the host cross compiler and
libraries for the go programming language.

Signed-off-by: Geoff Levand <geoff@infradead.org>
[Thomas:
 - Put the computation of GO_GOARM inside the ifeq ($(BR2_arm),y)
   condition rather than duplicating this condition.
 - Remove the GO_GOARCH=unknown case, since there is no way to fall in
   this case as only supported architectures can use host-go.
 - Remove the GO_GOARM=unknown case, since we are sure that only
   ARMv5/6/7 will use host-go.
 - Rename HOST_GO_FINAL to HOST_GO_ROOT, since it's really the "root"
   of the Go installation.
 - Remove visible Config.in.host option.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogo-bootstrap: new host package
Geoff Levand [Mon, 4 Apr 2016 19:31:49 +0000 (19:31 +0000)]
go-bootstrap: new host package

Add a new package go-bootstrap which builds a bootstrap compiler for the
go programming language.

Signed-off-by: Geoff Levand <geoff@infradead.org>
[Thomas:
 - Rename GO_BOOTSTRAP_FINAL to HOST_GO_BOOTSTRAP_ROOT. Use the HOST_
   prefix because this variable is specific to the host variant. And
   it's not "final" at all, but rather the "root" of the Go Bootstrap
   installation.
 - Rename GO_BOOTSTRAP_MAKE_ENV to HOST_GO_BOOTSTRAP_MAKE_ENV, also to
   have the HOST_ prefix because it's a host package.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosquid: security bump to version 3.5.17
Gustavo Zacarias [Wed, 20 Apr 2016 18:38:10 +0000 (15:38 -0300)]
squid: security bump to version 3.5.17

Fixes:
SQUID-2016:5 (CVE-2016-4051) - Buffer overflow in cachemgr.cgi
SQUID-2016:6 (CVE-2016-4052) - Multiple issues in ESI processing.
CVE-2016-4053 & CVE-2016-4054 which are part of SQUID-2016:6.

Switch to xz-compressed tarball as well.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: explicit latest kernel version
Vivien Didelot [Tue, 19 Apr 2016 20:52:32 +0000 (16:52 -0400)]
linux: explicit latest kernel version

When setting BR2_LINUX_KERNEL_LATEST_VERSION, it is hard for the user to
know that this version is subject to change in the future.

Explicit this in the Kconfig entry text.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiperf3: bump to version 3.1.2
Jörg Krause [Wed, 20 Apr 2016 08:35:43 +0000 (10:35 +0200)]
iperf3: bump to version 3.1.2

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-certifi: bump to version 2016.2.28
Yegor Yefremov [Wed, 20 Apr 2016 08:41:56 +0000 (10:41 +0200)]
python-certifi: bump to version 2016.2.28

Use upstream MD5 checksum.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: bump default to version 4.5.2
Gustavo Zacarias [Wed, 20 Apr 2016 10:01:56 +0000 (07:01 -0300)]
linux: bump default to version 4.5.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 3.{14, 18}.x and 4.{1, 4, 5}.x series
Gustavo Zacarias [Wed, 20 Apr 2016 10:01:55 +0000 (07:01 -0300)]
linux-headers: bump 3.{14, 18}.x and 4.{1, 4, 5}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoopenssl: enable aarch64 optimization
Matthew Shyu [Tue, 19 Apr 2016 10:26:46 +0000 (18:26 +0800)]
openssl: enable aarch64 optimization

Signed-off-by: Matthew Shyu <matthew.shyu@amlogic.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosqlite: bump version to 3120200
Vicente Olivert Riera [Tue, 19 Apr 2016 09:39:22 +0000 (10:39 +0100)]
sqlite: bump version to 3120200

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agofio: add optional dependency on libaio
Thomas Petazzoni [Tue, 19 Apr 2016 21:38:41 +0000 (23:38 +0200)]
fio: add optional dependency on libaio

fio can automatically detect and use libaio when available, so this
commit makes this optional dependency explicit.

Suggested by Charles <ckhardin@exablox.com> in bug #8851.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogcc: disable split-stack for non-thread builds
Waldemar Brodkorb [Mon, 7 Mar 2016 14:10:28 +0000 (15:10 +0100)]
gcc: disable split-stack for non-thread builds

This fixes bug 8766:
https://bugs.busybox.net/show_bug.cgi?id=8766

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-pam: add optional libselinux and audit dependencies
Niranjan Reddy [Wed, 16 Mar 2016 11:45:35 +0000 (17:15 +0530)]
linux-pam: add optional libselinux and audit dependencies

This patch adds optional libselinux and audit packages
to linux-pam package.

Signed-off-by: Niranjan Reddy <niranjan.reddy@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotzdata: reorder zone list to avoid missing links
Michel Marti [Fri, 8 Apr 2016 08:23:27 +0000 (10:23 +0200)]
tzdata: reorder zone list to avoid missing links

The 'backward' zone references entries from other zones (e.g. Pacific/*)
that have not yet been compiled, leading to missing links. To fix this,
take-over the zone list sort order from upstream 'tzdata' and also ensure
that make fails if zic terminates with a non-zero exit code.

Signed-off-by: Michel Marti <mma@objectxp.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocbootimage: new package
Julian Scheel [Thu, 17 Mar 2016 15:03:57 +0000 (16:03 +0100)]
cbootimage: new package

Add package for cbootimage host utility that is able to compile bct
files and generate flashable images out of a bct and an image for
tegra processors.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotegrarcm: new package
Julian Scheel [Thu, 17 Mar 2016 15:03:56 +0000 (16:03 +0100)]
tegrarcm: new package

Add package for the tegrarcm host utility that allows loading data to
tegra processors in recovery mode.

Signed-off-by: Julian Scheel <julian@jusst.de>
[Thomas: replace cryptopp cross-compilation fix by a more
autoconf-style solution, which has been submitted upstream.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocryptopp: new package
Julian Scheel [Thu, 17 Mar 2016 15:03:55 +0000 (16:03 +0100)]
cryptopp: new package

Signed-off-by: Julian Scheel <julian@jusst.de>
[Thomas:
 - put HOST_CRYPTOPP_EXTRACT_CMDS earlier in the file, since it's what
   gets executed first.
 - fix typo in the name of HOST_CRYPTOPP_MAKE_OPTS
 - pass -fPIC in CXXFLAGS, since we're building a shared library
 - just call "make shared" for the build and "make install" for the
   installation.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: atmel: sama5d2 has vfpv4-d16
Ludovic Desroches [Tue, 19 Apr 2016 15:24:09 +0000 (17:24 +0200)]
configs: atmel: sama5d2 has vfpv4-d16

The datasheet indicates vfpv4 but it stands for vfpv4-d16 not vfpv4-32.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tzdata: bump version to 2016d
Martin Bark [Tue, 19 Apr 2016 08:20:53 +0000 (09:20 +0100)]
package/tzdata: bump version to 2016d

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>