buildroot.git
8 years agorabbitmq-server: new package
Frank Hunleth [Tue, 25 Oct 2016 15:49:07 +0000 (11:49 -0400)]
rabbitmq-server: new package

[Peter: simplify init script, use relative symlinks]
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agozyre: disable docs
Rahul Bedarkar [Tue, 25 Oct 2016 17:36:41 +0000 (23:06 +0530)]
zyre: disable docs

Fixes:
  http://autobuild.buildroot.net/results/c30/c307cfae46b800603b76f623840bd0fd950f0e3f/

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/imx28evk: Update U-Boot and kernel versions
Fabio Estevam [Tue, 25 Oct 2016 16:21:40 +0000 (14:21 -0200)]
configs/imx28evk: Update U-Boot and kernel versions

Update U-Boot to 2016.09.01 and kernel to 4.8.4 version.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoimx28evk: Fix the first partition location
Fabio Estevam [Tue, 25 Oct 2016 16:21:39 +0000 (14:21 -0200)]
imx28evk: Fix the first partition location

When the SD card is connected to the host PC it can be mounted as
/dev/mmcblk0 or /dev/sdX, depending on how the SD controller is connected to
/the PC.

In this case the first partition is /dev/mmcblk0p1, not /dev/mmcblk01.

So use the ${PART1} variable to correctly assign this location.

[Peter: extend commit meesage]
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomotion: bump to version 4.0.1
Fabrice Fontaine [Tue, 25 Oct 2016 15:27:42 +0000 (17:27 +0200)]
motion: bump to version 4.0.1

[Peter: adjust autoreconf comment]
Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agorsyslog: not available on musl
Rahul Bedarkar [Tue, 25 Oct 2016 15:48:59 +0000 (21:18 +0530)]
rsyslog: not available on musl

With musl C library, we get following error when building rsyslog:

  imfile.c: In function 'in_setupFileWatchStatic':
  imfile.c:1614:28: error: 'GLOB_BRACE' undeclared (first use in this function)
        GLOB_MARK|GLOB_NOSORT|GLOB_BRACE, NULL, &files);
                              ^
flag GLOB_BRACE is not available on musl. Since package uses it
unconditionally, we mark it not available for musl.

Fixes:
  http://autobuild.buildroot.net/results/6d4/6d480bb1e1466809d8ff119f6b35bb91df00785c/

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoswupdate: allow luajit to enable HAVE_LUA
Jordan Yelloz [Sun, 24 Jul 2016 23:27:36 +0000 (16:27 -0700)]
swupdate: allow luajit to enable HAVE_LUA

Until now, HAVE_LUA=y was only passed when BR2_PACKAGE_LUA=y. However,
swupdate can also use LuaJIT instead of the classic Lua. Therefore,
this commit updates the package to use BR2_PACKAGE_HAS_LUAINTERPRETER
and the luainterpreter virtual package.

