buildroot.git
8 years agoinput-event-daemon: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:13 +0000 (13:06 -0300)]
input-event-daemon: 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 agosnowball-hdmiservice: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:12 +0000 (13:06 -0300)]
snowball-hdmiservice: 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 agotvheadend: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:11 +0000 (13:06 -0300)]
tvheadend: 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 agovim: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:10 +0000 (13:06 -0300)]
vim: 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 agotekui: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:09 +0000 (13:06 -0300)]
tekui: 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 agolibpfm4: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:07 +0000 (13:06 -0300)]
libpfm4: 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 agolibpfm4: use $(MAKE) rather than make directly
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:06 +0000 (13:06 -0300)]
libpfm4: use $(MAKE) rather than make directly

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 agonanocom: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:04 +0000 (13:06 -0300)]
nanocom: 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 agomrouted: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:03 +0000 (13:06 -0300)]
mrouted: 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 agodvb-apps: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:02 +0000 (13:06 -0300)]
dvb-apps: 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 agomysql: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:01 +0000 (13:06 -0300)]
mysql: 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 agojimtcl: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:00 +0000 (13:06 -0300)]
jimtcl: 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 agoopenssl: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:05:59 +0000 (13:05 -0300)]
openssl: 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 agolz4: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:05:58 +0000 (13:05 -0300)]
lz4: 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 agoncurses: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:05:57 +0000 (13:05 -0300)]
ncurses: 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 agozip: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:05:56 +0000 (13:05 -0300)]
zip: 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 agozip: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:05:55 +0000 (13:05 -0300)]
zip: 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 agobotan: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:05:54 +0000 (13:05 -0300)]
botan: 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 agoed: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:05:53 +0000 (13:05 -0300)]
ed: 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 agolibrtas: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:05:52 +0000 (13:05 -0300)]
librtas: 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 agomoarvm: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:05:51 +0000 (13:05 -0300)]
moarvm: 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 agoocrad: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:05:50 +0000 (13:05 -0300)]
ocrad: 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 agopoco: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:05:49 +0000 (13:05 -0300)]
poco: 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 agopppd: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:05:48 +0000 (13:05 -0300)]
pppd: 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 agorsyslog: bump version to 8.22.0
Rahul Bedarkar [Fri, 21 Oct 2016 19:11:14 +0000 (00:41 +0530)]
rsyslog: bump version to 8.22.0

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibfastjson: bump version to 0.99.4
Rahul Bedarkar [Fri, 21 Oct 2016 19:11:13 +0000 (00:41 +0530)]
libfastjson: bump version to 0.99.4

Drop upstream patch and rename remaining one.

Also fixes:
  http://autobuild.buildroot.net/results/bfe/bfe8ebe3966324b16ca572bfba0a1a8ddc275db9

Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopppd: fix config file name
Rahul Bedarkar [Fri, 21 Oct 2016 17:45:56 +0000 (23:15 +0530)]
pppd: fix config file name

When radius plugin is enabled, we get following error:

/usr/bin/install: cannot stat '/home/rahul.bedarkar/buildroot/output/build/pppd-2.4.7/pppd/plugins/radius/etc/server': No such file or directory

Name of config file is 'servers' instead of 'server'.

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agonmap: bump version to 7.31
Vicente Olivert Riera [Fri, 21 Oct 2016 16:11:14 +0000 (17:11 +0100)]
nmap: bump version to 7.31

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agokexec: fix build for arm
Baruch Siach [Fri, 21 Oct 2016 06:54:48 +0000 (09:54 +0300)]
kexec: fix build for arm

Add a patch equivalent to upstream commit 1574ff1aae4 (arm: include
phys_to_virt.h and iomem.h in distribution).

Fixes:
http://autobuild.buildroot.net/results/bf9/bf939477cce6a5c333ee579006b9aa4856acd604/
http://autobuild.buildroot.net/results/8a7/8a7407afcf47326aadbce0b9157442dae9558ded/
http://autobuild.buildroot.net/results/ec2/ec26f1dd97f1e861e401d2709a243ae55bd6f022/

Cc: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopppd: better fix for the Linux 4.8 kernel headers issue
Stefan Nickl [Thu, 20 Oct 2016 21:12:37 +0000 (23:12 +0200)]
pppd: better fix for the Linux 4.8 kernel headers issue

Commit 035567b2793f3649e2ddc6cd34b75dd643f47d73 solved the build issue
of pppd with Linux 4.8 kernel headers, but in the process broke the
build with older kernel headers such as 3.10.

This commit takes a different approach, by moving the <netinet/in.h>
include above linux header includes.

Linux uapi headers try to avoid redeclaring things from libc via
linux/libc-compat.h. However that only works if the libc header is
included first.

