buildroot.git
7 years agolibsigrok: bump version to 0.5.0
Bartosz Golaszewski [Mon, 26 Jun 2017 13:21:42 +0000 (15:21 +0200)]
libsigrok: bump version to 0.5.0

The patch is now upstream and can be removed.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: skip ld-musl symlink on static build
Baruch Siach [Tue, 27 Jun 2017 17:57:15 +0000 (20:57 +0300)]
toolchain-external: skip ld-musl symlink on static build

Static build with external musl toolchain leaves a dangling symlink to
libc.so. Don't create that symlink on static build.

Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoolimex_a20: refactor with genimage.sh
Francois Perrad [Sat, 1 Jul 2017 19:37:04 +0000 (21:37 +0200)]
olimex_a20: refactor with genimage.sh

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoolimex_a20: refactor with U-Boot boot script
Francois Perrad [Sat, 1 Jul 2017 19:37:03 +0000 (21:37 +0200)]
olimex_a20: refactor with U-Boot boot script

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomanual: fix test-pkg missing.config file name
Peter Seiderer [Sat, 1 Jul 2017 21:36:35 +0000 (23:36 +0200)]
manual: fix test-pkg missing.config file name

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinuxptp: don't check host headers for target features
Baruch Siach [Sat, 1 Jul 2017 21:09:35 +0000 (00:09 +0300)]
linuxptp: don't check host headers for target features

The incdefs.sh script runs ${CROSS_COMPILE}cpp to get a list of default
headers directories. Make sure CROSS_COMPILE is set correctly to avoid check
of host headers.

Also, drop the CC command line override. Upstream makefile sets CC to
$(CROSS_COMPILE)gcc.

Should fix:
http://autobuild.buildroot.net/results/394/394414df25b0b7261b27ca5d4901fde0f639e73c/
http://autobuild.buildroot.net/results/6ad/6adbc8c77c2ca70246b31600ab66b37c56c1e89e/
http://autobuild.buildroot.net/results/70d/70dfd05acc9d951169267f2820ecedb37f0711fe/

Cc: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoutils/readme.txt: fix typos for size-stats-compare
Thomas De Schampheleire [Sat, 1 Jul 2017 18:00:27 +0000 (20:00 +0200)]
utils/readme.txt: fix typos for size-stats-compare

A few typos sneaked into the new utils readme...

Additionally, I formulated the list of use cases a bit differently.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years ago.gitlab-ci.yml: fix it again
Arnout Vandecappelle [Sat, 1 Jul 2017 18:22:27 +0000 (20:22 +0200)]
.gitlab-ci.yml: fix it again

It seems the ! is removed by the yaml parser, so it needs to be quoted.
While we're at it, add some explanatory comment.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/p7zip: bump version to 16.02
Bernd Kuhls [Tue, 27 Jun 2017 17:15:18 +0000 (19:15 +0200)]
package/p7zip: bump version to 16.02

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolttng-tools: update to 2.9.5
Waldemar Brodkorb [Wed, 28 Jun 2017 13:10:00 +0000 (15:10 +0200)]
lttng-tools: update to 2.9.5

Latest release fixed dlmopen detection, so that
musl/uClibc-ng toolchains can be used.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoupmpdcli: bump to version 1.2.15
Jörg Krause [Sat, 1 Jul 2017 17:36:44 +0000 (19:36 +0200)]
upmpdcli: bump to version 1.2.15

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibupnpp: bump to version 0.15.3
Jörg Krause [Sat, 1 Jul 2017 17:36:43 +0000 (19:36 +0200)]
libupnpp: bump to version 0.15.3

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoget-developers: fix handling of syntax error
Arnout Vandecappelle [Sat, 1 Jul 2017 17:29:50 +0000 (19:29 +0200)]
get-developers: fix handling of syntax error

When getdeveloperlib.parse_developers doesn't find anything, the script
tries sys.exit(1) but sys is not imported.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years ago.gitlab-ci.yml: simplify (and fix) check-DEVELOPERS
Arnout Vandecappelle [Sat, 1 Jul 2017 17:28:17 +0000 (19:28 +0200)]
.gitlab-ci.yml: simplify (and fix) check-DEVELOPERS

The check-DEVELOPERS test would always fail, because && will return
the exit code of the left-hand side if not 0, so it *always* returns
1.

But in fact, the test can be simplified quite a lot: we can run
getdeveloper directly, without arguments. That should just print
'No action specified', but it will also print any syntax errors it
encountered. So we can just 'grep -v' the expected output away; if
there is anything more, grep will return 0, but if there is nothing
more, it will return 1. So we just need to invert the result.

Incidentally, this also fixes the incorrect remaining reference to
support/scripts.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoscancpan: update old reference to support/scripts
Arnout Vandecappelle [Sat, 1 Jul 2017 16:40:41 +0000 (18:40 +0200)]
scancpan: update old reference to support/scripts

scancpan's help text refers to its location, so update it after the
move to utils/.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomanual: update old references to support/scripts
Arnout Vandecappelle [Sat, 1 Jul 2017 16:40:40 +0000 (18:40 +0200)]
manual: update old references to support/scripts

