buildroot.git
8 years agolibubox: update legal info
Rahul Jain [Fri, 16 Sep 2016 09:16:26 +0000 (14:46 +0530)]
libubox: update legal info

Reviewed-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Reviewed-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com>
Signed-off-by: Rahul Jain <rahul.jain@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibubox: bump version
Rahul Jain [Fri, 16 Sep 2016 09:16:25 +0000 (14:46 +0530)]
libubox: bump version

Reviewed-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Reviewed-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com>
Signed-off-by: Rahul Jain <Rahul.Jain@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-firmware: bump version
Gustavo Zacarias [Thu, 15 Sep 2016 17:56:53 +0000 (14:56 -0300)]
linux-firmware: bump version

And copy firmware for BCM43430 and BCM43438, hence rpi3 wifi support at
last.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 3.{2, 14}.x and 4.4.x series
Gustavo Zacarias [Thu, 15 Sep 2016 15:16:38 +0000 (12:16 -0300)]
linux-headers: bump 3.{2, 14}.x and 4.4.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 4.7.x series to 4.7.4
Vicente Olivert Riera [Thu, 15 Sep 2016 08:54:43 +0000 (09:54 +0100)]
linux-headers: bump 4.7.x series to 4.7.4

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain-external: fix potential entire root filesystem removal
Thomas Petazzoni [Thu, 15 Sep 2016 08:58:28 +0000 (10:58 +0200)]
toolchain-external: fix potential entire root filesystem removal

This reverts commit a0aa7e0e1750f6ace2879ea8adb1425a41431b79 and reworks
the code to fix a major and potentially catastrophic bug when the
following conditions are met:

 - The user has selected a "known toolchain profile", such as a Linaro
   toolchain, a Sourcery CodeBench toolchain etc. People using "custom
   toolchain profile" are not affected.

 - The user has enabled BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y to
   indicate that the toolchain is already locally available (as
   opposed to having Buildroot download and extract the toolchain)

 - The user has left BR2_TOOLCHAIN_EXTERNAL_PATH empty, because his
   toolchain is directly available through the PATH environment
   variable. When BR2_TOOLCHAIN_EXTERNAL_PATH is non-empty, Buildroot
   will do something silly (remove the toolchain contents), but that
   are limited to the toolchain itself.

When such conditions are met, Buildroot will run "rm -rf /*" due to
TOOLCHAIN_EXTERNAL_INSTALL_DIR being empty.

This bug does not exist in 2016.05, and appeared in 2016.08 due to
commit a0aa7e0e1750f6ace2879ea8adb1425a41431b79.

Commit a0aa7e0e1750f6ace2879ea8adb1425a41431b79 removed the assignment
of TOOLCHAIN_EXTERNAL_SOURCE and TOOLCHAIN_EXTERNAL_SITE to empty, as
part of a global cleanup to remove such assignments that supposedly
had become unneeded following a fix of the package infrastructure
(75630eba22b20d6140a5b58a6d1e35598fb3c0d3: core: do not attempt
downloads with no _VERSION set).

However, this causes TOOLCHAIN_EXTERNAL_SOURCE to be non-empty even
for BR2_TOOLCHAIN_EXTERNAL_PREINSTALLED=y configuration, with the
following consequences:

 - Buildroot downloads the toolchain tarball (while we're saying the
   toolchain is already available). Not dramatic, but clearly buggy.

 - Buildroot registers a post-extract hook that moves the toolchain
   from its extract directory (output/build/toolchain-external-.../ to
   its final location in host/opt/ext-toolchain/). Before doing this,
   it removes everything in TOOLCHAIN_EXTERNAL_INSTALL_DIR (which
   should normally be host/opt/ext-toolchain/).