Signed-off-by: Stefan Nickl <Stefan.Nickl@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/zynq_*: add BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
Thomas Petazzoni [Thu, 20 Oct 2016 21:30:14 +0000 (23:30 +0200)]
configs/zynq_*: add BR2_TARGET_UBOOT_NEEDS_OPENSSL=y

The U-Boot configuration for Zynq boards have CONFIG_FIT_SIGNATURE=y,
so they need OpenSSL to be available on the host system. In order to
add OpenSSL to the build this commit adds the
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y to the relevant defconfigs.

Fixes #9316.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouboot: add option to optionally depend on host-openssl
Thomas Petazzoni [Sun, 16 Oct 2016 07:42:22 +0000 (09:42 +0200)]
uboot: add option to optionally depend on host-openssl

Some U-Boot board configurations have CONFIG_FIT_SIGNATURE=y. In this
case, when U-Boot builds its tools, it requires OpenSSL support on the
host system.

Since we clearly don't want to unconditionally depend on host-openssl,
we introduce a new option to explicitly enable the dependency on
host-openssl. This is exactly identical to the existing
BR2_TARGET_UBOOT_NEEDS_DTC, for the dependency on host-dtc. It is
therefore the responsibility of the user to enable this option if his
board configuration uses CONFIG_FIT_SIGNATURE=y.

Necessary to fix bug #9316.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqemu: fix build of target variant
Thomas Petazzoni [Thu, 20 Oct 2016 21:26:21 +0000 (23:26 +0200)]
qemu: fix build of target variant

Similar to what was done in commit
524b6b85595274ca13bd7d01adb61ce2dddd786c for the host variant, this
commit fixes the build of qemu's host variant. Qemu expects that the
cpp it is passed behave like cc: it passes the -c option, which is not
allowed by cpp, but is allowed for cc.

Fix that by overriding CPP when calling configure.

Fixes:

  http://autobuild.buildroot.net/results/0850e80ba62294397b44d8adea197a244a9a8205/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/zbar: fix zbar build
Volkov Viacheslav [Thu, 20 Oct 2016 16:43:11 +0000 (19:43 +0300)]
package/zbar: fix zbar build

Fixes:
    http://autobuild.buildroot.net/results/913/913662f10330b79f7769d05493438676939d9c7e/

Signed-off-by: Viacheslav Volkov <sv99@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopppd: fix build with Linux 4.8 headers
Thomas Petazzoni [Thu, 20 Oct 2016 20:57:11 +0000 (22:57 +0200)]
pppd: fix build with Linux 4.8 headers

This commit fixes the build of pppd with toolchain using Linux 4.8
headers. The patch has been taken from a pull request pending on the
Github project, which is unfortunately somewhat dead.

The fix is not the most beautiful one, but it does the job, in a piece
of source code that's anyway rather messy in terms of mixing userspace
headers and kernel headers.

Fixes:

  http://autobuild.buildroot.net/results/bdc4f274e527c5aebf9bd1b2ca85ba8e7da57e9d/
  and numerous similar other build failures

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibglib2: fix static linking with libgio
Rahul Bedarkar [Tue, 18 Oct 2016 18:03:07 +0000 (23:33 +0530)]
libglib2: fix static linking with libgio

When statically linking with libgio, application needs to link with all
internal libraries that libgio uses. This commit adds patch which
includes libmount as Libs.private.

Fixes:
  http://autobuild.buildroot.net/results/fdf/fdf26abbed0014606a7788ce5d60828a0e871186
  http://autobuild.buildroot.net/results/1d6/1d69b8ea34cf57255be54de0c87fc83590fb1337

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/wireshark: properly guard sub-options
Yann E. MORIN [Thu, 20 Oct 2016 19:56:41 +0000 (21:56 +0200)]
package/wireshark: properly guard sub-options

... otherwise we would end up forcefully enabling the linguist tool even
when wireshark would not be enabled.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoutil-linux: select libsmartcols when partx is selected
Carlos Santos [Mon, 17 Oct 2016 11:33:41 +0000 (09:33 -0200)]
util-linux: select libsmartcols when partx is selected

Fixes
http://autobuild.buildroot.net/results/be2/be2e81b27a21355d7a453316d9df1cd4b0da2106/

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopkg-download: use raw basename for repo archiving to remove host- prefix
Thomas De Schampheleire [Mon, 17 Oct 2016 13:08:07 +0000 (15:08 +0200)]
pkg-download: use raw basename for repo archiving to remove host- prefix

For packages that use a version control repository rather than a pre-made
tarball, the directory prefix used inside the tarball is currently
FOO_BASE_NAME, which can be 'foo' or 'host-foo'.

This means that the hash of such tarball will be different for target and
host packages, even though the contents are exactly the same. Hence, if the
hash file is created based on 'foo', and later a fresh build is made where
'host-foo' happens to be built before 'foo' (with a different config, for
example), the hash will be detected as incorrect and a new download is
started.