There were still some references to the old location of the scripts in
the manual. Replace them by utils/.

While we're at it, remove the redundant ./ at the beginning of some of
the example commands.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: fix after moving scripts to utils/ directory
Arnout Vandecappelle [Sat, 1 Jul 2017 16:40:39 +0000 (18:40 +0200)]
DEVELOPERS: fix after moving scripts to utils/ directory

There were still references to support/scripts/ for scripts that have
moved to the utils directory. There were also references that were
updated, but not re-updated when the tools moves to utils.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5multimedia: conditionally add alsa-lib to dependencies
Bartosz Golaszewski [Tue, 27 Jun 2017 07:53:09 +0000 (09:53 +0200)]
qt5multimedia: conditionally add alsa-lib to dependencies

Qt5Multimedia builds the alsa plugin if it detects libasound in the
system. Add alsa-lib to dependencies if BR2_PACKAGE_ALSA_LIB is
selected.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5multimedia: conditionally add pulseaudio & libglib2 to dependencies
Bartosz Golaszewski [Tue, 27 Jun 2017 07:53:08 +0000 (09:53 +0200)]
qt5multimedia: conditionally add pulseaudio & libglib2 to dependencies

Qt5Multimedia includes support for pulseaudio if it detects libpulse
and libpulse-mainloop-glib in the system at build-time. We need to
depend on pulseaudio and libglib2 if it is selected.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomtd: restore installation of libmtd to staging
Andrey Yurovsky [Wed, 28 Jun 2017 03:56:10 +0000 (20:56 -0700)]
mtd: restore installation of libmtd to staging

Commit 67117adc891e06154d23a01b8c8ee348c63e78eb backed out the
deployment of libmtd headers (libmtd.h, libubi.h, ubi-media.h) to
staging and these may be needed by packages that work directly with MTD,
for example swupdate. mtd also produces libmtd.a and libubi.a which are
needed by those packages.