Note that the swupdate configuration needs to be updated separately
(via swupdate-menuconfig) to enable Lua support, and to specify the
Lua version (which should be jit-5.1 to link against LuaJIT).

Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
[Thomas: use the luainterpreter virtual package, expand commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoscripts/get-developers: correct type of patches argument
Rahul Bedarkar [Wed, 21 Sep 2016 18:59:14 +0000 (00:29 +0530)]
scripts/get-developers: correct type of patches argument

Current type for 'patches' argument is str. It supposed to only
contain names of files.

If we specify FileType as type, then we don't need to open file ourself
and it allows script to read patch from standard input as well.

e.g.
$ git show -1 | ./support/scripts/get-developers -

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/warp7: Use common script for generating boot image
Fabio Estevam [Thu, 29 Sep 2016 18:16:44 +0000 (15:16 -0300)]
configs/warp7: Use common script for generating boot image

Use the common board/freescale/common/post-image.sh script instead of
a custom one.

As the final image binary is called "sdcard.img" update the documentation
accordingly.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp: fix selection of interfaces depending on BR2_USE_MMU
Thomas Petazzoni [Tue, 25 Oct 2016 10:32:46 +0000 (12:32 +0200)]
php: fix selection of interfaces depending on BR2_USE_MMU

Commit c457213fbca5f3493544c8a4335b623620458b0c reworked the selection
of PHP interfaces, moving from a choice..endchoice to a three
independent sub-options.

Thanks to how choices are handled by kconfig, an option suitable for
noMMU platforms was automatically chosen by default. When the
choice...endchoice got removed in
c457213fbca5f3493544c8a4335b623620458b0c, we introduced a "select" for
one of the interfaces, to make sure at least one interface is
selected.

Unfortunately, the selected interface does not build on noMMU
platforms. In order to preserve the previous behavior (CGI interface
is selected by default on MMU capable platforms), this commit makes
the select logic a bit more complicated:

 - CGI is selected on MMU-capable platforms if neither CLI or FPM are
   selected

 - CLI is selected on MMU-less platforms, since this is anyway the
   only available interface.

Fixes:

  http://autobuild.buildroot.net/results/85ea09188f1e996cb14b4b83a17736c096c569a8/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoRevert "firejail: new package"
Thomas Petazzoni [Mon, 24 Oct 2016 21:43:18 +0000 (23:43 +0200)]
Revert "firejail: new package"

This reverts commit 8a5224415ceb61e5340e4dd92028b37ce57ca849. It was
kept applied by mistake.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorp-pppoe: pass the appropriate path for various tools
Thomas Petazzoni [Sat, 22 Oct 2016 13:03:17 +0000 (15:03 +0200)]
rp-pppoe: pass the appropriate path for various tools

The rp-pppoe configure script uses AC_PATH_PROG() to find the path of
a number of tools on the build machine. But in fact, those paths are
not used to call the tools on the build machine, but rather to replace
variables in scripts that are executed in the target.

Due to this, if those tools on the build machine are not located at
the same place as their equivalent in the target, the scripts will
fail to run. To address this, we pass the necessary cache variables to
override the autoconf checks.

The path from pppd has been taken from the build result of the pppd
package. The path for setsid, id and echo have been taken from the
build result of Busybox, assuming that full-blown variants of those
tools would be installed at the same location.

Fixes bug #8811.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofirejail: new package
Chris Frederick [Thu, 20 Oct 2016 17:54:13 +0000 (12:54 -0500)]
firejail: new package

Firejail Security Sandbox
https://firejail.wordpress.com/

Lightweight application sandboxing system using seccomp and kernel
namespaces.

Signed-off-by: Chris Frederick <cdf123@cdf123.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ts4900-fpga: remove the default value of the _INSTALL_{IMAGES, TARGET} variables
Jerzy Grzegorek [Mon, 24 Oct 2016 21:00:46 +0000 (23:00 +0200)]
package/ts4900-fpga: remove the default value of the _INSTALL_{IMAGES, TARGET} variables

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain/wrapper: fix 'reinstall'
Jérôme Pouiller [Wed, 28 Sep 2016 08:00:56 +0000 (10:00 +0200)]
toolchain/wrapper: fix 'reinstall'

toolchain-wrapper was not reinstalled. So rules toolchain-external-reinstall,
gcc-initial-reinstall, gcc-final-reinstall didn't work as expected.

In add, normalize variable name: s/TOOLCHAIN_BUILD_WRAPPER/TOOLCHAIN_WRAPPER_BUILD/

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoutil-linux: select ncurses when "pg" is selected
Carlos Santos [Mon, 24 Oct 2016 18:51:06 +0000 (16:51 -0200)]
util-linux: select ncurses when "pg" is selected

Fixes:
http://autobuild.buildroot.net/results/63374203f32d2e9407531b53cd5d8f2665944fbe
http://autobuild.buildroot.net/results/6279cd6f45f54ed5857a2fc08a21d9e257b6bc4b
http://autobuild.buildroot.net/results/5604c56c0c92483d28e51eb4e70a9741c3c4effe

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolegacy: add missing select
Yann E. MORIN [Mon, 24 Oct 2016 16:46:00 +0000 (18:46 +0200)]
legacy: add missing select

When adding a boolean option to legacy, it should slect BR2_LEGACY, to
trigger the legacy warning.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenzwave: fix compilation of MinOZW
Fabrice Fontaine [Sun, 23 Oct 2016 17:59:11 +0000 (19:59 +0200)]
openzwave: fix compilation of MinOZW

LIBDIR was used in cpp/examples/MinOZW/Makefile to add dynamic
libraries. However, as it was unset by default, the cross-compilation
could fail if the host had a library such as libnss3.so in /.
To fix this issue, this patch sets LIBDIR to top_buildir if it is unset

Fixes:
  http://autobuild.buildroot.net/results/68719fdf1320a69310bada6d3c47654dacdb5898

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopostgresql: enable ldap support for pg_service.conf
Chris Frederick [Mon, 24 Oct 2016 14:13:18 +0000 (09:13 -0500)]
postgresql: enable ldap support for pg_service.conf

Just needed to add --with-ldap to POSTGRESQL_CONF_OPTS and add openldap
to POSTGRESQL_DEPENDENCIES when BR2_PACKAGE_OPENLDAP is on

Signed-off-by: Chris Frederick <cdf123@cdf123.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: fix pthread.h
Waldemar Brodkorb [Mon, 24 Oct 2016 03:21:51 +0000 (05:21 +0200)]
uclibc: fix pthread.h

Fixes:
 bfin: http://autobuild.buildroot.net/results/fbf/fbf63bbe0974b490b875a95fb930ba601364b85a/
 m68k: http://autobuild.buildroot.net/results/cc9/cc9b87c4c695f97a056cc53f19e7662750dffeff/
 microblazeel: http://autobuild.buildroot.net/results/941/941c06e29f6542e258f20799dc6f3f94b2f8af88/

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp: rework selection of interfaces
Fabrice Fontaine [Mon, 12 Sep 2016 21:31:07 +0000 (23:31 +0200)]
php: rework selection of interfaces

Following suggestion of Yann Morin, rework selection of php
interfaces: use booleans instead of choice to be able to select
multiple interfaces as they are not exclusive. We make sure at least
one of the options is selected.

It should be noted that previously CGI and FPM could not be selected
at the same time. This is now possible. Bug that prevented compilation
of CGI and FPM binaries at the same time has been fixed since PHP 5.4
(https://github.com/php-build/php-build/issues/101).

Legacy handling is added for the two options that are removed, and the
appropriate new options are selected.

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopkg-download: fix fetching URLs with ? from PRIMARY/BACKUP
Arnout Vandecappelle [Fri, 21 Oct 2016 20:27:15 +0000 (22:27 +0200)]
pkg-download: fix fetching URLs with ? from PRIMARY/BACKUP

Some packages download files (especially patches) with a ? in the
URL. The ? marks the query part of the URL. However, the downloaded
file still contains the ? but from then on it doesn't designate a
query part anymore. Therefore, when fetching from PRIMARY or
BACKUP site over http, the server will report a 404 Not Found.

To fix, we need to replace the ? with %3F. Obviously, this should
be done only when fetching from PRIMARY or BACKUP. For fetching
from the real upstream, the ? really does designate the query part.

Fixes #9371.

Reported-by: Johan Derycke <johanderycke@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: replace 'SECONDARY' by 'BACKUP'.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gcc: disable libmpx for gcc6-based musl builds
Bernd Kuhls [Sat, 22 Oct 2016 22:04:22 +0000 (00:04 +0200)]
package/gcc: disable libmpx for gcc6-based musl builds

Building this minimal defconfig

BR2_TOOLCHAIN_BUILDROOT_MUSL=y
BR2_GCC_VERSION_6_X=y

fails:

In file included from ../../../../libmpx/mpxrt/mpxrt.c:54:0:
../../../../libmpx/mpxrt/mpxrt.c: In function 'read_mpx_status_sig':
../../../../libmpx/mpxrt/mpxrt.h:52:42: error: invalid application of
'sizeof' to incomplete type 'struct _libc_fpstate'
 #define XSAVE_OFFSET_IN_FPMEM    sizeof (struct _libc_fpstate)

To fix disable libmpx for musl builds, other projects did the same:

https://github.com/crosstool-ng/crosstool-ng/commit/3ec2211548a853203e070af6810f49825ec46a6a
http://git.alpinelinux.org/cgit/aports/commit/main/gcc/APKBUILD?id=1830e485126ea9a95d763317fb0c508c1ff297d2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolua-messagepack: bump to version 0.3.5
Francois Perrad [Sun, 23 Oct 2016 09:27:00 +0000 (11:27 +0200)]
lua-messagepack: bump to version 0.3.5

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolua-csnappy: bump to version 0.1.4
Francois Perrad [Sun, 23 Oct 2016 09:26:59 +0000 (11:26 +0200)]
lua-csnappy: bump to version 0.1.4

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ffmpeg: bump version to 3.1.5
Bernd Kuhls [Sat, 22 Oct 2016 09:25:11 +0000 (11:25 +0200)]
package/ffmpeg: bump version to 3.1.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ffmpeg: renumber patch 0013 -> 0001
Bernd Kuhls [Sat, 22 Oct 2016 09:25:10 +0000 (11:25 +0200)]
package/ffmpeg: renumber patch 0013 -> 0001

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: update to 1.0.19
Waldemar Brodkorb [Sun, 23 Oct 2016 12:19:05 +0000 (14:19 +0200)]
uclibc: update to 1.0.19

All patches are upstream.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: bump default to version 4.8.4
Gustavo Zacarias [Sat, 22 Oct 2016 12:08:32 +0000 (09:08 -0300)]
linux: bump default to version 4.8.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 3.{2, 10, 12}.x and 4.{4, 7, 8}.x series
Gustavo Zacarias [Sat, 22 Oct 2016 12:08:31 +0000 (09:08 -0300)]
linux-headers: bump 3.{2, 10, 12}.x and 4.{4, 7, 8}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocryptopp: bump to 5.6.5
Thomas Petazzoni [Sat, 22 Oct 2016 20:26:32 +0000 (22:26 +0200)]
cryptopp: bump to 5.6.5

This commit bumps cryptopp from 5.6.3 to 5.6.5 in order to fix bug

The commit f707b9ef1688d4429ca6239cf2dc236440974681, which Buildroot
was downloading as a patch to fix build with older gcc versions, has
been merged upstream as of 5.6.4, is therefore no longer necessary,
and dropped in this commit.

In addition, Andrey Volkov in the bug report #9321, proposed to add a
number of patches to cryptopp to solve issues when using
tegrarcm. Those patches are the following ones:

 - patch 0: moving to autotools as the build system. This is not
   strictly a bug fix, and is not necessary.

 - patch 1: merged upstream in
   "3941be18891a6a87626b7c70f715ca91c61c08c3 Fixed hang on ARM
   platforms in Integer::DivideThreeWordsByTwo", which is part of
   5.6.5.

 - patch 2: merged upstream in
   "9fca0c28023a177106cf58a3de6da610f185a6e4 Work around issue on
   ARMEL in MultiplyTop and GCC. ARMHF is OK", which is part of 5.6.5.

 - patch 3: merged upstream in
   "dce2317195a7d9aa77b159fd1beddaf8358f6243 Increase range for GCC
   workaround on ARMEL. After speaking with AP from GCC, he states
   some issues are still likely present in Master, which is GCC 6.0",
   which is part of 5.6.5

 - patch 4: merged upstream in
   "605744d8260c6ada033805c13ae0b2646acf18d6 Fixed SecBlock append
   when "this == t", fixed assert, added validation test (Issue 92)",
   which is part of 5.6.5

 - patch 5: merged upstream in
   "9f335d719ebc27f58251559240de0077ec42c583 Fix the Rijndael timing
   attack counter measure", which is part of 5.6.5

 - patch 6: merged upstream in
   "d8b02cfaafd7350ed0f876cd5da405cff330d537 Fixed m68k detection
   (Issue 153)", which is part of 5.6.5

 - patch 7: merged upstream in
   "c82fd655ed7465db8d21a0e0559c304a7a86d298 Cleared assert in debug
   builds (Issue 138)", which is part of 5.6.5

Bottom line: none of the patches proposed by Andrey Volkov are
necessary if we bump to 5.6.5.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibtasn1: clarify licensing info
Gustavo Zacarias [Thu, 29 Sep 2016 01:13:58 +0000 (22:13 -0300)]
libtasn1: clarify licensing info

The library is LGPLv2.1+, the tests and tools are GPLv3+ so clarify to
avoid confusion.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchainfile.cmake: fix description of CMAKE_Fortran_FLAGS_{DEBUG,RELEASE}
Thomas Petazzoni [Sat, 22 Oct 2016 14:44:06 +0000 (16:44 +0200)]
toolchainfile.cmake: fix description of CMAKE_Fortran_FLAGS_{DEBUG,RELEASE}

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoochainfile.cmake: rework the way Buildroot sets flags
Samuel Martin [Sun, 16 Oct 2016 11:12:45 +0000 (13:12 +0200)]
toochainfile.cmake: rework the way Buildroot sets flags

From the build configuration, Buildroot defines and set some compiler
and linker flags that should be passed to any packages build-system.

For package using the cmake-package infrastructure, this is achieved
via the toolchainfile.cmake.

This change simplifies the way the toolchainfile.cmake file handles
these flags: it now just sets them, without any attempt to extend them
with those Buildroot defined.

This change still allows overriding these flags from the configure
command line.

So, now, when a CMake-based package needs to extend them, they should
be fully set from the package *.mk file. This behavior is consistent
with what is done for others package infrastructures.

This change should not pull any regression WRT the bug #7280 [1].

However, now, when someone uses the toolchainfile.cmake file outside of
Buildroot, he/she must overload all compiler/linker flags (including the
ones Buildroot sets since they no longer get automatically added).

[1] https://bugs.busybox.net/show_bug.cgi?id=7280

Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/rpi-userland: include TARGET_CFLAGS to the overloaded CFLAGS
Samuel Martin [Sun, 16 Oct 2016 11:12:44 +0000 (13:12 +0200)]
package/rpi-userland: include TARGET_CFLAGS to the overloaded CFLAGS

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/opencv3: fix CMAKE_CXX_FLAGS
Max Filippov [Sun, 16 Oct 2016 11:12:43 +0000 (13:12 +0200)]
package/opencv3: fix CMAKE_CXX_FLAGS

The commit 4904c4c "package/opencv3: use BR2_TOOLCHAIN_HAS_LIBATOMIC"
overrides CMAKE_CXX_FLAGS with the single -latomic, losing all ABI
CFLAGS that are passed there by default. This breaks build on xtensa
where ABI CFLAGS contain important code generation options.

Append $(TARGET_CXXFLAGS) to CMAKE_CXX_FLAGS along with -latomic.

Fixes:
  http://autobuild.buildroot.net/results/7f1c96abd8fbb5b358a07100ab623316e9bb9dcd
  http://autobuild.buildroot.net/results/e0c93d0f6d1da0d62d4dbba211a275bfe75e9645
  http://autobuild.buildroot.net/results/53e7e4b4b6a7b48b8012799d7507f7594dbf01b2

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libcec: include TARGET_{C, CXX}FLAGS to the overloaded {C, CXX}FLAGS
Samuel Martin [Sun, 16 Oct 2016 11:12:42 +0000 (13:12 +0200)]
package/libcec: include TARGET_{C, CXX}FLAGS to the overloaded {C, CXX}FLAGS

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gnuradio: include TARGET_CFLAGS to the overloaded CFLAGS
Samuel Martin [Sun, 16 Oct 2016 11:12:41 +0000 (13:12 +0200)]
package/gnuradio: include TARGET_CFLAGS to the overloaded CFLAGS

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gflags: include TARGET_CXXFLAGS to the overloaded CXXFLAGS
Samuel Martin [Sun, 16 Oct 2016 11:12:40 +0000 (13:12 +0200)]
package/gflags: include TARGET_CXXFLAGS to the overloaded CXXFLAGS

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchainfile.cmake: set per-config appended {C, CXX}FLAGS
Samuel Martin [Sun, 16 Oct 2016 11:12:39 +0000 (13:12 +0200)]
toolchainfile.cmake: set per-config appended {C, CXX}FLAGS

When a build type is set, CMake does append some flags that can override
those set by Buildroot due to the gcc option parser (in which the last
argument controling an option wins).

Hereafter is a summary of the optimization and debug flags set by
Buildroot and appended by CMake.

* Flags set by Buildroot depending on the configuration:

  BR2_ENABLE_DEBUG | Optim. level        | Buildroot {C,CXX}FLAGS
  =================+=====================+=======================
          y        | BR2_OPTIMIZE_S      | -Os -gx
          y        | BR2_OPTIMIZE_G      | -Og -gx
          y        | BR2_OPTIMIZE_{0..3} | -On -gx
          n        | BR2_OPTIMIZE_S      | -Os
          n        | BR2_OPTIMIZE_G      | -Og
          n        | BR2_OPTIMIZE_{0..3} | -On

* Default flags appended by CMake depending on the build type:

  Build type     | Flags           | Effects on {C,CXX}FLAGS
  ===============+=================+===========================================
  Debug          | -g              | Force -g, compatible with BR2_ENABLE_DEBUG
  MinSizeRel     | -Os -DNDEBUG    | Set -Os, compatible with BR2_OPTIMIZE_S
  Release        | -O3 -DNDEBUG    | Set -O3, closest to the others cases,
                 |                 | though the optimization level is forced.
  RelWithDebInfo | -O2 -g -DNDEBUG | Force -g and set -O2, not friendly with BR

To avoid the CMake flags take precedence over the Buildroot ones, this
change sets in toolchainfile.cmake the per-config compiler flags CMake
can append depending on the build type Buildroot defined.
So, CMake does not mess up with the compilation flags Buildroot sets.

It is still possible to override these per-config flags on the cmake
command line.

Note:
  If a CMake-based project forces the compiler and/or linker flag
  definitions (the default ones or the per-config ones - e.g.
  CMAKE_C_FLAGS/CMAKE_C_FLAGS_{DEBUG,RELEASE}), there is not much
  Buildroot can do about it.
  So, the flags will be overwritten anyway in these cases.

Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas:
 - adjust comment in toolchainfile.cmake.in, as suggested by Arnout.
 - also handle CMAKE_Fortran_FLAGS_*, as suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/pkg-cmake.mk: move CMAKE_BUILD_TYPE definition into toolchainfile.cmake
Samuel Martin [Sun, 16 Oct 2016 11:12:38 +0000 (13:12 +0200)]
package/pkg-cmake.mk: move CMAKE_BUILD_TYPE definition into toolchainfile.cmake

The chosen CMAKE_BUILD_TYPE encodes an option of the Buildroot
configuration, so it makes more sense to save it in the
toolchainfile.cmake than to pass it during configure.

It is still possible to override the build type on the cmake
command line.

Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: reword description in the CHANGES file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoRevert "package/cmake: with BR2_ENABLE_DEBUG use RelWithDebInfo"
Samuel Martin [Sun, 16 Oct 2016 11:12:37 +0000 (13:12 +0200)]
Revert "package/cmake: with BR2_ENABLE_DEBUG use RelWithDebInfo"

This reverts commit 4b0120183404913f7f7788ef4f0f6b51498ef363.

Before reverting this patch, CMake packages are built with the following
options:
  * if BR2_ENABLE_DEBUG is set:
    The CMake build type is set to RelWithDebInfo, which means:
    - Optimization level is forced to: -O2;
    - no log nor assert due to -DNDEBUG;
    - BR2_DEBUG_{1..3} effect is unchanged;
  * otherwise:
    The CMake build type is set to Release, which means:
    - Optimization level is forced to: -O3;
    - no log nor assert due to -DNDEBUG (as expected).
  In any case, the optimization WRT the binary size is always ignored
  and forced.

Reverting to the previous situation, so Buildroot now chooses between
the 'Debug' and 'Release' config types, which are semantically closer
to what Buildroot does everywhere else:
  * if BR2_ENABLE_DEBUG is set:
    The CMake build type is set to Debug, which means:
    - only -g option is passed by CMake;
    - optimization is not forced, nor debug level, so they are kept
      as-is;
  * otherwise:
    The CMake build type is set to Release, so no change in this case:
    - Optimization level is forced to: -O3;
    - no log nor assert due to -DNDEBUG (as expected);
    - size optimization is ignored.

Follow-up patches will fix the CMake flag variables that are appended by
CMake.

Cc: Charles Hardin <ckhardin@exablox.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/trinity: needs headers >= 3.4
Bernd Kuhls [Sun, 16 Oct 2016 13:24:11 +0000 (15:24 +0200)]
package/trinity: needs headers >= 3.4

IPV6_UNICAST_IF was added with kernel 3.4:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/include/linux/in6.h?id=refs/tags/v3.4.112

To prove this compare with kernel 3.3:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/include/linux/in6.h?h=linux-3.3.y

The trinity package contains some compat code in
https://github.com/kernelslacker/trinity/blob/master/include/compat.h

but it does not trigger for IPV6_UNICAST_IF
https://github.com/kernelslacker/trinity/blob/master/include/compat.h#L662

Instead of hacking compat.h to death just depend on headers >= 3.4.

Fixes a build error
net/proto-ipv6.c: At top level:
net/proto-ipv6.c:157:12: error: ‘IPV6_UNICAST_IF’ undeclared here (not in a function)
  { .name = IPV6_UNICAST_IF, },

not yet caught by autobuilders using this defconfig:
http://autobuild.buildroot.net/results/394/394e22be0ef986463e97b3040dad8f978262732c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotrinity: refactor dependencies using BR2_PACKAGE_TRINITY_ARCH_SUPPORTS
Thomas Petazzoni [Sat, 22 Oct 2016 14:10:24 +0000 (16:10 +0200)]
trinity: refactor dependencies using BR2_PACKAGE_TRINITY_ARCH_SUPPORTS

In order to avoid duplicating architecture dependencies in the trinity
Config.in file, this commit introduces a
BR2_PACKAGE_TRINITY_ARCH_SUPPORTS Config.in variable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoprotobuf: add a comment about python-protobuf
Thomas Petazzoni [Sat, 22 Oct 2016 14:00:19 +0000 (16:00 +0200)]
protobuf: add a comment about python-protobuf

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoprotobuf: bump to version 3.0.0
Jan Heylen [Thu, 20 Oct 2016 17:13:29 +0000 (19:13 +0200)]
protobuf: bump to version 3.0.0

It also changes the python-protobuf.hash file to be a symbolic link to
../protobuf/protobuf.hash so that both hash files don't have to be
updated when protobuf is bumped.

In addition, the 0001-disable-unneeded-build-dependencies.patch patch
from package/python-protobuf/ is removed because it has been merged
upstream.

Signed-off-by: Jan Heylen <heyleke@gmail.com>
[Thomas: fix the build of python-protobuf.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopostgresql: bump version to 9.6.0
Peter Seiderer [Thu, 20 Oct 2016 19:49:32 +0000 (21:49 +0200)]
postgresql: bump version to 9.6.0

For release notes see [1].

[1] https://www.postgresql.org/docs/9.6/static/release-9-6.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowiringpi: bump version to 2.32
Peter Seiderer [Fri, 21 Oct 2016 19:10:12 +0000 (21:10 +0200)]
wiringpi: bump version to 2.32

- change back to original download site

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolzip: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:37 +0000 (13:06 -0300)]
lzip: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxl2tp: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:08 +0000 (13:06 -0300)]
xl2tp: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
[Thomas: fix commit title.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocryptodev-linux: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:20 +0000 (13:07 -0300)]
cryptodev-linux: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoaufs-util: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:19 +0000 (13:07 -0300)]
aufs-util: use $(HOST_MAKE_ENV) when calling $(MAKE)