This problem does not affect many packages/users, due to the number of
conditions to be met:
- the package should be available for target _and_ host
- the package needs to use a VCS download method, e.g. git, hg, svn, ...
  This does not include standard github downloads, which download a pre-made
  archive.
- there should be a hash file containing the hash of the downloaded archive.
  Since normally there is no hash file for packages with sources coming from
  a version control system, this restricts even further. Some examples of
  packages in this category that do have a hash file (but not necessarily
  match the earlier conditions): expedite, vexpress-firmware, squashfs, ...
- the archive needs to be stored in a 'primary site' after initial archiving
  and thus be downloaded later using a non-version-controlled method, like
  wget or scp. This is because the version control download methods do not
  receive a '-H' parameter pointing to the hash file and thus no hashes are
  checked at all even if the file is present.

While packages matching the third condition could be considered to be 'wrong'
and need to be fixed, it does actually makes sense to have a hash file for
packages from version control, in particular if they are stored in a
primary site as mentioned in the last condition.

Regardless of any different opinions on the previous paragraph, it is also
not conceptually correct that a tarball of a package source can contain a
Buildroot-specific directory prefix 'host-'.  Therefore, use
FOO_RAW_BASE_NAME instead of FOO_BASE_NAME when calling the dl-wrapper.

Example test scenario that exhibits the problem:
$ rm -rf /tmp/dl dl/squashfs-9c1db6d13a51a2e009f0027ef336ce03624eac0d.tar.gz
$ make qemu_x86_64_defconfig
$ make host-squashfs-dirclean host-squashfs-source
$ mkdir /tmp/dl
$ mv dl/squashfs-9c1db6d13a51a2e009f0027ef336ce03624eac0d.tar.gz /tmp/dl/
$ sed -i -e 's,BR2_PRIMARY_SITE=.*,BR2_PRIMARY_SITE="file:///tmp/dl",' \
         -e '/BR2_PRIMARY_SITE/aBR2_PRIMARY_SITE_ONLY=y'  .config
$ make host-squashfs-dirclean host-squashfs-source

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/wireshark: fix kconfig dependencies
Yann E. MORIN [Thu, 20 Oct 2016 16:28:25 +0000 (18:28 +0200)]
package/wireshark: fix kconfig dependencies

Commit fa6feff (wireshark: needs the qt5tools lrelease utility)
introduced a circular dependency chain in Kconfig:

    package/qt5/qt5base/Config.in:118:error: recursive dependency detected!
    package/qt5/qt5base/Config.in:118:      symbol BR2_PACKAGE_QT5BASE_GUI is selected by BR2_PACKAGE_QT5TOOLS_PIXELTOOL
    package/qt5/qt5tools/Config.in:19:      symbol BR2_PACKAGE_QT5TOOLS_PIXELTOOL depends on BR2_PACKAGE_QT5TOOLS
    package/qt5/qt5tools/Config.in:1:       symbol BR2_PACKAGE_QT5TOOLS is selected by BR2_PACKAGE_QT5BASE_WIDGETS
    package/qt5/qt5base/Config.in:131:      symbol BR2_PACKAGE_QT5BASE_WIDGETS is selected by BR2_PACKAGE_QT5X11EXTRAS
    package/qt5/qt5x11extras/Config.in:1:   symbol BR2_PACKAGE_QT5X11EXTRAS depends on BR2_PACKAGE_QT5BASE_XCB
    package/qt5/qt5base/Config.in:186:      symbol BR2_PACKAGE_QT5BASE_XCB depends on BR2_PACKAGE_QT5BASE_GUI

Fix that by dropping the select on the Qt5Tools, and introduce an
intermediate kconfig-level variable to represent the new condition, to
simplify the .mk file.

That would make the condition for enabling/disabling the GUI to be a
little bit more complex by adding yet another (long-ish) variable.

So we also introduce an intermediate kconfig-level variable that
represent the condition to enable the GUI.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Tested-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowireshark: don't overwrite WIRESHARK_CONF_ENV
Baruch Siach [Thu, 20 Oct 2016 17:48:22 +0000 (20:48 +0300)]
wireshark: don't overwrite WIRESHARK_CONF_ENV

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux: bump default to version 4.8.3
Gustavo Zacarias [Thu, 20 Oct 2016 16:33:20 +0000 (13:33 -0300)]
linux: bump default to version 4.8.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: bump 4.{4, 7, 8}.x series
Gustavo Zacarias [Thu, 20 Oct 2016 16:33:19 +0000 (13:33 -0300)]
linux-headers: bump 4.{4, 7, 8}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agohdparm: bump to version 9.50
Gustavo Zacarias [Thu, 20 Oct 2016 13:31:43 +0000 (10:31 -0300)]
hdparm: bump to version 9.50

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiw: bump to version 4.9
Gustavo Zacarias [Thu, 20 Oct 2016 10:43:13 +0000 (07:43 -0300)]
iw: bump to version 4.9

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibgpgme: bump to version 1.7.1
Gustavo Zacarias [Thu, 20 Oct 2016 10:42:53 +0000 (07:42 -0300)]
libgpgme: bump to version 1.7.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowebsite: add Free Electrons as a current sponsor
Thomas Petazzoni [Wed, 19 Oct 2016 20:28:54 +0000 (22:28 +0200)]
website: add Free Electrons as a current sponsor