Tested by configuring swupdate to use MTD and verifying that swupdate
now compiles and links.

Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com>
[Thomas: change to a post-install staging hook, and add comment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotools: rename to 'utils'
Thomas Petazzoni [Sat, 1 Jul 2017 16:07:00 +0000 (18:07 +0200)]
tools: rename to 'utils'

After some discussion, we found out that "tools" has the four first
letters identical to the "toolchain" subfolder, which makes it a bit
unpractical with tab-completion. So, this commit renames "tools" to
"utils", which is more tab-completion-friendly.

This has been discussed with Arnout and Yann.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotools: new tool to filter the output of make
Yann E. MORIN [Sat, 1 Jul 2017 14:31:07 +0000 (16:31 +0200)]
tools: new tool to filter the output of make

Add brmake, a small script that redirects the build output log to a
file, keeping just Buildroot's own messages, with the date+time added
at the start of the line.

We need to unbuffer the output of make so that, when the script is
interrupted (SIGINT, ^C), there is no lingering output not yet digested
by the logger loop.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotools: move scanpypi out of support/scripts/
Yann E. MORIN [Sat, 1 Jul 2017 14:31:06 +0000 (16:31 +0200)]
tools: move scanpypi out of support/scripts/

Move it to the top-level tools/ directory, so that it is easier to
find for users.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotools: move scancpan out of support/scripts/
Yann E. MORIN [Sat, 1 Jul 2017 14:31:05 +0000 (16:31 +0200)]
tools: move scancpan out of support/scripts/

Move it to the top-level tools/ directory, so that it is easier to
find for users.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: "François Perrad" <francois.perrad@gadz.org>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotools: move size-stat-compare out of support/scripts/
Yann E. MORIN [Sat, 1 Jul 2017 14:31:04 +0000 (16:31 +0200)]
tools: move size-stat-compare out of support/scripts/

Move it to the top-level tools/ directory, so that it is easier to
find for users.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotools: move check-package out of support/scripts/
Yann E. MORIN [Sat, 1 Jul 2017 14:31:03 +0000 (16:31 +0200)]
tools: move check-package out of support/scripts/

Move it to the top-level tools/ directory, so that it is easier to
find for users.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotools: move get-developers out of support/scripts/
Yann E. MORIN [Sat, 1 Jul 2017 14:31:02 +0000 (16:31 +0200)]
tools: move get-developers out of support/scripts/

Move it to the top-level tools/ directory, so that it is easier to
find for users.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotools: move test-pkg out of support/scripts
Yann E. MORIN [Sat, 1 Jul 2017 14:31:01 +0000 (16:31 +0200)]
tools: move test-pkg out of support/scripts

Move it to the top-level tools/ directory, so that it is easier to
find for users.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomosquitto: specify that hash is taken from upstream
Vicente Olivert Riera [Wed, 28 Jun 2017 10:55:53 +0000 (11:55 +0100)]
mosquitto: specify that hash is taken from upstream

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboard: add orangepi-plus support
Chakra Divi [Sat, 1 Jul 2017 01:17:20 +0000 (06:47 +0530)]
board: add orangepi-plus support

Signed-off-by: Chakra Divi <chakra@openedev.com>
[Thomas: remove host-uboot-tools from defconfig, already pulled by
BR2_TARGET_UBOOT_BOOT_SCRIPT, remove trailing whitespace.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/testing: large timeout for login prompt
Ricardo Martincoski [Thu, 29 Jun 2017 02:45:49 +0000 (23:45 -0300)]
support/testing: large timeout for login prompt

When running multiple instances of emulator in parallel, the login
prompt can take some time to appear.

Use a large timeout when waiting for the prompt to avoid random
failures.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/testing: run testcases in parallel
Ricardo Martincoski [Thu, 29 Jun 2017 02:45:48 +0000 (23:45 -0300)]
support/testing: run testcases in parallel

Let the user to pass -t to set the number of testcases to run
simultaneously.

When -j is not specified, calculate it to split the available cores
between the simultaneous testcases.

Example of auto calculated -j for cpu_count 8:
  -t -j  total
   1  9  9
   2  4  8
   3  3  9
   4  2  8
 >=5  1  t

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/testing: allow to set BR2_JLEVEL
Ricardo Martincoski [Thu, 29 Jun 2017 02:45:47 +0000 (23:45 -0300)]
support/testing: allow to set BR2_JLEVEL

Let the user to override the default BR2_JLEVEL used for each testcase.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/testing: fix code style in emulator
Ricardo Martincoski [Thu, 29 Jun 2017 02:45:46 +0000 (23:45 -0300)]
support/testing: fix code style in emulator

Remove unused import.
Use 2 empty lines before a class.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/testing: use pexpect.expect directly
Ricardo Martincoski [Thu, 29 Jun 2017 02:45:45 +0000 (23:45 -0300)]
support/testing: use pexpect.expect directly

When using pexpect there is no need for a helper function. Just use
expect() directly everywhere.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/testing: use pexpect.sendline directly
Ricardo Martincoski [Thu, 29 Jun 2017 02:45:44 +0000 (23:45 -0300)]
support/testing: use pexpect.sendline directly

When using pexpect there is no need for a helper function. Just use
sendline() directly everywhere.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/testing: let pexpect write stdout to log
Ricardo Martincoski [Thu, 29 Jun 2017 02:45:43 +0000 (23:45 -0300)]
support/testing: let pexpect write stdout to log

When the parameter logfile is passed to spawn(), pexpect sends both
stdin and stdout to the logfile and it creates a double echo effect.

One way to avoid the double echo in the logfile would be to disable the
echo on the terminal just after login ("stty -echo"), but double echo of
user and password would remain.

Instead of that, send only the stdout to the logfile using the
logfile_read property.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/testing: use qemu stdio in emulator
Ricardo Martincoski [Thu, 29 Jun 2017 02:45:42 +0000 (23:45 -0300)]
support/testing: use qemu stdio in emulator

Instead of redirecting qemu serial to telnet, redirect it to stdio.

It allows to run testcases in parallel without random failing caused by
two emulators trying to use the same telnet port (1234).

'qemu -serial stdio' returns some extra <CR> characters, so remove them
from the log.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/testing: use pexpect in emulator
Ricardo Martincoski [Thu, 29 Jun 2017 02:45:41 +0000 (23:45 -0300)]
support/testing: use pexpect in emulator

Replace subprocess + telnetlib with pexpect.

Use the telnet installed on the host machine instead of telnetlib, while
the serial from qemu is not yet redirected to stdio.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years ago.gitlab-ci.yml: add check-DEVELOPERS test
Arnout Vandecappelle [Fri, 30 Jun 2017 16:42:53 +0000 (18:42 +0200)]
.gitlab-ci.yml: add check-DEVELOPERS test

This verifies that the DEVELOPERS file doesn't contain errors. It
just runs parse_developers from getdeveloperlib and errors out if
that produces any output.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore: change the strip command from a choice to a boolean
Yann E. MORIN [Sat, 1 Jul 2017 12:51:21 +0000 (14:51 +0200)]
core: change the strip command from a choice to a boolean

Curently, we have a choice to select between stripping and not
stripping. This is legacy code from back when we had a third option,
sstrip (super-strip).

Since we removed sstrip, stripping or not stripping is now just a
boolean rather than a choice.

Make it so.

We make BR2_STRIP_strip default to 'y' to keep the current behaviour of
defaulting to stripping.

Move BR2_STIP_none to legacy, and instruct the user to review the new
setting.

Drop any reference to BR2_STRIP_none in comments.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore: simplify the condition to set the strip command
Yann E. MORIN [Sat, 1 Jul 2017 12:51:20 +0000 (14:51 +0200)]
core: simplify the condition to set the strip command

Since BR2_STRIP_strip and BR2_STRIP_noine are mutually exclusive (being
part of a choice), we can simplify the logic.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore: use positive logic for unstripped files/dirs
Yann E. MORIN [Sat, 1 Jul 2017 12:51:19 +0000 (14:51 +0200)]
core: use positive logic for unstripped files/dirs

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore: always pass full path to strip command
Yann E. MORIN [Sat, 1 Jul 2017 07:42:05 +0000 (09:42 +0200)]
core: always pass full path to strip command

In some cases, passing STRIP=true is not sufficient to disable striping
altogether, as some (incorrectly generated?) configure scripts will
ignore a ${STRIP} that is not a full path.

This is the case, for example, for nmap, which ends up using the host
strip command when we pass STRIP=true:

    checking for arm-buildroot-linux-gnueabihf-strip... no
    checking for strip... /usr/bin/strip
    configure: WARNING: using cross tools not prefixed with host triplet
    [--SNIP--]
    /usr/bin/install -c -c -m 755 nping /home/ymorin/dev/buildroot/O/target/usr/bin/nping
    /usr/bin/strip -x /home/ymorin/dev/buildroot/O/target/usr/bin/nping
    /usr/bin/strip: Unable to recognise the format of the input file `/home/ymorin/dev/buildroot/O/target/usr/bin/nping'

We fix that by forcing a full path to the strip sommand when it is
disabled: STRIP=/bin/true

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.{4, 9, 11}.x series
Fabio Estevam [Thu, 29 Jun 2017 12:38:06 +0000 (09:38 -0300)]
linux-headers: bump 4.{4, 9, 11}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: bump default version to 4.11.8
Fabio Estevam [Thu, 29 Jun 2017 12:38:05 +0000 (09:38 -0300)]
linux: bump default version to 4.11.8

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotrace-cmd: fix build with musl
Baruch Siach [Thu, 29 Jun 2017 12:08:08 +0000 (15:08 +0300)]
trace-cmd: fix build with musl

Add a patch adding missing header.

Fixes:
http://autobuild.buildroot.net/results/21f/21f6037df667918be5e4c8a91f01ddf1552915d3/
http://autobuild.buildroot.net/results/303/30369e328189cfc5d0e281a479dea48e6dcf9903/
http://autobuild.buildroot.net/results/7eb/7eb976b9ada0c364d2c834c91b7a09e6cfc54153/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agorauc: new package
Andrey Yurovsky [Thu, 29 Jun 2017 19:08:11 +0000 (12:08 -0700)]
rauc: new package

RAUC is the Robust Auto-Update Controller developed by the folks at
Pengutronix. It supports updating embedded systems from the network
(ex: HawkBit) or from a disk and provides a d-bus interface.

Signed-off-by: Andrey Yurovsky <yurovsky@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>
7 years agodocs: known issues no longer valid
Waldemar Brodkorb [Thu, 29 Jun 2017 20:47:30 +0000 (22:47 +0200)]
docs: known issues no longer valid

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pyparted: bump to version 3.11.0
Yegor Yefremov [Fri, 30 Jun 2017 12:45:24 +0000 (14:45 +0200)]
python-pyparted: bump to version 3.11.0

Remove erroneously added CFFI dependency.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoparted: bump to version 3.2
Yegor Yefremov [Fri, 30 Jun 2017 12:45:23 +0000 (14:45 +0200)]
parted: bump to version 3.2

Remove upstreamed readline related patch.

Add a patch, that enables parted to be compiled without lvm2.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotrinity: fix MIPS support
Marcin Nowakowski [Fri, 30 Jun 2017 06:11:59 +0000 (08:11 +0200)]
trinity: fix MIPS support

Add an upstream patch that fixes segfaults when executed on MIPS due to
incorrect handling of system call numbers on MIPS platforms.

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodropwatch: fix static link
Baruch Siach [Fri, 30 Jun 2017 04:48:34 +0000 (07:48 +0300)]
dropwatch: fix static link

Use LDLIBS for the list of libraries, since LDFLAGS appear before the source
files in the link command, and the upstream LDLIBS lacks -lncurses which is a
dependency of readline. We already pass target LDFLAGS in
TARGET_CONFIGURE_OPTS, so drop that part.

Fixes:
http://autobuild.buildroot.net/results/ce4/ce436bdd7e7950c801edac01f311b89110d87d62/
http://autobuild.buildroot.net/results/691/691d61d13849150c3616b1c74c964f50118ff1d9/
http://autobuild.buildroot.net/results/291/2918c75e473c5a2434e72f2e409becc5b4d07908/

Cc: Tzu-Jung Lee <roylee17@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/xen: bump to version 4.9.0
Alistair Francis [Thu, 29 Jun 2017 23:32:47 +0000 (16:32 -0700)]
package/xen: bump to version 4.9.0

Upgrade the Xen package to Xen 4.9.0. This also means we can remove
almost all of the patches we were previously carrying.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/xen: Fix builds with GCC 7
Alistair Francis [Thu, 29 Jun 2017 22:09:22 +0000 (15:09 -0700)]
package/xen: Fix builds with GCC 7

Fix a "duplicate 'const' declaration specifier" error that occurs when
building Xen. As the issue has already been fixed in upstream Xen let's
just backport the fix to apply here.

Fixes:
    http://autobuild.buildroot.net/results/3a0/3a03c328bc6a6c30cc4f619925608d735632211f/

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs: drop "mmc" in engicam_imx6ul_isiot_mmc_defconfig name
Jagan Teki [Fri, 30 Jun 2017 14:32:54 +0000 (20:02 +0530)]
configs: drop "mmc" in engicam_imx6ul_isiot_mmc_defconfig name

_mmc on defconfig files in engicam need to drop and same follow on
other engicam defconfig files.

So, this patch rename engicam_imx6ul_isiot_mmc_defconfig to
engicam_imx6ul_isiot_defconfig which is missing in commit "board: Add
support for Engicam Is.IoT MX6UL SOM" (sha1:
0235bc61766bd0d4fecfbd686cd807992ba5f37d)

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/fmt: bump version to 4.0.0
Bernd Kuhls [Fri, 30 Jun 2017 17:27:14 +0000 (19:27 +0200)]
package/fmt: bump version to 4.0.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/lugaru: backport upstream fix
Romain Naour [Fri, 30 Jun 2017 21:57:07 +0000 (23:57 +0200)]
package/lugaru: backport upstream fix

Fixes:
http://autobuild.buildroot.net/results/389/38917f8420695a9dbb24830fef04159252fceea0

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoMakefile: don't run "menuconfig" automatically
Arnout Vandecappelle [Sat, 1 Jul 2017 08:24:46 +0000 (10:24 +0200)]
Makefile: don't run "menuconfig" automatically

Since forever, we run 'menuconfig' automatically on an unconfigured
tree. However, this does not help users that much:
- If they read the documentation, they should already know to run
  make menuconfig first.
- If they haven't read the documentation, dropping them in menuconfig
  isn't very helpful.
- It's a likely that the user didn't intend to be in an unconfigured
  tree (e.g. wrong O= specified), so starting menuconfig (and polluting
  this wrong O= directory) is not very helpful.
- It's possible that the user really doesn't want menuconfig, but
  instead needs xconfig, or some defconfig, or ...

So, instead of trying to guess what the user needs, print an error and
let the user decide what to do next.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.1.x series
Bernd Kuhls [Sat, 1 Jul 2017 08:14:14 +0000 (10:14 +0200)]
linux-headers: bump 4.1.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoirrlicht: fix patches to have DOS line endings
Thomas Petazzoni [Sat, 1 Jul 2017 08:21:53 +0000 (10:21 +0200)]
irrlicht: fix patches to have DOS line endings

Fixes:

  http://autobuild.buildroot.net/results/6260307da8acd45eb7611b08e2527a20ee5b357e/

Thanks to Romain Naour for providing the proper patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/{mesa3d, mesa3d-headers}: bump version to 17.1.4
Bernd Kuhls [Sat, 1 Jul 2017 08:09:33 +0000 (10:09 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 17.1.4

Removed patch 0001, applied upstream:
https://cgit.freedesktop.org/mesa/mesa/commit/?h=17.1&id=0069a613ac3b6ca75315cbb2fd3d86b0f6c9ede4

Renumbered remaining patches.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/tor: security bump to version 0.3.0.9
Bernd Kuhls [Sat, 1 Jul 2017 07:48:24 +0000 (09:48 +0200)]
package/tor: security bump to version 0.3.0.9

Release notes:
https://blog.torproject.org/blog/tor-0309-released-security-update-clients

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoMakefile: unconfigured "make toolchain" should run report error
Arnout Vandecappelle [Fri, 30 Jun 2017 17:00:33 +0000 (19:00 +0200)]
Makefile: unconfigured "make toolchain" should run report error

As reported by Alessandro Power on StackOverflow [1], the behaviour
of "make toolchain" in an unconfigured tree is misleading.

When .config doesn't exist, we don't read in the package .mk files, so
"make <package>" doesn't work:

    $ make busybox
    make: *** No rule to make target 'busybox'.  Stop.

However, for "linux" and "toolchain", the corresponding file (or
actually directory) already exists. So instead, we get:

    $ make linux
    make: Nothing to be done for 'linux'.

This is confusing, because it looks as if the build succeeded.

The obvious solution is to make linux and toolchain PHONY targets when
.config doesn't exist. However, that actually does the reverse, because
then a rule _does_ exist for them and since they don't have
dependencies, make will consider them to be ready.

Therefore, we also have to provide an explicit rule for them, and
explicitly error out. Thise behaviour is still different from other
packages, but at least it is much less confusing.

[1] https://stackoverflow.com/questions/44521150

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibgcrypt: security bump to version 1.7.8
Baruch Siach [Fri, 30 Jun 2017 15:04:54 +0000 (18:04 +0300)]
libgcrypt: security bump to version 1.7.8

>From the NEWS file:

- Mitigate a flush+reload side-channel attack on RSA secret keys
  dubbed "Sliding right into disaster".  For details see
  <https://eprint.iacr.org/2017/627>.  [CVE-2017-7526]

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agonodm: uClibc wordexp support is enabled by default
Waldemar Brodkorb [Tue, 27 Jun 2017 19:07:43 +0000 (21:07 +0200)]
nodm: uClibc wordexp support is enabled by default

Build tested with Qemu X86 sample.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosquid: uClibc workaround no longer required
Waldemar Brodkorb [Tue, 27 Jun 2017 19:06:30 +0000 (21:06 +0200)]
squid: uClibc workaround no longer required

As all librt and libpthread functions are integrated into
libc for a while, workaround no longer required.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboot/syslinux: drop patch 0008, not needed after gnu-efi update
Benoît Allard [Fri, 30 Jun 2017 10:58:36 +0000 (12:58 +0200)]
boot/syslinux: drop patch 0008, not needed after gnu-efi update

Thanks to the bump of gnu-efi from 3.0.5 to 3.0.6, patch 0008 in the
syslinux package is no longer needed. More specifically, it's commit
bf07e8141777e5a2d67ec8447084215224bdad4b in upstream gnu-efi that
fixed the underlying issue.

Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
[Thomas: add better commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/gnu-efi: bump version to 3.0.6
Benoît Allard [Fri, 30 Jun 2017 10:58:35 +0000 (12:58 +0200)]
package/gnu-efi: bump version to 3.0.6

Refreshed patch 0001-Allow-CFLAGS-CPPFLAGS-to-be-completed-from-the-envir.patch.
Dropped patch 0002-Fix-parallel-make-failure-for-archives.patch applied upstream.

Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibva-intel-driver: bump version to 1.8.3
Bernd Kuhls [Wed, 28 Jun 2017 04:32:39 +0000 (06:32 +0200)]
libva-intel-driver: bump version to 1.8.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/libva: bump version to 1.8.3
Bernd Kuhls [Wed, 28 Jun 2017 04:32:38 +0000 (06:32 +0200)]
package/libva: bump version to 1.8.3

Configure option dummy-driver was removed:
https://github.com/01org/libva/commit/8cd60bb59ffac21560d1c424d456cc25e917371f

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoglibc: add upstream security patches fixing CVE-2017-1000366 (stack clash)
Peter Korsgaard [Tue, 27 Jun 2017 06:42:09 +0000 (08:42 +0200)]
glibc: add upstream security patches fixing CVE-2017-1000366 (stack clash)

glibc contains a vulnerability that allows specially crafted LD_LIBRARY_PATH
values to manipulate the heap/stack, causing them to alias, potentially
resulting in arbitrary code execution.  Please note that additional
hardening changes have been made to glibc to prevent manipulation of stack
and heap memory but these issues are not directly exploitable, as such they
have not been given a CVE.

https://www.qualys.com/2017/06/19/stack-clash/stack-clash.txt

Patches are identical to upstream, except that the ChangeLog modifications
have been stripped.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/dovecot-pigeonhole: bump version to 0.4.19
Bernd Kuhls [Tue, 27 Jun 2017 04:38:09 +0000 (06:38 +0200)]
package/dovecot-pigeonhole: bump version to 0.4.19

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/dovecot: bump version to 2.2.31
Bernd Kuhls [Tue, 27 Jun 2017 04:38:08 +0000 (06:38 +0200)]
package/dovecot: bump version to 2.2.31

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agompd: bump to version 0.20.9
Jörg Krause [Tue, 27 Jun 2017 09:37:30 +0000 (11:37 +0200)]
mpd: bump to version 0.20.9

Building version 0.20.7 fails with a GCC 4.9 toolchain:

```
src/Main.cxx:125:23: error: call to non-constexpr function 'const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = long unsigned int]'
          64 * KILOBYTE);
                       ^
make[3]: *** [src/Main.o] Error 1
```

The issue was reported upstream [1] and already fixed in version 0.20.8.

Fixes:
http://autobuild.buildroot.net/results/fb6/fb67f453683078023e9d801176ef6871bc720c67/
http://autobuild.buildroot.net/results/200/2005f2a7f2857e59ad1a896db0421bb0328b1766/
http://autobuild.buildroot.net/results/804/80410b62d4ca292df8ecbaf7b0e2a020767111b6/

[1] https://github.com/MusicPlayerDaemon/MPD/issues/45

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoutil-linux: fix compilation when libc lacks wide-character support
Carlos Santos [Tue, 27 Jun 2017 17:03:03 +0000 (14:03 -0300)]
util-linux: fix compilation when libc lacks wide-character support

A recent change in util-linux left calls to wcstok and wcspbrk not
guarded by "#ifdef HAVE_WIDECHAR". This causes build failures when
libc does not have the wide-character functions, like some uClibc
builds.

Solve the problem by means of a patch already sent upstream.

Fixes:
  http://autobuild.buildroot.net/results/fd8a1a8e0cef3aeed9588540e8e663664f6b43aa
  http://autobuild.buildroot.net/results/5ad73ea8b471321988c50d80a5e50d4504151dd6
  http://autobuild.buildroot.net/results/04411b7280dc51ecd51236967981a42352bbeb3e

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agomosquitto: add upstream security fix
Peter Korsgaard [Wed, 28 Jun 2017 10:44:20 +0000 (12:44 +0200)]
mosquitto: add upstream security fix

Fixes CVE-2017-9868: In Mosquitto through 1.4.12, mosquitto.db (aka the
persistence file) is world readable, which allows local users to obtain
sensitive MQTT topic information.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosystemd: add security fix
Baruch Siach [Wed, 28 Jun 2017 18:44:31 +0000 (21:44 +0300)]
systemd: add security fix

Add a fix for CVE-2017-9445: In systemd through 233, certain sizes passed to
dns_packet_new in systemd-resolved can cause it to allocate a buffer that's
too small.  A malicious DNS server can exploit this via a response with a
specially crafted TCP payload to trick systemd-resolved into allocating a
buffer that's too small, and subsequently write arbitrary data beyond the
end of it.

The other patch fixes an issue with the security fix.

[Peter: use CVE description from MITRE]
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/rtl8821au: fix license file name
Yann E. MORIN [Wed, 28 Jun 2017 15:17:56 +0000 (17:17 +0200)]
package/rtl8821au: fix license file name

Fixes #9976.

Reported-by: Nick Wright <nwright98@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux-headers: bump 4.4.x series
Fabio Estevam [Mon, 26 Jun 2017 19:35:57 +0000 (16:35 -0300)]
linux-headers: bump 4.4.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agouboot-tools: drop unreferenced empty variable
Baruch Siach [Sun, 25 Jun 2017 13:04:15 +0000 (16:04 +0300)]
uboot-tools: drop unreferenced empty variable

Commit log 0e0ea8cf5e2c57 (uboot-tools: install libubootenv to staging)
mentions that installation is done in <pkg>_INSTALL_STAGING_CMDS directly, but
forgot to remove the now empty UBOOT_TOOLS_INSTALL_LIBUBOOTENV.

Cc: Jörg Krause <joerg.krause@embedded.rocks>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/dhcp: dhcp server: select systemd tmpfile support when systemd is used
Romain Naour [Fri, 26 May 2017 22:13:48 +0000 (00:13 +0200)]
package/dhcp: dhcp server: select systemd tmpfile support when systemd is used

tmpfile support is optional in systemd but the dhcp server install it's
config file in $(TARGET_DIR)/usr/lib/tmpfiles.d directory when systemd
is used as init system.

So it seems that dhcp server require tmpfile support for systemd based
system.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/x11r7/xlib_libxshmfence: needs sync_4
Bernd Kuhls [Sun, 21 May 2017 11:30:56 +0000 (13:30 +0200)]
package/x11r7/xlib_libxshmfence: needs sync_4

Also propagate reverse dependency to mesa3d and xserver_xorg-server.

Fixes xserver_xorg-server build
http://autobuild.buildroot.net/results/7da/7da8b46cda8786422e8293f26b79582b35a433d6/

For patch discussion refer to http://patchwork.ozlabs.org/patch/674595/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: only select BR2_PACKAGE_XPROTO_PRESENTPROTO if
BR2_TOOLCHAIN_HAS_SYNC_4 is available, add comment explaining why.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 3.10.x and 4.{9, 11}.x series
Fabio Estevam [Sat, 24 Jun 2017 19:39:52 +0000 (16:39 -0300)]
linux-headers: bump 3.10.x and 4.{9, 11}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: bump default version to 4.11.7
Fabio Estevam [Sat, 24 Jun 2017 19:39:51 +0000 (16:39 -0300)]
linux: bump default version to 4.11.7

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore: add "cmake3" to the list of cmake candidates
Carlos Santos [Sun, 7 May 2017 04:32:21 +0000 (01:32 -0300)]
core: add "cmake3" to the list of cmake candidates

This is useful on CentOS 7, whose "cmake" utility corresponds to version
2.8.12, which is too old for Buildroot.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore: allow having a list of "cmake" candidates
Carlos Santos [Sun, 7 May 2017 04:32:20 +0000 (01:32 -0300)]
core: allow having a list of "cmake" candidates

Add the BR2_CMAKE_CANDIDATES variable, containing a list of candidates
to check and use as BR2_CMAKE, if possible.

This allows using "cmake3" on CentOS 7, whose default cmake corresponds
to version 2.8.12. Example:

    $ make BR2_CMAKE_CANDIDATES="cmake cmake3"

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore: allow check-host-cmake.sh to try several candidates
Carlos Santos [Sun, 7 May 2017 04:32:19 +0000 (01:32 -0300)]
core: allow check-host-cmake.sh to try several candidates

This is useful on CentOS 7 whose "cmake" package provides cmake 2.8.12,
which is too old, but the "cmake3" package (from EPEL) provides version
3.6.3, which is satisfactory. Examples:

    $ sh support/dependencies/check-host-cmake.sh 2.8 cmake cmake3
    /usr/bin/cmake

    $ sh support/dependencies/check-host-cmake.sh 3.1 cmake cmake3
    /usr/bin/cmake3

    $ sh support/dependencies/check-host-cmake.sh 3.8 cmake cmake3
    (nothing)

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocore: reverse the argument order in check-host-cmake
Carlos Santos [Sun, 7 May 2017 04:32:18 +0000 (01:32 -0300)]
core: reverse the argument order in check-host-cmake

Pass the minimal version before the program name. In a later change the
script will become able to test a list of candidates.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosupport/scripts: allow /etc/shadow to be symlinked
Jens Maus [Mon, 12 Jun 2017 13:35:54 +0000 (15:35 +0200)]
support/scripts: allow /etc/shadow to be symlinked

This commit fixes a problem where it was not possible to replace
/etc/shadow with a symlink to a e.g. a user partition where the
shadow file is placed. This is required, e.g. for systems where the
rootfs is mounted read-only but users should still be able to be
added. Thus, if within an filesystem overlay setup a user tries
to replace /etc/shadow with a symlink to the real file on a user
partition a buildroot build stops with an error message because
sed is called on the symlink instead of following the symlink.
This commit fixes this shortcoming.

Signed-off-by: Jens Maus <mail@jens-maus.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: add Waldemar as a developer for the glibc package
Thomas Petazzoni [Sat, 24 Jun 2017 15:44:04 +0000 (17:44 +0200)]
DEVELOPERS: add Waldemar as a developer for the glibc package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoDEVELOPERS: fix alphabetic ordering for Waldemar entries
Thomas Petazzoni [Sat, 24 Jun 2017 15:43:47 +0000 (17:43 +0200)]
DEVELOPERS: fix alphabetic ordering for Waldemar entries

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoglibc: remove version choice
Waldemar Brodkorb [Sat, 10 Jun 2017 20:53:37 +0000 (22:53 +0200)]
glibc: remove version choice

We do not support uClibc-ng/musl C library version choice support,
do the same for GNU C Library.
No legacy handling required as only version choice is removed.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: move 3.2 kernel headers dependency to the libc choice in
toolchain/toolchain-buildroot/Config.in file, and added a Config.in
comment about it.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/irrlicht: new package
Romain Naour [Mon, 12 Jun 2017 20:53:58 +0000 (22:53 +0200)]
package/irrlicht: new package

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: adjust LICENSE variable.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/beecrypt: remove c++ support
Bernd Kuhls [Sun, 11 Jun 2017 12:48:51 +0000 (14:48 +0200)]
package/beecrypt: remove c++ support

Optional C++ support depends on icu, the icu version bump to 59.1
brought ABI-breaking changes
http://site.icu-project.org/download/59#TOC-char16_t-in-C-

which are incompatible with beecrypt. Since beecrypt did not get any
updates upstream since 2009 and no package uses beecrypt's C++ support
we disable this broken option.

With C++ support removed patches 0002 & 0004 are not needed anymore.

Fixes
http://autobuild.buildroot.net/results/a1a/a1ad507371192ddecacab0df91f7b2a84c7c288d/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboard: Add support for Engicam Is.IoT MX6UL SOM
Jagan Teki [Fri, 23 Jun 2017 12:26:09 +0000 (17:56 +0530)]
board: Add support for Engicam Is.IoT MX6UL SOM

Add initial support for Engicam Is.IoT MX6UL SOM board
with below features:
- U-Boot 2017.07-rc1
- Linux 4.11.5
- Default packages from buildroot

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
[Thomas: add host-dosfstools/host-mtools.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboard: Add support for Engicam GEAM6UL SOM
Jagan Teki [Fri, 23 Jun 2017 12:26:08 +0000 (17:56 +0530)]
board: Add support for Engicam GEAM6UL SOM

Add initial support for Engicam GEAM6UL SOM board
with below features:
- U-Boot 2017.07-rc1
- Linux 4.11.5
- Default packages from buildroot

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
[Thomas: add host-dosfstools and host-mtools.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboard: engicam: Add icorem6 for i.CoreM6 support
Jagan Teki [Fri, 23 Jun 2017 12:26:07 +0000 (17:56 +0530)]
board: engicam: Add icorem6 for i.CoreM6 support

Create board/engicam/icorem6 for i.CoreM6 supported files.
and update the readme.txt so-that it can list i.CoreM6 board
details.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboard: Add support for Engicam i.CoreM6 RQS SOM
Jagan Teki [Fri, 23 Jun 2017 12:26:06 +0000 (17:56 +0530)]
board: Add support for Engicam i.CoreM6 RQS SOM

Add initial support for Engicam i.CoreM6 Quad/Dual/DualLite/Solo RQS
board with below features:
- U-Boot 2017.07-rc1
- Linux 4.11.5
- Default packages from buildroot

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
[Thomas: add missing host-dosfstools and host-mtools.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/engicam_imx6qdl_icore_defconfig: add missing tools
Thomas Petazzoni [Sat, 24 Jun 2017 12:24:53 +0000 (14:24 +0200)]
configs/engicam_imx6qdl_icore_defconfig: add missing tools

A VFAT filesystem is described in the genimage configuration file, so
we need host-dosfstools and host-mtools enabled in the defconfig.

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