Another mistake that caused the bug is commit
b731dc7bfb9c8ce7be502711f0b44ccab5515f1d ("toolchain-external: make
extraction idempotent"), which introduce the dangerous call "rm -rf
$(var)/*", which can be catastrophic if by mistake $(var) is
empty. Instead, this commit should have just used rm -rf $(var) to
remove the directory instead: it would have failed without consequences
if $(var) is empty, and the directory was anyway already re-created
right after with a mkdir.

To address this problem, we:

 - Revert commit a0aa7e0e1750f6ace2879ea8adb1425a41431b79, so that
   _SOURCE and _SITE are empty in the pre-installed toolchain case.

 - Rework the code to ensure that similar problems will no happen in the
   future, by:

   - Registering the TOOLCHAIN_EXTERNAL_MOVE hook only when
     BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y, since moving the toolchain is
     only needed when Buildroot downloaded the toolchain.

   - Introduce a variable TOOLCHAIN_EXTERNAL_DOWNLOAD_INSTALL_DIR which
     is the path in which Buildroot installs external toolchains when it
     is in charge of downloading/extracting them. Then, the
     TOOLCHAIN_EXTERNAL_MOVE hook is changed to use this variable, which
     is guaranteed to be non-empty.

   - Replace the removal of the directory contents $(var)/* by removing
     the directory itself $(var). The directory was anyway already
     re-created if needed afterwards. Thanks to doing this, if $(var)
     ever becomes empty, we will do "rm -rf" which will fail and abort
     the build, and not the catastrophic "rm -rf /*".

Reported-by: Mason <slash.tmp@free.fr>
Cc: Mason <slash.tmp@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: bump default to version 4.7.4
Vicente Olivert Riera [Thu, 15 Sep 2016 08:54:44 +0000 (09:54 +0100)]
linux: bump default to version 4.7.4

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibinput: bump to version 1.5.0
Gustavo Zacarias [Thu, 15 Sep 2016 00:46:56 +0000 (21:46 -0300)]
libinput: bump to version 1.5.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoccache: bump to version 3.3.1
Gustavo Zacarias [Thu, 15 Sep 2016 00:46:43 +0000 (21:46 -0300)]
ccache: bump to version 3.3.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs: Add support for Solidrun's MX6 Cubox/Hummingboard
Fabio Estevam [Wed, 14 Sep 2016 12:49:07 +0000 (09:49 -0300)]
configs: Add support for Solidrun's MX6 Cubox/Hummingboard

Add support for Solidrun's MX6 Cubox/Hummingboard.

For more information about these boards, please check:

https://www.solid-run.com/freescale-imx6-family/hummingboard/
https://www.solid-run.com/freescale-imx6-family/cubox-i/

U-Boot is capable of detecting the version of the board in run-time
and loads the correct dtb.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-pyusb: bump to version 1.0.0
Yegor Yefremov [Wed, 14 Sep 2016 10:36:29 +0000 (12:36 +0200)]
python-pyusb: bump to version 1.0.0

Remove dependency on Python 2 only.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopython-tornado: bump to version 4.4.1
Yegor Yefremov [Wed, 14 Sep 2016 10:36:28 +0000 (12:36 +0200)]
python-tornado: bump to version 4.4.1

Remove upstream patch.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopango: bump to version 1.40.3
Gustavo Zacarias [Wed, 14 Sep 2016 10:04:21 +0000 (07:04 -0300)]
pango: bump to version 1.40.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibcurl: bump version to 7.50.3
Vicente Olivert Riera [Wed, 14 Sep 2016 08:52:24 +0000 (09:52 +0100)]
libcurl: bump version to 7.50.3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agohttping: bump to version 2.5
Gustavo Zacarias [Wed, 14 Sep 2016 13:08:00 +0000 (10:08 -0300)]
httping: bump to version 2.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowandboard: Remove unneeded return code
Fabio Estevam [Wed, 14 Sep 2016 13:00:26 +0000 (10:00 -0300)]
wandboard: Remove unneeded return code

There is no need to handle this return code, so just remove it.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoRevert "package/urg: fix build"
Thomas Petazzoni [Wed, 14 Sep 2016 09:46:01 +0000 (11:46 +0200)]
Revert "package/urg: fix build"

This reverts commit 57e61a91531bf8ea696b5613bd8d846cc645a1d5.

The patch doesn't apply, and makes the urg package fail in all
situations.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenal: Use upstream patch to fix aarch64 build
André Hentschel [Tue, 13 Sep 2016 19:06:24 +0000 (21:06 +0200)]
openal: Use upstream patch to fix aarch64 build

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libupnpp: add patch to fix build issue
Jörg Krause [Tue, 13 Sep 2016 13:35:02 +0000 (15:35 +0200)]
package/libupnpp: add patch to fix build issue

Bumping libupnpp to version 0.15.0 introduced a build error for some
architectures:

```
./libupnpp/workqueue.h:308:29: error: field 'res' has incomplete type
         std::future<void *> res;
                             ^
./libupnpp/workqueue.h: In member function 'bool
WorkQueue<T>::start(int, void* (*)(void*), void*)':
./libupnpp/workqueue.h:81:25: error: invalid use of incomplete type
'class std::packaged_task<void*(void*)>'
             w.res = task.get_future();
```

The problem is that `std::future` is not available for all
architectures, e.g. it is missing for ARMv5 (soft-float). libstdc++
enables `std::future` only if `ATOMIC_INT_LOCK_FREE > 1`, which
according the the libstdc++ documentation means that operations on
atomic ints are guaranteed to be lock-free.

This check is not true for some target, e.g. the toolchain for the
ARMv5 target defines:

```
$ echo | /usr/bin/arm-linux-g++ -dM -E - | grep ATOMIC_INT_LOCK_FREE
#define __GCC_ATOMIC_INT_LOCK_FREE 1

```

We add a patch from upstream which detects if `std::future` is available
and opts-out the functionality for unsupported targets.

Fixes:
http://autobuild.buildroot.net/results/f8eb38ef79160e1f646dae0be19f27fae82a58bc
http://autobuild.buildroot.net/results/158e0ceeff009146b78a0d2bb278c76479bafc34
http://autobuild.buildroot.net/results/1760cf53c77e16bb2b5bc795bd0ce5eb65f258f2
http://autobuild.buildroot.net/results/5b73e52495aa1bbb2c704492237da784b9d74bc2
http://autobuild.buildroot.net/results/6d922a1bbace024fcf040beb49bbb119036865ef
http://autobuild.buildroot.net/results/bebb8983e7579ee4b4bcf18f037c7797ab86f8db
http://autobuild.buildroot.net/results/0f1a5832ced2a6ec2e18f9f14197446fda6af692
http://autobuild.buildroot.net/results/94a9cc349f23a47246b06619a019bcb917493415
http://autobuild.buildroot.net/results/19fba094098af5c1ce1e1371e5e88393c4a6ac9c
http://autobuild.buildroot.net/results/578935b5c04005d1f096059387d16911f953ec6f
http://autobuild.buildroot.net/results/2ad698f1665b7b886141672181cb76ec3c40a743

and more...

Note, that we enable autoreconf as the patch touches configure.ac.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/wandboard: Remove BR2_LINUX_KERNEL_CUSTOM_GIT
Fabio Estevam [Mon, 12 Sep 2016 21:30:17 +0000 (18:30 -0300)]
configs/wandboard: Remove BR2_LINUX_KERNEL_CUSTOM_GIT

Now that we use a mainline kernel for wandboard, we no longer
need to select BR2_LINUX_KERNEL_CUSTOM_GIT, so remove it.

This fixes the following warning:

make wandboard_defconfig
/configs/wandboard_defconfig:19:warning: override: BR2_LINUX_KERNEL_CUSTOM_VERSION changes choice state
#
# configuration written to /home/fabio/buildroot/.config

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/orangepipc: Use Linux 4.7.3
Peter Korsgaard [Tue, 13 Sep 2016 07:20:38 +0000 (09:20 +0200)]
configs/orangepipc: Use Linux 4.7.3

There's now an sun8i-h3-orangepi-pc dts, so we can use that and drop the
hack in the post-image script.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/orangepipc: Use u-boot 2016.09
Peter Korsgaard [Tue, 13 Sep 2016 07:20:37 +0000 (09:20 +0200)]
configs/orangepipc: Use u-boot 2016.09

Among others, this adds support for the ethernet interface.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosqlite: bump version to 3140200 (3.14.2)
Vicente Olivert Riera [Tue, 13 Sep 2016 12:45:13 +0000 (13:45 +0100)]
sqlite: bump version to 3140200 (3.14.2)

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoapache: add customization of MPM
Fabrice Fontaine [Sun, 11 Sep 2016 22:26:05 +0000 (00:26 +0200)]
apache: add customization of MPM

MPM can be selected between event, prefork or worker
Set worker as the default one as it was before even if event MPM is
better on system supporting thread safe polling

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomx6ulpico: Use kernel 4.8-rc5
Fabio Estevam [Mon, 12 Sep 2016 16:15:55 +0000 (13:15 -0300)]
mx6ulpico: Use kernel 4.8-rc5

With kernel 4.8-rc5 we no longer need to use the "CONFIG_SMP=n" workaround
as the reboot issue has been fixed upstream by commit 059e232089e4
("irqchip/gic: Allow self-SGIs for SMP on UP configurations")

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: allow specifying 4.8 as kernel header version
Fabio Estevam [Mon, 12 Sep 2016 16:15:54 +0000 (13:15 -0300)]
linux-headers: allow specifying 4.8 as kernel header version

Even though 4.8 is not released yet, some people may want to build a
system using the 4.8-rc kernel, and point to the kernel sources as the
kernel headers to use for the toolchain.

In order to make this possible, this commit adds support for specifying
4.8 as the kernel headers version, in both the internal and external
toolchain logic.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
[Thomas: remove support for 4.8 headers selection, and rework commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/warp7: Use mainline U-Boot
Fabio Estevam [Mon, 12 Sep 2016 20:50:48 +0000 (17:50 -0300)]
configs/warp7: Use mainline U-Boot

warp7 is well supported in mainline U-Boot 2016.09, so switch
to this version.

As the current supported kernel is based on a 4.1 kernel from NXP,
use the "warp7_secure" U-Boot target as NXP kernel needs to boot
in secure mode.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/wandboard: Bump to U-Boot 2016.09
Fabio Estevam [Mon, 12 Sep 2016 20:50:47 +0000 (17:50 -0300)]
configs/wandboard: Bump to U-Boot 2016.09

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/imx6ulpico: Bump to U-Boot 2016.09
Fabio Estevam [Mon, 12 Sep 2016 20:50:46 +0000 (17:50 -0300)]
configs/imx6ulpico: Bump to U-Boot 2016.09

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-rtsp-server: new package
Piotr Nakraszewicz [Mon, 12 Sep 2016 10:50:21 +0000 (16:20 +0530)]
gst1-rtsp-server: new package

Based on patch by Phil Edworthy:
http://lists.busybox.net/pipermail/buildroot/2010-June/035777.html

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Reviewed-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com>
Signed-off-by: Piotr Nakraszewicz <piotr.nakraszewicz@imgtec.com>
Signed-off-by: Abhilash Tuse <Abhilash.Tuse@imgtec.com>
[Thomas: add host-pkgconf to the dependencies.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/urg: fix build
Samuel Martin [Mon, 12 Sep 2016 19:23:22 +0000 (21:23 +0200)]
package/urg: fix build

Update select-h patch to also fix the C++ serial driver.

Fixes:
  http://autobuild.buildroot.net/results/cd7/cd76699188d2ee99b5f2d32b6a797de0d832a192/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouboot-tools: bump to version 2016.09
Fabio Estevam [Mon, 12 Sep 2016 17:03:41 +0000 (14:03 -0300)]
uboot-tools: bump to version 2016.09

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboot/uboot: bump to version 2016.09
Fabio Estevam [Mon, 12 Sep 2016 17:03:40 +0000 (14:03 -0300)]
boot/uboot: bump to version 2016.09

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx-naxsi: add missing pcre dependency
Samuel Martin [Mon, 12 Sep 2016 19:23:24 +0000 (21:23 +0200)]
package/nginx-naxsi: add missing pcre dependency

Fixes:
  http://autobuild.buildroot.net/results/9c7/9c7bad6831b09251af81e2bbfc595a241df87c70/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosyslinux: add patch to disable pie
Ryan Coe [Mon, 12 Sep 2016 01:04:26 +0000 (18:04 -0700)]
syslinux: add patch to disable pie

Ubuntu 16.10 has pie enable by default. This causes a build failure with
syslinux.

https://bugs.launchpad.net/ubuntu/+source/syslinux/+bug/1579023

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
[Thomas: improve patch description.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovim: bump version to v8.0.0001
Vicente Olivert Riera [Mon, 12 Sep 2016 14:34:35 +0000 (15:34 +0100)]
vim: bump version to v8.0.0001

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowandboard: Make explicit that a ext4 rootfs is used
Fabio Estevam [Sun, 11 Sep 2016 22:31:42 +0000 (19:31 -0300)]
wandboard: Make explicit that a ext4 rootfs is used

Make explicit that a ext4 rootfs is used.

As explained by Thomas Petazzoni:

"the ext4 filesystem is already used.
Indeed, the ext4 image is a symlink to the ext2 image, and the ext2
image is in fact an ext4 image:

-rw-r--r-- 1 thomas thomas 3763200 sept. 11 21:54 rootfs.ext2
lrwxrwxrwx 1 thomas thomas      11 sept. 11 21:54 rootfs.ext4 -> rootfs.ext2"

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomicropython: add upstream patch to fix build failures
Chris Packham [Sun, 11 Sep 2016 21:19:03 +0000 (09:19 +1200)]
micropython: add upstream patch to fix build failures

This allows micropython to build with a host python version of 2.6.

Fixes:
  http://autobuild.buildroot.net/results/212cee82cc9db81cf1524925d106e01fc1e62ce5
  http://autobuild.buildroot.net/results/4f72a602702f4eac1fe8c4a385ebfeb6e1c50df2

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/pugixml: Fix CMakelists.txt cxx_long_long_type bug.
Theo Debrouwere [Mon, 12 Sep 2016 08:14:43 +0000 (10:14 +0200)]
package/pugixml: Fix CMakelists.txt cxx_long_long_type bug.

CMakelist.txt tries to enable the cxx_long_long_type option,
even if the feature isn't available. (Which causes some builds to fail)

The included patch checks if the option is present before applying it.

The patch was backported from:
https://github.com/zeux/pugixml/commit/4dbb5646196a4a3cc94097f1473ef11d1d44df11

Signed-off-by: Theo Debrouwere <t.debrouwere@televic.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/php-ssh2: fix kconfig circular deps after libssh2 fix
Yann E. MORIN [Sun, 11 Sep 2016 21:49:19 +0000 (23:49 +0200)]
package/php-ssh2: fix kconfig circular deps after libssh2 fix

After we simplified the libssh2 dependencies, the new dependencies were
not propagated to the php-ssh2 package, causing circular dependencies:

    package/openssl/Config.in:1:error: recursive dependency detected!
    package/openssl/Config.in:1:    symbol BR2_PACKAGE_OPENSSL is selected by BR2_PACKAGE_LIBSSH2
    package/libssh2/Config.in:1:    symbol BR2_PACKAGE_LIBSSH2 is selected by BR2_PACKAGE_PHP_SSH2
    package/php-ssh2/Config.in:1:   symbol BR2_PACKAGE_PHP_SSH2 depends on BR2_PACKAGE_OPENSSL

Just drop the now-useless dependency inherited from libssh2: libssh2 now
has no dependency.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard/minnowboard-max: Add kernel options to support USB disks
Ezequiel Garcia [Thu, 1 Sep 2016 19:32:58 +0000 (16:32 -0300)]
board/minnowboard-max: Add kernel options to support USB disks

As reported by bug #9176 the current v4.6 kernel config
(used by Minnowboard MAX and Turbot) does not support
USB disks. Since this is a pretty essential functionality,
it's desirable to have it, so let's add the required options.

Kernel config linux-v3.8.config (currently used by the first
generation Minnowboard) doesn't need this change.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimx6dlsabresd: use zImage
Georges Savoundararadj [Wed, 7 Sep 2016 22:29:12 +0000 (15:29 -0700)]
imx6dlsabresd: use zImage

U-Boot, with the default environment, is looking for a zImage.

Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimx6sololiteevk: use zImage
Georges Savoundararadj [Wed, 7 Sep 2016 22:29:11 +0000 (15:29 -0700)]
imx6sololiteevk: use zImage

U-Boot, with the default environment, is looking for a zImage.

Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimx6sololiteevk: use the common genimage template
Georges Savoundararadj [Wed, 7 Sep 2016 22:29:10 +0000 (15:29 -0700)]
imx6sololiteevk: use the common genimage template

* Generate an sdcard image based on the common Freescale genimage
  template.

Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard/freescale: use the common genimage template
Georges Savoundararadj [Wed, 7 Sep 2016 22:29:09 +0000 (15:29 -0700)]
board/freescale: use the common genimage template

The boards imx6dlsabreauto, imx6dlsabresd, imx6qsabreauto, imx6qsabresd,
imx6sxsabresd were referring to board/freescale/create-boot-sd.sh for
the sdcard image generation.

This commit:
* Removes board/freescale/create-boot-sd.sh
* Uses the common Freescale genimage template instead.
  The offset of the first partition was 1MB in the script and is
  modified to 8MB in the template.
* Fixes the readme.txt file accordingly

Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard/freescale: factorize genimage logic
Georges Savoundararadj [Wed, 7 Sep 2016 22:29:08 +0000 (15:29 -0700)]
board/freescale: factorize genimage logic

For the boards imx6ulevk, imx6sabresd, mx25pdk, mx51evk, mx53loco,
warpboard:
* Replace genimage.cfg with a common Freescale genimage template named
  genimage.cfg.template because they all use the same layout.  The only
  difference comes from the device tree blobs.
* Replace each post-image.sh script with a generic post-image.sh script
  which is able to generate the right genimage.cfg depending on:
** the image type (zImage or uImage) from BR2_LINUX_KERNEL_UIMAGE
** the device tree blobs from BR2_LINUX_KERNEL_INTREE_DTS_NAME
** the rootfs type (ext2, ext3 or ext4) from BR2_TARGET_ROOTFS_EXT2
* Fix the readme.txt files accordingly

Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
[Thomas: remove handling of rootfs type, using rootfs.ext2 in all cases
is fine, rootfs.ext3 and rootfs.ext4 are just symbolic links to it.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobinutils: fix makeinfo related issue
Thomas Petazzoni [Thu, 8 Sep 2016 19:49:22 +0000 (21:49 +0200)]
binutils: fix makeinfo related issue

The latest version of binutils, 2.27, added in commit
b700157db40410907d6a07582eacbb5030fd919e, fails to build on systems
that don't have makeinfo installed. This commit therefore applies the
same fixup as the one used for binutils 2.26, which consists in
touching all the .info files, so that they don't get rebuilt.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libssh2: fix dependency on libgcrypt
Yann E. MORIN [Thu, 8 Sep 2016 21:11:48 +0000 (23:11 +0200)]
package/libssh2: fix dependency on libgcrypt

Since 2f89476 (package/libgpg-error: bump to version 1.23), libssh2 has
inherited the dependency from libgcrypt (propagated from libgpg-error).

However, since libssh2 can use either openssl or libgcrypt as a backend,
the dependency should be relaxed when openssl is available.

But the test is broken and inverted: it will make libssh unavailable as
soon as openssl is enabled.

Fix this dependenc byt doing what other similar packages do: select
openssl if the other crypto backend (here libgcrypt) is not enabled.
This also allows us to drop the propagated dependency on the arch
condition.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libssh: fix dependency on libgcrypt
Yann E. MORIN [Thu, 8 Sep 2016 21:11:47 +0000 (23:11 +0200)]
package/libssh: fix dependency on libgcrypt

Since 2f89476 (package/libgpg-error: bump to version 1.23), libssh has
inherited the dependency from libgcrypt (propagated from libgpg-error).

However, since libssh can use either openssl or libgcrypt as a backend,
the dependency should be relaxed when openssl is available.

But the test is broken and inverted: it will make libssh unavailable as
soon as openssl is enabled.

This in itself is already incorrect, but that can cause further issues,
as some packages (e.g. Kodi) will select (indirectly) openssl, and has
an option to select libssh; enabling that option causes unmet direct
dependencies of libssh:

    warning: (BR2_PACKAGE_KODI_LIBSSH) selects BR2_PACKAGE_LIBSSH which
    has unmet direct dependencies (BR2_USE_MMU && !BR2_STATIC_LIBS &&
    BR2_TOOLCHAIN_HAS_THREADS && BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
    && !BR2_PACKAGE_OPENSSL)

Fix this dependency by doing what other similar packages do: select
openssl if the other crypto backend (here libgcrypt) is not enabled.
This also allows us to drop the propagated dependency on the arch
condition.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenal: use upstream patch to detect run-time NEON support
André Hentschel [Sun, 11 Sep 2016 15:49:01 +0000 (17:49 +0200)]
openal: use upstream patch to detect run-time NEON support

Signed-off-by: André Hentschel <nerv@dawncrow.de>
[Thomas: download patches directly from Github.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenal: add upstream patch to fix FPU related build failures
André Hentschel [Sun, 11 Sep 2016 15:49:00 +0000 (17:49 +0200)]
openal: add upstream patch to fix FPU related build failures

Fixes:

  http://autobuild.buildroot.net/results/b57/b5777a0ed33f6bb7a5fc0486ea21ecef58615dac/build-end.log

Signed-off-by: André Hentschel <nerv@dawncrow.de>
[Thomas:
 - download patch directly from Github.
 - add reference to autobuilder failure.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agojemalloc: add a check for valgrind being configured as well
Charles Hardin [Thu, 8 Sep 2016 23:42:00 +0000 (16:42 -0700)]
jemalloc: add a check for valgrind being configured as well

jemalloc can be compiled with valgrind support being enabled
to produce proper output, so when the valgrind package has
been configured configure jemalloc appropriately.

In addition, make sure to disable valgrind support unconditionally in
the host variant of jemalloc.

Signed-off-by: Charles Hardin <ckhardin@exablox.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogtest: fix URL in package description
Carlos Santos [Thu, 8 Sep 2016 21:13:37 +0000 (18:13 -0300)]
gtest: fix URL in package description

http://code.google.com/p/googletest redirects to
https://github.com/google/googletest, now.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowandboard: Select required host tools for SD card generation
Fabio Estevam [Sun, 11 Sep 2016 19:42:06 +0000 (16:42 -0300)]
wandboard: Select required host tools for SD card generation

Select the required host tools for proper SD card generation.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowandboard: Use U-Boot 2016.07
Fabio Estevam [Sun, 11 Sep 2016 19:42:05 +0000 (16:42 -0300)]
wandboard: Use U-Boot 2016.07

Upgrade U-Boot version to 2016.07 and make proper use of U-Boot
distro configuration features.

Provide a boot.scr binary script that is one of the standard ways to
pass a U-Boot script with distro features enabled.

With this method the uboot-env.txt file is no longer needed, so it is
removed.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowandboard: Use kernel version 4.7.3
Fabio Estevam [Sun, 11 Sep 2016 19:42:04 +0000 (16:42 -0300)]
wandboard: Use kernel version 4.7.3

Wandboard is well supported in the mainline kernel, so let's switch
from the 3.14 vendor kernel to 4.7.3 mainline kernel version.

As mainline use more dts files to support both B1 and C1 versions of the
board, adjust the dts entries accordingly.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libusb: bump version to 1.0.20, switch to Github
Jeroen Roovers [Fri, 9 Sep 2016 06:38:29 +0000 (08:38 +0200)]
package/libusb: bump version to 1.0.20, switch to Github

This commit updates libusb to version 1.0.20, and adds a patch that
should fix parallel make issues particular to this version and probably
fixed in the next version.

This commit also moves to using Github as the source for libusb.

Signed-off-by: Jeroen Roovers <jer@airfi.aero>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolegacy/kernel-headers: adjust recommended target
Gustavo Zacarias [Fri, 9 Sep 2016 15:20:55 +0000 (12:20 -0300)]
legacy/kernel-headers: adjust recommended target

Previously they were set at next available version, which is problematic
since new syscalls can be introduced.
So switch to lower available.
There's a caveat for 3.1 and 3.0 headers though since there's no lower
than 3.2, so keep it at 3.2 for those unfortunately.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: remove deprecated versions
Gustavo Zacarias [Fri, 9 Sep 2016 15:20:54 +0000 (12:20 -0300)]
linux-headers: remove deprecated versions

Linux headers 3.19.x and 4.0.x have been deprecated for a while now, so
it's time to remove them.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosystem: fix unmet dependencies
Yann E. MORIN [Sun, 11 Sep 2016 12:38:55 +0000 (14:38 +0200)]
system: fix unmet dependencies

Don't force remounting / read/write when using a customskeleton and
systemd as init system, to fix the following unmet dependencies:

    warning: (BR2_INIT_SYSTEMD) selects BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW
    which has unmet direct dependencies (BR2_ROOTFS_SKELETON_DEFAULT)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/weston: fix unmet dependencies
Yann E. MORIN [Sun, 11 Sep 2016 12:38:54 +0000 (14:38 +0200)]
package/weston: fix unmet dependencies

Properly propagate dependencies from freerdp to fix the following unmet
dependencies:

    warning: (BR2_PACKAGE_WESTON_RDP) selects BR2_PACKAGE_FREERDP which has
    unmet direct dependencies (BR2_INSTALL_LIBSTDCPP && BR2_USE_WCHAR &&
    !BR2_STATIC_LIBS && BR2_TOOLCHAIN_HAS_THREADS && BR2_USE_MMU &&
    BR2_TOOLCHAIN_HAS_SYNC_4)

Reorder deps to have architectures deps first.

Remove "broken" dependency from comment; add missing ones.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/docker-engine: fix unmet dependencies
Yann E. MORIN [Sun, 11 Sep 2016 12:38:53 +0000 (14:38 +0200)]
package/docker-engine: fix unmet dependencies

Properly propagate dependencies from docker-containerd to fix the
following unmet dependencies:

    warning: (BR2_PACKAGE_DOCKER_ENGINE_DAEMON) selects
    BR2_PACKAGE_DOCKER_CONTAINERD which has unmet direct dependencies
    (BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS &&
    BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS && BR2_TOOLCHAIN_HAS_THREADS &&
    BR2_USE_MMU && BR2_USE_WCHAR)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux/ext: fix Xenomai unmet dependencies
Yann E. MORIN [Sun, 11 Sep 2016 12:38:52 +0000 (14:38 +0200)]
linux/ext: fix Xenomai unmet dependencies

Properly propagate the Xenomai dependencies to the corresponding kernel
extension, to fix the following unmet dependencies:

    warning: (BR2_LINUX_KERNEL_EXT_XENOMAI) selects BR2_PACKAGE_XENOMAI
    which has unmet direct dependencies (BR2_PACKAGE_XENOMAI_ARCH_SUPPORTS
    && BR2_TOOLCHAIN_HAS_THREADS && !BR2_TOOLCHAIN_USES_MUSL)

While at it, move the comment lower, after the path option, so that the
path option is properly indented in the menuconfig.

Add markers to separate each extension.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-firmware: bump version
Gustavo Zacarias [Sat, 10 Sep 2016 11:51:45 +0000 (08:51 -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 that are required
for newer kernel series.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-firmware: add bluetooth firmware for intel chips
Gustavo Zacarias [Sat, 10 Sep 2016 11:51:44 +0000 (08:51 -0300)]
linux-firmware: add bluetooth firmware for intel chips

It probably makes no sense to try split them up by model since there
aren't that big.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/upmpdcli: bump to version 1.2.2
Jörg Krause [Sun, 11 Sep 2016 07:21:39 +0000 (09:21 +0200)]
package/upmpdcli: bump to version 1.2.2

Upstream did not provide a hash file, so the hash was calculated
manually.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libupnpp: bump to version 0.15.0
Jörg Krause [Sun, 11 Sep 2016 07:12:40 +0000 (09:12 +0200)]
package/libupnpp: bump to version 0.15.0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosquid: bump to version 3.5.21
Gustavo Zacarias [Fri, 9 Sep 2016 14:36:30 +0000 (11:36 -0300)]
squid: bump to version 3.5.21

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosmcroute: bump to version 2.1.1
Julien Floret [Fri, 9 Sep 2016 12:05:43 +0000 (14:05 +0200)]
smcroute: bump to version 2.1.1

Signed-off-by: Julien Floret <julien.floret@6wind.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoluarocks: bump to version 2.4.0
Francois Perrad [Fri, 9 Sep 2016 11:07:21 +0000 (13:07 +0200)]
luarocks: bump to version 2.4.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/galileo: switch back to the original kernel repo
Padraig James Connolly [Wed, 7 Sep 2016 10:41:32 +0000 (11:41 +0100)]
configs/galileo: switch back to the original kernel repo

This commit switches the galileo_defconfig to use the orignal Linux
kernel repo, which was used prior to commit
fc8cac962baf5668dbc623ae5d411b75f77d3384.

Signed-off-by: Padraig Connolly <padraig.connolly@intel.com>
[Thomas: improved commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xserver_xorg-server: glamor depends on libgl
Bernd Kuhls [Mon, 5 Sep 2016 12:18:31 +0000 (14:18 +0200)]
package/x11r7/xserver_xorg-server: glamor depends on libgl

Fixes
http://autobuild.buildroot.net/results/1f6/1f6131c25738577afd8e097d126e8166cbcfcdd8/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoleveldb: fix staging and target installation
Baruch Siach [Thu, 8 Sep 2016 12:26:17 +0000 (15:26 +0300)]
leveldb: fix staging and target installation

The patch adding target/staging installation support needs variable names
update to account for upstream changes in version 1.19.

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoleveldb: fix static build
Baruch Siach [Thu, 8 Sep 2016 12:26:16 +0000 (15:26 +0300)]
leveldb: fix static build

Since version 1.19 Makefile variable names changed. Update the build command
accordingly.

While at it, remove variables that Makefile doesn't use anymore. This change
means that the static library is always build, even when BR2_SHARED_LIBS=y,
since the static library name is hard coded in leveldb Makefile.

Fixes:
http://autobuild.buildroot.net/results/00c/00c8c5a1d6001eaebfe2a9f848dd292c91bf6a79/

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: Add support for warp7 board
Fabio Estevam [Thu, 8 Sep 2016 16:12:29 +0000 (13:12 -0300)]
configs: Add support for warp7 board

Add support for warp7, which is a board based on NXP i.MX7S processor.

More information about warp7 can be found at:
https://www.element14.com/community/docs/DOC-79058

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoConfig.in: remove BR2_DEPRECATED_SINCE_2015_08
Gustavo Zacarias [Thu, 8 Sep 2016 18:39:02 +0000 (15:39 -0300)]
Config.in: remove BR2_DEPRECATED_SINCE_2015_08

It's now unused.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibgail: remove deprecated package
Gustavo Zacarias [Thu, 8 Sep 2016 18:39:00 +0000 (15:39 -0300)]
libgail: remove deprecated package

It's unused and has been deprecated for some time now.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowebkit: remove deprecated package
Gustavo Zacarias [Thu, 8 Sep 2016 18:38:59 +0000 (15:38 -0300)]
webkit: remove deprecated package

It's been deprecated for quite a while and it's now replaced by the more
modern and up to date webkitgtk package.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoConfig.in: remove BR2_DEPRECATED_SINCE_2015_05
Gustavo Zacarias [Thu, 8 Sep 2016 18:38:58 +0000 (15:38 -0300)]
Config.in: remove BR2_DEPRECATED_SINCE_2015_05

It's now unused.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch: remove support for sh64
Gustavo Zacarias [Thu, 8 Sep 2016 18:38:57 +0000 (15:38 -0300)]
arch: remove support for sh64

It's been deprecated for quite some time now.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/qemu: fix build of host variant
Yann E. MORIN [Thu, 8 Sep 2016 18:46:58 +0000 (20:46 +0200)]
package/qemu: fix build of host variant

The Qemu buildsystem expects that the cpp it is passed can be called
like it were cc: it passes it the '-c' option, which is not allowed by
cpp, but is allowed for cc.

Fix that by overriding CPP when calling configure.

Note: the target variant of Qemu does not build the affected parts (the
PC-BIOS images). This is another problem that should be fixed separately.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoutil-linux: bump version to 2.28.2
Vicente Olivert Riera [Wed, 7 Sep 2016 15:54:47 +0000 (16:54 +0100)]
util-linux: bump version to 2.28.2

--enable-findfs and --enable-lsblk configure options don't exist
anymore. Now, findfs and lsblk are always built by default unless you
pass --disable-all-programs to the configure script.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/php: explicitly disable phpdbg
Theo Debrouwere [Thu, 8 Sep 2016 07:53:09 +0000 (09:53 +0200)]
package/php: explicitly disable phpdbg

When building php, the package will also build/install phpdbg.
This patch explicitly disables this behaviour.

Signed-off-by: Theo Debrouwere <t.debrouwere@televic.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosyslog-ng: Bump version to 3.7.3
Chris Packham [Thu, 8 Sep 2016 10:01:18 +0000 (22:01 +1200)]
syslog-ng: Bump version to 3.7.3

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosyslog-ng: add optional support for libnet build
Chris Packham [Thu, 8 Sep 2016 10:01:17 +0000 (22:01 +1200)]
syslog-ng: add optional support for libnet build

If libnet is included pass --enable-spoof-source to configure otherwise
pass --disable-spoof-source. This stops syslog-ng's configure from
enabling address spoofing based on the build host having libnet
installed.

Fixes:

  http://autobuild.buildroot.net/results/71c733e4a7275f3a1b79cd19065d94e77af0309b
  http://autobuild.buildroot.net/results/d16ba0b9ef75d5a676a26db788be31556b69772a
  http://autobuild.buildroot.net/results/9659d1db1a128b269459fd9b8be797a9efbd35af

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogcc/gcc-final: Disable libcilkrts when using static libs
Floris Bos [Thu, 8 Sep 2016 14:33:15 +0000 (16:33 +0200)]
gcc/gcc-final: Disable libcilkrts when using static libs

Disable libcilkrts when building static, as there is no static version:
https://software.intel.com/en-us/articles/intel-cilk-plus-runtime-library-libcilkrts-can-only-be-linked-dynamically/

Fixes the following toolchain build error when building for i386 and
BR2_STATIC_LIBS=y + BR2_TOOLCHAIN_BUILDROOT_CXX=y is set:

../../../libcilkrts/runtime/sysdep-unix.c:603:19:
fatal error: dlfcn.h: No such file or directory

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofreetype: bump to version 2.7
Gustavo Zacarias [Thu, 8 Sep 2016 18:26:27 +0000 (15:26 -0300)]
freetype: bump to version 2.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobinutils: deprecate 2.24.x
Gustavo Zacarias [Thu, 8 Sep 2016 01:17:27 +0000 (22:17 -0300)]
binutils: deprecate 2.24.x

Now that 2.26.x is stable and there's 2.25.x to fallback for whatever
reason it makes no sense to keep two versions back from default.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoConfig.in: Add BR2_DEPRECATED_SINCE_2016_11
Gustavo Zacarias [Thu, 8 Sep 2016 01:17:26 +0000 (22:17 -0300)]
Config.in: Add BR2_DEPRECATED_SINCE_2016_11

In preparation for new deprecated features/symbols.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobinutils: bump default to version 2.26.x
Gustavo Zacarias [Thu, 8 Sep 2016 01:17:24 +0000 (22:17 -0300)]
binutils: bump default to version 2.26.x

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoglibc: fix MIPS and SPARC builds for glibc < 2.24 with recent binutils
Vicente Olivert Riera [Thu, 8 Sep 2016 16:07:30 +0000 (17:07 +0100)]
glibc: fix MIPS and SPARC builds for glibc < 2.24 with recent binutils

Backport two upstream patches to fix a build failure on MIPS and SPARC
architectures when using recent binutils versions. It appears that on
these architectures pt-vfork.S includes vfork.S (through the alpha
version of pt-vfork.S) and that the __vfork aliases are not
conditionalized on IS_IN (libc) like on other architectures. Therefore
the aliases are also wrongly included in libpthread.so.

The build failure looks like this:

/br/output/build/glibc-2.22/build/nptl/libpthread.so:(*IND*+0x0):
multiple definition of `vfork@GLIBC_2.0'
/br/output/build/glibc-2.22/build/nptl/libpthread.so::(.text+0xeea0):
first defined here

This problem was reported in Debian here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827477

Upstream patches here:

https://sourceware.org/git/?p=glibc.git;a=commit;h=43c2948756bb6e144c7b871e827bba37d61ad3a3
https://sourceware.org/git/?p=glibc.git;a=commit;h=b87c1ec3fa398646f042a68f0ce0f7d09c1348c7

I have tweaked them a little bit in order to not patch the ChangeLog
file, otherwise it will fail.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoerlang-rebar: bump to version 2.6.4
Frank Hunleth [Thu, 8 Sep 2016 01:12:01 +0000 (21:12 -0400)]
erlang-rebar: bump to version 2.6.4

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoharfbuzz: bump to version 1.3.1
Gustavo Zacarias [Thu, 8 Sep 2016 14:15:00 +0000 (11:15 -0300)]
harfbuzz: bump to version 1.3.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/fbterm: fix download site
Julien BOIBESSOT [Thu, 8 Sep 2016 12:43:43 +0000 (14:43 +0200)]
package/fbterm: fix download site

fbterm-1.7.0.tar.gz is no more accessible from http://fbterm.googlecode.com/files

Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agognutls: bump to version 3.4.15
Gustavo Zacarias [Thu, 8 Sep 2016 12:40:29 +0000 (09:40 -0300)]
gnutls: bump to version 3.4.15

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowireshark: bump version to 2.2.0
Vicente Olivert Riera [Thu, 8 Sep 2016 10:22:34 +0000 (11:22 +0100)]
wireshark: bump version to 2.2.0

- Adapt current patch for 2.2.0.

- Adapt gtk configure options for 2.2.0:
  - Instead of --enable-gtk3 or --enable-gtk2, now it uses
    --enable-gtk=[no/2/3/yes].

- Remove non-existing configure options:
  - --enable-usr-local: removed by
    https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=125989780ba8e658ad0d1f1c71ec01e6d36a2266

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocifs-utils: bump to version 6.6
Gustavo Zacarias [Thu, 8 Sep 2016 02:00:18 +0000 (23:00 -0300)]
cifs-utils: bump to version 6.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/stress-ng: bump to 0.06.15
Romain Naour [Wed, 7 Sep 2016 20:21:24 +0000 (22:21 +0200)]
package/stress-ng: bump to 0.06.15

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/stress-ng: fix install commande
Romain Naour [Wed, 7 Sep 2016 20:21:23 +0000 (22:21 +0200)]
package/stress-ng: fix install commande

Don't use make install otherwise stress-ng will be rebuild without
required link libraries if any. Furthermore, using INSTALL allow to
set the file permission correcly on the target.

Fixes:
http://autobuild.buildroot.net/results/bba/bba4d0b635ab6849f969b8a0363ebe9f5fafd82e

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopugixml: add toolchain comment
Peter Korsgaard [Wed, 7 Sep 2016 20:46:14 +0000 (22:46 +0200)]
pugixml: add toolchain comment

Reported-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>