Free Electrons sponsored the Buildroot Developers Meeting at ELCE 2016
in Berlin by making a donation to IN-Berlin, the organization who hosted
the 3-day event.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowebsite: update Free Electrons logo
Thomas Petazzoni [Wed, 19 Oct 2016 20:28:53 +0000 (22:28 +0200)]
website: update Free Electrons logo

This commit updates the Free Electrons logo of the Buildroot website to
the new logo of the company.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/vlc: use BR2_TOOLCHAIN_HAS_LIBATOMIC
Bernd Kuhls [Sun, 16 Oct 2016 21:01:27 +0000 (23:01 +0200)]
package/vlc: use BR2_TOOLCHAIN_HAS_LIBATOMIC

While fixing
http://autobuild.buildroot.net/results/d95/d9572bcafc1776eebe88bbcaf031a05cd6ee4b23/
by using http://patchwork.ozlabs.org/patch/674337/ the build stopped at
a later stage with

/home/buildroot/br4/output/build/vlc-2.2.4/src/.libs/libvlccore.so: undefined reference to `__atomic_fetch_add_4'
/home/buildroot/br4/output/build/vlc-2.2.4/src/.libs/libvlccore.so: undefined reference to `__atomic_fetch_sub_4'
/home/buildroot/br4/output/build/vlc-2.2.4/src/.libs/libvlccore.so: undefined reference to `__atomic_fetch_or_1'
/home/buildroot/br4/output/build/vlc-2.2.4/src/.libs/libvlccore.so: undefined reference to `__atomic_compare_exchange_4'
/home/buildroot/br4/output/build/vlc-2.2.4/src/.libs/libvlccore.so: undefined reference to `__atomic_exchange_1'
collect2: error: ld returned 1 exit status

so libatomic must be pulled in if necessary.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/vlc: backport upstream patches to fix compat function for static_assert
Bernd Kuhls [Sun, 16 Oct 2016 21:01:26 +0000 (23:01 +0200)]
package/vlc: backport upstream patches to fix compat function for static_assert

Fixes
http://autobuild.buildroot.net/results/3b9/3b9d15f226057706c185270788050dace7b7b535/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/vlc: renumber patch 0008 -> 0009
Bernd Kuhls [Sun, 16 Oct 2016 21:01:25 +0000 (23:01 +0200)]
package/vlc: renumber patch 0008 -> 0009

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocs/manual: fix scanpypi path typos
Danomi Manchego [Sun, 16 Oct 2016 17:15:05 +0000 (13:15 -0400)]
docs/manual: fix scanpypi path typos

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenswan: remove duplicate word toolchain from comment
Rahul Bedarkar [Mon, 17 Oct 2016 17:01:32 +0000 (22:31 +0530)]
openswan: remove duplicate word toolchain from comment

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoget-developers: use --cc instead of --to for developers
Rahul Bedarkar [Mon, 17 Oct 2016 17:01:31 +0000 (22:31 +0530)]
get-developers: use --cc instead of --to for developers

Output of get-developers script in our manual uses --cc for developers,
but actual output of get-developers script uses --to. This patch makes
code consistent with documentation, by using --cc for developers.

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomotion: fix postgresql support
Peter Seiderer [Mon, 17 Oct 2016 20:01:28 +0000 (22:01 +0200)]
motion: fix postgresql support

The commandline paramter to enable/disable postgresql support is
called '--with-pgsql/--without-pgsql' and not '--with-postgresql/
--without-postgresql'.

Fixes [1] in case postgresql development files are installed on the host:

  checking for PostgreSQL... testing
  checking autodect pgsql headers... yes /usr/include/postgresql
  checking autodect pgsql libs... /usr/lib64
  checking for PQconnectStart in -lpq... no
  configure: error: PostgreSQL support can't build without PostgreSQL libraries

[1] http://autobuild.buildroot.net/results/749/7497730da2affffe0e5b9b790081de10c269f416

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoDEVELOPERS: add entry for inadyn
Ryan Coe [Mon, 17 Oct 2016 20:14:31 +0000 (13:14 -0700)]
DEVELOPERS: add entry for inadyn

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoinadyn: bump to version 2.0
Ryan Coe [Mon, 17 Oct 2016 20:14:30 +0000 (13:14 -0700)]
inadyn: bump to version 2.0

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoMIPS: add support for M6201 cores
Vicente Olivert Riera [Tue, 18 Oct 2016 15:55:25 +0000 (16:55 +0100)]
MIPS: add support for M6201 cores

-march=m6201 is not yet supported in GCC upstream, so disabling all
versions when selecting this core.

Note that M6201 implies a MIPS R6 CPU, and some GCC versions are already
disabled for R6, so we don't need to disable those ones for M6201 as
well.

The external Codescape IMG GNU Linux Toolchain has support for this
core.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agousbredir: improve license description
Rahul Bedarkar [Wed, 19 Oct 2016 17:41:56 +0000 (23:11 +0530)]
usbredir: improve license description

For consistency use 'libraries' and 'program' as component names and
adjust license string for readability when we conditionally specify
license for server program.

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodtc: update legal info
Rahul Bedarkar [Wed, 19 Oct 2016 17:41:55 +0000 (23:11 +0530)]
dtc: update legal info

library libdtc is dual licensed under BSD-2c or GPLv2+ and dtc programs
are licensed under GPLv2+.

This patch annotates licenses with components and uses correct format to
specify dual licensing that is separating licenses with 'or' keyword
instead of '/'.

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agokmod: annotate licenses with components
Rahul Bedarkar [Wed, 19 Oct 2016 17:41:54 +0000 (23:11 +0530)]
kmod: annotate licenses with components

library libkmod.so is licensed under LGPLv2.1+ and kmod tools are
licensed under GPLv2+.

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocs/manual: document both user-facing br2-external variables
Yann E. MORIN [Wed, 19 Oct 2016 20:56:05 +0000 (22:56 +0200)]
docs/manual: document both user-facing br2-external variables

While BR2_EXTERNAL_<NAME>_PATH was already documented, it was not
made obvious that it could be reused in post-biuld, post-image and
in-fakeroot scripts.

The BR2_EXTERNAL_<NAME>_DESC variable was not documented at all.

Update the manual to fix this.

Note: a2x chokes on this:

    .Note:
    Both +BR2_EXTERNAL_$(NAME)_PATH+ and +BR2_EXTERNAL_$(NAME)_DESC+ are
      available [...]

and spits out a totally useless error message:

    a2x: ERROR: "xsltproc" --stringparam toc.section.depth 1 --stringparam
    callout.graphics 0 --stringparam navig.graphics 0 --stringparam
    admon.textlabel 1 --stringparam admon.graphic 0 --stringparam
    chunk.section.depth 0 --output "/home/ymorin/dev/buildroot/O/docs/manual/manual.html"
    "/etc/asciidoc/docbook-xsl/xhtml.xsl"
    "/home/ymorin/dev/buildroot/O/docs/manual/manual.xml" returned
    non-zero exit status 6

So, we had to resort to using different quoting styles for each
variables. They are not semantically equivalent, but the rendering
is the same with the default CSS (which we are using). That's gonna
be good-enough for now...

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore/br2-external: fix link to manual for converting old trees
Yann E. MORIN [Wed, 19 Oct 2016 19:58:30 +0000 (21:58 +0200)]
core/br2-external: fix link to manual for converting old trees

To be noted: that link will only be valid once we have a released
manual. In the meantime, it's accessible on the nightly manual:
    http://nightly.buildroot.org/#br2-external-converting

Reported-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore/br2-external: export paths and descriptions
Yann E. MORIN [Wed, 19 Oct 2016 19:53:02 +0000 (21:53 +0200)]
core/br2-external: export paths and descriptions

Now that we support multiple br2-external trees, BR2_EXTERNAL is no
longer exported in the environment.

This means that post-build scripts in a br2-external tree can no longer
find their own files (well, they could re-invent the path by stripping
their known-relative path, but that'd be ugly, especially since we can
very well provide it).

Export the path for each br2-external trees as environment variables.
Do so for the description as well, as a courtesy.

Also, re-order variable definitions to be more logical: first, purely
internal variables, then exported variables.

Reported-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocker-engine: add iptables runtime dependency
Christian Stewart [Wed, 19 Oct 2016 21:05:15 +0000 (17:05 -0400)]
docker-engine: add iptables runtime dependency

The Docker engine calls iptables internally:

https://github.com/docker/libnetwork/blob/2c921b/iptables/iptables.go#L400

Signed-off-by: Christian Stewart <christian@paral.in>
[Thomas: fix indentation.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore: re-enter make if $(CURDIR) or $(O) are not canonical paths
Samuel Martin [Mon, 17 Oct 2016 21:05:43 +0000 (23:05 +0200)]
core: re-enter make if $(CURDIR) or $(O) are not canonical paths

When $(CURDIR) and/or $(O) contain symlinks in their paths, they can be
resolved differently, depending on each package build-system (whether it
uses the given paths or get the absolute canonical ones).

Using absolute canonical paths will help achieving reproducible builds and
will make easier tracking down host machine paths leaking into the host,
target or staging trees.
So, this change ensures the build takes place with the CURDIR and O
variables are set to their absolute canonical paths.

In order to recall the toplevel makefile with absolute canonical paths
for $(CURDIR) and $(O), we need to:
1- Compute the absolute canonical paths for $(CURDIR) and $(O) that will
   be passed to the sub-make. This is achieved using the 'realpath' make
   primitive. However, some care must be taken when manipulating O:
   - the out-of-tree makefile wrapper happens a trailing "/.", we need
     to strip this part away to not break the comparison driving the
     sub-make call;
   - the user can leave a trailing '/' to $(O);
   - according to [1,2], realpath returns an empty string in case of
     non-existing entry. So, to avoid passing an empty O= variable to
     sub-make, it is necessary to define the output directory and create
     it prior to call realpath on it (because on the first invocation,
     $(O) usually does not yet exists), hence the trick doing the mkdir
     right before calling realpath.
2- Update EXTRAMAKEARGS with the absolute canonical $(O) and use it
   when call recalling the top-level makefile with umask and paths
   correctly set.
3- Lastly, update the condition for setting the CONFIG_DIR and
   NEED_WRAPPER variables.

Note:
* This change takes care of the makefile wrapper installed in $(O) to
  avoid unneeded make recursion.

[1] https://www.gnu.org/software/make/manual/html_node/File-Name-Functions.html
[2] http://man7.org/linux/man-pages/man3/realpath.3.html

Reported-by: Matthew Weber <matt@thewebers.ws>
Cc: Matthew Weber <matt@thewebers.ws>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore: reorder top-level Makefile and document things
Samuel Martin [Mon, 17 Oct 2016 21:05:42 +0000 (23:05 +0200)]
core: reorder top-level Makefile and document things

This change only moves things around and comments what is done in the
top-level Makefile file, in order to prepare the next changes.

Note that moving the definition of $(O) before or after re-entering make
does not change anything on the buildroot behavior.

This change also renames the variable UMASK to REQ_UMASK.

Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore: split variables definition related to in/out-of-tree build from O itself
Samuel Martin [Mon, 17 Oct 2016 21:05:41 +0000 (23:05 +0200)]
core: split variables definition related to in/out-of-tree build from O itself

This change uncorrolates the CONFIG_DIR and NEED_WRAPPER definition from
the presence of the O variable in the command line.

Now, the condition used to set these variables is the value of O itself.

This change is a preparatory work since the O definition will need to
be moved around when we will make Buildroot run with absolute canonical
paths for both its root directory and the output location.
This will be addressed in a follow-up patch.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowireshark: needs the qt5tools lrelease utility
Baruch Siach [Tue, 18 Oct 2016 11:26:32 +0000 (14:26 +0300)]
wireshark: needs the qt5tools lrelease utility

Fixes:
http://autobuild.buildroot.net/results/0a4/0a4ccf752ed1e81e2416d33a78984b47087f68bd/
http://autobuild.buildroot.net/results/196/196b96e28a2cd5983a58948df4a2c3eb3bccdfa4/
http://autobuild.buildroot.net/results/056/056b3299ce45552fe3e7cbf5aa68b223f8fa458e/

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowireshark: avoid host qtchooser
Baruch Siach [Tue, 18 Oct 2016 11:26:31 +0000 (14:26 +0300)]
wireshark: avoid host qtchooser

Some distros provide a 'qtchooser' utility to select Qt library
version. Make sure not to use that host provided utility.

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowireshark: use https for download and homepage link
Baruch Siach [Tue, 18 Oct 2016 11:26:30 +0000 (14:26 +0300)]
wireshark: use https for download and homepage link

Saves a redirect.

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosupport/misc/Vagrantfile: bump to ubuntu 16.04
Angelo Compagnucci [Mon, 17 Oct 2016 21:53:02 +0000 (23:53 +0200)]
support/misc/Vagrantfile: bump to ubuntu 16.04

* Updating to ubuntu 16.04
* Fixing dependencies
* Fixing locale complaints
* Removing unused packages

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoliburcu: needs MMU
Baruch Siach [Wed, 19 Oct 2016 09:35:02 +0000 (12:35 +0300)]
liburcu: needs MMU

The test_urcu_fork.c test calls fork(). Upstream provides no easy way to
disable tests build.

Fixes:
http://autobuild.buildroot.net/results/9eb/9eb182ab2d0b396eeff3d637a040da5a4d5bdcd7/
http://autobuild.buildroot.net/results/47a/47aabc219a2fd50105881b1e2715f7eeb1a6a588/
http://autobuild.buildroot.net/results/566/56631605f76b8623c9674f25c529ac67d0de12a8/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoliburcu: bump to version 0.9.2
Baruch Siach [Wed, 19 Oct 2016 09:00:33 +0000 (12:00 +0300)]
liburcu: bump to version 0.9.2

Drop aarch64 support patch; no longer needed.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimx-usb-loader: bump version
Gary Bisson [Wed, 19 Oct 2016 14:23:08 +0000 (16:23 +0200)]
imx-usb-loader: bump version

Main additions are:
- Support for i.MX6SX, i.MX6UL and i.MX7
- Support for secure booting on i.MX6/i.MX7
- Various bug fixes

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimx-uuc: switch to open source version
Gary Bisson [Wed, 19 Oct 2016 14:23:07 +0000 (16:23 +0200)]
imx-uuc: switch to open source version

The tool will be maintained as an open source project.
The repository can be found at:
https://github.com/NXPmicro/imx-uuc

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-freescale/commit/9b56bf13

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimx-kobs: switch to open source version
Gary Bisson [Wed, 19 Oct 2016 14:23:06 +0000 (16:23 +0200)]
imx-kobs: switch to open source version

The tools "kobs-ng" will be maintained as a open source project.
The repository location is https://github.com/NXPmicro/imx-kobs

This patch is based on the Yocto equivalent:
https://github.com/Freescale/meta-freescale/commit/c23736b3

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobeaglebone: defconfigs: u-boot needs dtc
Peter Korsgaard [Wed, 19 Oct 2016 15:52:57 +0000 (17:52 +0200)]
beaglebone: defconfigs: u-boot needs dtc

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

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoqt5webkit: do not overwrite target python
Johan Derycke [Wed, 19 Oct 2016 14:35:24 +0000 (16:35 +0200)]
qt5webkit: do not overwrite target python

This commit fixes an issue introduced in commit
ac16793eaaabfced0312420759e3a66cdaa1ea8e. This commit creates a link
$(@D)/bin/python pointing to the host Python 2, and adds $(@D)/bin/ to
the PATH. However, the QT5WEBKIT_INSTALL_TARGET_CMDS variable copies the
contents of $(@D)/bin/ to the target filesystem, in order to install
binaries produced by the qt5webkit build. By doing this, we overwrite
the 'python' symbolic link on the target.

In order to fix this, we simply create the 'python' symbolic link used
to trick qt5webkit to use python2 on the host in the $(@D)/host-bin/
sub-directory.

Signed-off-by: Johan Derycke <johan.derycke@barco.com>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: rework commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonginx: bump to version 1.10.2
Gustavo Zacarias [Wed, 19 Oct 2016 15:12:34 +0000 (12:12 -0300)]
nginx: bump to version 1.10.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 3.12.x series
Gustavo Zacarias [Wed, 19 Oct 2016 15:03:25 +0000 (12:03 -0300)]
linux-headers: bump 3.12.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogvfs: bump to version 1.30.1.1
Gustavo Zacarias [Wed, 19 Oct 2016 10:05:18 +0000 (07:05 -0300)]
gvfs: bump to version 1.30.1.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogo: bump to 1.7.2
Christian Stewart [Wed, 19 Oct 2016 04:50:38 +0000 (00:50 -0400)]
go: bump to 1.7.2

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobind: don't lookup zlib.h in host headers
Baruch Siach [Wed, 19 Oct 2016 08:24:12 +0000 (11:24 +0300)]
bind: don't lookup zlib.h in host headers

configure.in looks in host headers for zlib.h, unless given a headers
directory as --with-zlib parameter.

Note: a bug in the zlib.h header lookup logic causes configure.in to add
-l$(STAGING_DIR)/usr/include/include, and -L$(STAGING_DIR)/usr/include/lib.
But this does not affect us.

Fixes:
http://autobuild.buildroot.net/results/e96/e96a36c4da3c3be4b79a27af75a70bb8955c31a9/
http://autobuild.buildroot.net/results/e0b/e0bd7df5c19c7c65ce0009b7c2b4d4104a5c3109/
http://autobuild.buildroot.net/results/e99/e993940067f7ae841132765f91bfee7248ab125f/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agokexec: bump to 2.0.13
Marcin Nowakowski [Wed, 19 Oct 2016 07:45:54 +0000 (09:45 +0200)]
kexec: bump to 2.0.13

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/efl: bump to 1.18.2
Romain Naour [Tue, 18 Oct 2016 21:16:22 +0000 (23:16 +0200)]
package/efl: bump to 1.18.2

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodocker-engine: bump to v1.12.2
Christian Stewart [Wed, 19 Oct 2016 04:53:25 +0000 (00:53 -0400)]
docker-engine: bump to v1.12.2

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodocker-containerd: bump to v0.2.4
Christian Stewart [Wed, 19 Oct 2016 04:53:24 +0000 (00:53 -0400)]
docker-containerd: bump to v0.2.4

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agorunc: bump version to v1.0.0-rc2
Christian Stewart [Wed, 19 Oct 2016 04:53:23 +0000 (00:53 -0400)]
runc: bump version to v1.0.0-rc2

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotrinity: not available on musl
Rahul Bedarkar [Mon, 17 Oct 2016 16:16:56 +0000 (21:46 +0530)]
trinity: not available on musl

After fixing following build failures with musl:

* error: unknown type name __uint32_t and __uint64_t
* error: unknown type name pid_t and uid_t
* error: fatal error: bits/sockaddr.h: No such file or directory

it fails with

  fds/files.c: In function 'file_tree_callback':
  fds/files.c:172:10: error: 'FTW_CONTINUE' undeclared (first use in this function)
     return FTW_CONTINUE;
            ^
  fds/files.c:172:10: note: each undeclared identifier is reported only once for each function it appears in
  fds/files.c:178:10: error: 'FTW_SKIP_SUBTREE' undeclared (first use in this function)
     return FTW_SKIP_SUBTREE;
            ^
  fds/files.c:185:10: error: 'FTW_STOP' undeclared (first use in this function)
     return FTW_STOP;
            ^
  fds/files.c: In function 'open_fds_from_path':
  fds/files.c:197:26: error: 'FTW_ACTIONRETVAL' undeclared (first use in this function)
    int flags = FTW_DEPTH | FTW_ACTIONRETVAL | FTW_MOUNT;

As per ftw man-page, flag FTW_ACTIONRETVAL is specific to glibc. It is
not available on musl. Since package uses it unconditionally, we mark
it not available on musl.

Fixes:
  http://autobuild.buildroot.net/results/cb4/cb4a665746652679487dee2c2e4bca881be3724b/

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolirc-tools: bump to version 0.9.4b
Baruch Siach [Tue, 18 Oct 2016 20:06:52 +0000 (23:06 +0300)]
lirc-tools: bump to version 0.9.4b

Drop upstream patches. Renumber the rest.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolirc-tools: fix build with kernel headers v4.8+
Baruch Siach [Tue, 18 Oct 2016 19:35:25 +0000 (22:35 +0300)]
lirc-tools: fix build with kernel headers v4.8+

Backport upstream path that removes references to macros that are no longer
in the kernel lirc.h headers.

Fixes:
http://autobuild.buildroot.net/results/f01/f015d52faa214f7786dd3169628ce74b738a8b46/
http://autobuild.buildroot.net/results/55f/55f1ac19736499ef536561bd65c011d2649f43da/
http://autobuild.buildroot.net/results/c68/c689786b6b0867cea2e45df1c5556cccdd377b33/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoci20_defconfig: update kernel version to ToT
Vicente Olivert Riera [Tue, 18 Oct 2016 11:06:55 +0000 (12:06 +0100)]
ci20_defconfig: update kernel version to ToT

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: bump default to version 4.8.2
Gustavo Zacarias [Mon, 17 Oct 2016 10:04:13 +0000 (07:04 -0300)]
linux: bump default to version 4.8.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 4.{4, 7, 8}.x series
Gustavo Zacarias [Mon, 17 Oct 2016 10:04:12 +0000 (07:04 -0300)]
linux-headers: bump 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 agobeaglebone: defconfigs: select ext4 as rootfs
Lothar Felten [Tue, 18 Oct 2016 19:51:53 +0000 (21:51 +0200)]
beaglebone: defconfigs: select ext4 as rootfs

Select ext4 as root file system as the genimage config expects ext4 not ext2.
Tested on beaglebone, beagleboneblack and AM335x EVM

[Peter: reworded slightly]
Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowireshark: fix libgtk2 dependency typo
Peter Seiderer [Tue, 18 Oct 2016 18:05:39 +0000 (20:05 +0200)]
wireshark: fix libgtk2 dependency typo

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoqt5base: improve message if directfb is disabled
Matt Kraai [Tue, 18 Oct 2016 14:51:58 +0000 (07:51 -0700)]
qt5base: improve message if directfb is disabled

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomotion: fix sdl-config detection
Peter Seiderer [Mon, 17 Oct 2016 20:44:48 +0000 (22:44 +0200)]
motion: fix sdl-config detection

Overwrite ac_cv_path_CONFIG_SDL in case sdl development is
installed on the host.

Fixes [1]:

  ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/SDL'

[1] http://autobuild.buildroot.net/results/459/4592eb83efa393f77f5ee014f93a271f2313bee6

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibwebsockets: bump to version 2.1.0
Danomi Manchego [Tue, 18 Oct 2016 01:51:46 +0000 (21:51 -0400)]
libwebsockets: bump to version 2.1.0

Fixes:
    http://autobuild.buildroot.net/results/d88/d88889ba30444e73cfb12ae1357db25ff6a3a4fb/

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>