In this case in particular a host tool is built inside the target build
step.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoturbolua: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:17 +0000 (13:07 -0300)]
turbolua: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotinyhttpd: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:16 +0000 (13:07 -0300)]
tinyhttpd: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowiringpi: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:15 +0000 (13:07 -0300)]
wiringpi: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqtuio: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:13 +0000 (13:07 -0300)]
qtuio: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosepolgen: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:12 +0000 (13:07 -0300)]
sepolgen: use $(HOST_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqwt: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:11 +0000 (13:07 -0300)]
qwt: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoliblockfile: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:09 +0000 (13:07 -0300)]
liblockfile: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovsftpd: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:08 +0000 (13:07 -0300)]
vsftpd: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobitstream: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:07 +0000 (13:07 -0300)]
bitstream: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiodine: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:06 +0000 (13:07 -0300)]
iodine: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoomap-u-boot-utils: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:05 +0000 (13:07 -0300)]
omap-u-boot-utils: use $(HOST_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodtc: use $(HOST_CONFIGURE_OPTS) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:04 +0000 (13:07 -0300)]
dtc: use $(HOST_CONFIGURE_OPTS) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoti-sgx-um: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:00 +0000 (13:07 -0300)]
ti-sgx-um: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomii-diag: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:59 +0000 (13:06 -0300)]
mii-diag: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodstat: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:58 +0000 (13:06 -0300)]
dstat: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocollectd: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:57 +0000 (13:06 -0300)]
collectd: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoluajit: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:56 +0000 (13:06 -0300)]
luajit: use $(HOST_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoluajit: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:55 +0000 (13:06 -0300)]
luajit: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibsepol: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:54 +0000 (13:06 -0300)]
libsepol: use $(HOST_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibsepol: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:53 +0000 (13:06 -0300)]
libsepol: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agokeyutils: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:52 +0000 (13:06 -0300)]
keyutils: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-backports: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:51 +0000 (13:06 -0300)]
linux-backports: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomemtester: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:48 +0000 (13:06 -0300)]
memtester: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoti-gfx: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:47 +0000 (13:06 -0300)]
ti-gfx: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolshw: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:46 +0000 (13:06 -0300)]
lshw: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agop7zip: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:45 +0000 (13:06 -0300)]
p7zip: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodirectfb: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:44 +0000 (13:06 -0300)]
directfb: use $(HOST_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobinutils: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:43 +0000 (13:06 -0300)]
binutils: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxtables-addons: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:42 +0000 (13:06 -0300)]
xtables-addons: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibtomcrypt: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:41 +0000 (13:06 -0300)]
libtomcrypt: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoaxel: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:40 +0000 (13:06 -0300)]
axel: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonetplug: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:39 +0000 (13:06 -0300)]
netplug: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agors485conf: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:38 +0000 (13:06 -0300)]
rs485conf: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocheckpolicy: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:35 +0000 (13:06 -0300)]
checkpolicy: use $(HOST_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodmalloc: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:34 +0000 (13:06 -0300)]
dmalloc: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agort-tests: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:33 +0000 (13:06 -0300)]
rt-tests: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoshapelib: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:32 +0000 (13:06 -0300)]
shapelib: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolm-sensors: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:31 +0000 (13:06 -0300)]
lm-sensors: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofio: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:30 +0000 (13:06 -0300)]
fio: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoam33x-cm3: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:29 +0000 (13:06 -0300)]
am33x-cm3: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomemstat: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:28 +0000 (13:06 -0300)]
memstat: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibsemanage: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:27 +0000 (13:06 -0300)]
libsemanage: use $(HOST_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibsemanage: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:26 +0000 (13:06 -0300)]
libsemanage: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolatencytop: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:25 +0000 (13:06 -0300)]
latencytop: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years ago4th: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:24 +0000 (13:06 -0300)]
4th: use $(HOST_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years ago4th: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:23 +0000 (13:06 -0300)]
4th: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosoftether: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:22 +0000 (13:06 -0300)]
softether: use $(HOST_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoca-certificates: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:21 +0000 (13:06 -0300)]
ca-certificates: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>