buildroot.git
6 years agoKick-off 2018.05 cycle
Thomas Petazzoni [Mon, 5 Feb 2018 16:49:16 +0000 (17:49 +0100)]
Kick-off 2018.05 cycle

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoCHANGES: add 2018.02-rc1 release date
Peter Korsgaard [Mon, 5 Feb 2018 16:24:45 +0000 (17:24 +0100)]
CHANGES: add 2018.02-rc1 release date

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website/news.html: update for 2018.02-rc1
Peter Korsgaard [Mon, 5 Feb 2018 16:21:04 +0000 (17:21 +0100)]
docs/website/news.html: update for 2018.02-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2018.02-rc1
Peter Korsgaard [Mon, 5 Feb 2018 15:34:00 +0000 (16:34 +0100)]
Update for 2018.02-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/testing: add tests for Rust
Eric Le Bihan [Sun, 4 Feb 2018 18:07:49 +0000 (19:07 +0100)]
support/testing: add tests for Rust

To test the support for the Rust language, the following tests are added:

- building Rust compiler and Cargo from source.
- installing a pre-built Rust compiler and building Cargo from source.

For each test, a Rust test program is built and installed in the root file
system of a ARM vexpress QEMU system. The test is declared OK if the program can
be run properly from the test system.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/manual: document cargo-based packages
Eric Le Bihan [Sun, 4 Feb 2018 18:07:48 +0000 (19:07 +0100)]
docs/manual: document cargo-based packages

Add instructions for adding a package which uses Cargo as build system.

[Peter: fix indentation]
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocargo: new package
Eric Le Bihan [Sun, 4 Feb 2018 18:07:47 +0000 (19:07 +0100)]
cargo: new package

This new package provides Cargo, the Rust official package manager.
Cargo is written in Rust and uses Cargo as its build system. It also
depends on other Rust packages.

Normally, a previously installed version of Cargo would be used to:

 1. Fetch the dependencies.
 2. Build the new version of Cargo, using the available Rust compiler.

But the fetching step prevents offline builds. So instead two features
of Cargo are leveraged: vendoring [1] and local registry.

First, a tarball of the build dependencies generated using `cargo
vendor` is fetched along with Cargo source code.

Then, the build process is as follows:

 1. The tarball of the build dependencies is uncompressed in a local
    registry.
 2. A snapshot of Cargo, provided by cargo-bin, builds the final
    version of Cargo.
 3. A configuration file telling Cargo how to cross-compile programs for
    the target is generated and installed.

Currently, only the host variant is provided.

[1] https://github.com/alexcrichton/cargo-vendor

[Peter: use src.fedoraproject.org, fix comment]
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibcurl: add host variant
Eric Le Bihan [Sun, 4 Feb 2018 18:07:46 +0000 (19:07 +0100)]
libcurl: add host variant

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibhttpparser: add host variant
Eric Le Bihan [Sun, 4 Feb 2018 18:07:45 +0000 (19:07 +0100)]
libhttpparser: add host variant

Allow build of host variant of libhttpparser.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibssh2: add host variant
Eric Le Bihan [Sun, 4 Feb 2018 18:07:44 +0000 (19:07 +0100)]
libssh2: add host variant

Allow build of host variant of libssh2, which depends on host-openssl.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agorust: new package
Eric Le Bihan [Sun, 4 Feb 2018 18:07:43 +0000 (19:07 +0100)]
rust: new package

This new package provides rustc, the compiler for the Rust programming
language, built from source.

Currently, only the host variant is built.

The Rust compiler uses LLVM as its backend: a copy of LLVM source code
is provided and CMake is used to build it. It is possible to use a
pre-built external copy. When LLVM/clang will be available in Buildroot,
it would be possible to benefit from this feature and thus decrease
build time.

LLVM is configured to generate code for x86, ARM, PowerPC and MIPS
architectures.

The Rust compiler uses Cargo as its build system and is written in Rust.
Therefore this package depends on cargo-bin and rust-bin.

The internal build process is as follows:

 1. stage0 compiler, provided by rust-bin, is used to build stage1
    compiler.
 2. stage1 compiler builds the final Rust compiler (stage2 compiler)
    and the standard library for the host architecture.
 3. the standard library for the target architecture is built.

The target architecture to support is given by the GNU/LLVM target
triple. Rust supports some predefined targets [1]. As the build system
expects the triple to be in the form of <arch>-unknown-<system> and
Buildroot toolchain wrapper uses <arch>-buildroot-<system>, the package
Makefile uses $(RUST_TARGET_NAME) defined in the rustc package and uses
it instead of $(GNU_TARGET_NAME).

When compiling Rust code with this compiler, the generated program only
depends on the target C library, as it is statically linked to the Rust
standard library and any other code from Rust packages (a.k.a.
"crates").

If the jemalloc package is selected, support for this memory allocator
will be enabled in the target standard library.

The menuconfig entry for rustc is also updated to expose this provider.

[1] https://forge.rust-lang.org/platform-support.html

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocargo-bin: new package
Eric Le Bihan [Sun, 4 Feb 2018 18:07:42 +0000 (19:07 +0100)]
cargo-bin: new package

This new package fetches a binary version of Cargo, suitable to
bootstrap the host variants of the Rust compiler and Cargo, the package
manager.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agorust-bin: new package
Eric Le Bihan [Sun, 4 Feb 2018 18:07:41 +0000 (19:07 +0100)]
rust-bin: new package

This package provides a pre-built version of rustc, the compiler for the
Rust programming language, fetched from the upstream project.

A pre-built version of the standard library for the host as well as one
for the chosen target are also fetched and installed.

Only the host variant is provided to allow the user to cross-compile
Rust programs and run them on the target.

This package could also be used to provide a bootstrap compiler when building
Rust from source. So, in order to add it as a build dependency, the compiler and
standard libraries are only installed in $(HOST_DIR) if the package is
explicitly selected.

The menuconfig entry for rustc is also updated to expose this provider.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agorustc: new virtual package
Eric Le Bihan [Sun, 4 Feb 2018 18:07:40 +0000 (19:07 +0100)]
rustc: new virtual package

The compiler for the Rust programming language is called rustc.

There is only one reference implementation for it, based on LLVM, from
the Rust project [1]. It can generate code for various architectures so
it can be labeled as a cross-compiler. But, as for GCC, building it
from source takes time.

So it would be sensible to have at least one package which provides it
as a pre-built version, fetched from the upstream project. Later another
package can be added, to build it from source code.

In addition to the compiler, the standard library for the host and/or
the target should also be fetched/built.

So, add a virtual package named rustc to enable support for multiple
providers.

Currently, only the host variant will be available to allow the user to
cross-compile Rust programs for the target.

[1] http://rust-lang.org

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/libsamplerate: add optional dependency to alsa-lib
Bernd Kuhls [Sun, 4 Feb 2018 12:05:27 +0000 (13:05 +0100)]
package/libsamplerate: add optional dependency to alsa-lib

Configure summary without this patch and without alsa-lib built before:

  Extra tools required for testing and examples :
[...]
    Have ALSA : ................... no

and with this patch

  Extra tools required for testing and examples :
[...]
    Have ALSA : ................... yes

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/mx53loco: Bump U-Boot and kernel versions
Fabio Estevam [Mon, 5 Feb 2018 12:03:55 +0000 (10:03 -0200)]
configs/mx53loco: Bump U-Boot and kernel versions

Bump U-Boot to 2018.01 version and kernel to 4.15.1.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agogcc: or1k: use 20170218 tag instead of branch
Peter Korsgaard [Sat, 3 Feb 2018 20:18:21 +0000 (21:18 +0100)]
gcc: or1k: use 20170218 tag instead of branch

As pointed out by Joel Stanley:
https://patchwork.ozlabs.org/patch/863011/

Github now longer provides the exact same tarball for the or1k musl-5.4.0
tarball, breaking the build.  Even more, musl-5.4.0 is the name of a git
branch, not a tag.

Fix both problems by changing to the or1k-musl-5.4.0-20170218 tag, which
points to the exact same git commit.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Tested-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoRevert "python3: bump to 2.6.4"
Thomas Petazzoni [Mon, 5 Feb 2018 06:08:42 +0000 (07:08 +0100)]
Revert "python3: bump to 2.6.4"

This reverts commit 233202597d9411399aeaded2f9a7cd14f2e29833, which
causes a lot of build failures. Part of the Python build process tries
to use os.replace(), which is only available since Python 3.3. It
should work if the host-python being built was used, but unfortunately
the system Python ends up being used, causing the build failure.

Fixes:

  http://autobuild.buildroot.net/results/ed95a7ded6bd6c17bd0820b3a96862487b71eb2b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/bootstrap: fix licence file path
Romain Naour [Sun, 4 Feb 2018 23:16:00 +0000 (00:16 +0100)]
package/bootstrap: fix licence file path

The licence file is in css/ directory.

Fixes:
http://autobuild.buildroot.net/results/0d4/0d4b9488d1aa80e8d290e4dfe1937c3879eceea4

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoCHANGES: update with recent changes
Peter Korsgaard [Sun, 4 Feb 2018 23:48:54 +0000 (00:48 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/libcodec2: fix upstream source URL
Bernd Kuhls [Sat, 3 Feb 2018 22:41:27 +0000 (23:41 +0100)]
package/libcodec2: fix upstream source URL

Upstream changed to URL of the source tarball and removed SHA1SUMS.
Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gpsd: add config option for Spectratime iSync and build fix patch
Zoltan Gyarmati [Sat, 3 Feb 2018 21:40:53 +0000 (22:40 +0100)]
package/gpsd: add config option for Spectratime iSync and build fix patch

As in the inital 3.17 version bump patch the iSync config option was not
added, the iSync driver was implicitly enabled in the gpsd config as default,
and due to a bug in the gpsd build setup, this caused several autobuild issues
which are fixed by this. This commit adds both the Buildroot config option and
the gpsd patch which was also sent to and accepted in upstream.

Fixes:
    http://autobuild.buildroot.net/results/555b4bdd1707aa21e6d3014e30b635c96c5efffc
    http://autobuild.buildroot.net/results/cfc14a2c471c63ecc4c95c12b8e00ed7656acfd2
    http://autobuild.buildroot.net/results/2104e15526bd6f467f0d56dee10b5fa46e2c71dd
    http://autobuild.buildroot.net/results/610b3f898b396c1def682b809482408c2c4555bc
    ... and many more.

Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/toradex_apalis_imx6: bump U-Boot and kernel to the official image version 2.7
Scott Fan [Sun, 4 Feb 2018 11:16:39 +0000 (19:16 +0800)]
configs/toradex_apalis_imx6: bump U-Boot and kernel to the official image version 2.7

According to the following guide:
https://developer.toradex.com/knowledge-base/build-u-boot-and-linux-kernel-from-source-code#iMX_6_Based_Modules_ApalisColibri_iMX6

The official final 2.7 version released at 2018-01-04, see the following link:
https://developer.toradex.com/software/linux/linux-software/release-details

Signed-off-by: Scott Fan <fancp2007@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/dockker: create and push tagged images
Yann E. MORIN [Sun, 4 Feb 2018 14:44:26 +0000 (15:44 +0100)]
support/dockker: create and push tagged images

Currently, we refer to the latest version of the image, which means we
can't guarantee any reproducibility. Also, it measn we can't have a
separate images for the maintenance branches (especially the LTS) and
master.

Update the comment in the Dockerfile to create and push tagged images.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/docker: use a fixed Debian snapshot
Yann E. MORIN [Sun, 4 Feb 2018 14:44:25 +0000 (15:44 +0100)]
support/docker: use a fixed Debian snapshot

Since we're now using a specific base image tag, we need to also use a
specific, stable repository to get additional packages from for this
image.

As such, use the Debian snapshot that matches the base image.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/docker: use a known base distribution
Yann E. MORIN [Sun, 4 Feb 2018 14:44:24 +0000 (15:44 +0100)]
support/docker: use a known base distribution

Currently, we are using debian:stable, which is subject to change with
time, as new stable versions of Debian are released/updated.

Use the latest tagged stable release, stretch-20171210 as of today, as
the base distribution to use.

This will ease reproducible builds in the future.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/docker: don't be silent when setting up
Yann E. MORIN [Sun, 4 Feb 2018 14:44:23 +0000 (15:44 +0100)]
support/docker: don't be silent when setting up

This image is not built very often, and when it is, it is important to
see what's going on, so don't be silent when installing packages from
the distro, and since that can take a bit of time it thus serves as
progress report...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/docker: limit the number of layers
Yann E. MORIN [Sun, 4 Feb 2018 14:44:22 +0000 (15:44 +0100)]
support/docker: limit the number of layers

The official documentation [0] suggests limiting the number of layers
generated from a dockerfile. A layer is created for each RUN (and COPY
and ADD) command. But we are only ever interested in the final image,
so the intermediate layers are useless to us.

Limit the number of RUN commands to limit the number of generated
layers.

[0] https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#minimize-the-number-of-layers

Reported-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoxcb-util-wm: add license file
Danomi Manchego [Sun, 4 Feb 2018 18:46:35 +0000 (13:46 -0500)]
xcb-util-wm: add license file

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoxcb-util-image: add license file
Danomi Manchego [Sun, 4 Feb 2018 18:46:34 +0000 (13:46 -0500)]
xcb-util-image: add license file

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-remi: fix trailing whitespace and line size
Gwenhael Goavec-Merou [Sun, 4 Feb 2018 18:46:13 +0000 (19:46 +0100)]
python-remi: fix trailing whitespace and line size

Fixes line size in Config.in, trailing whitespace after # and empty line

Fixes:
 - https://gitlab.com/buildroot.org/buildroot/-/jobs/50971692

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosafeclib: fix trailing whitespace
Fabrice Fontaine [Sun, 4 Feb 2018 16:36:50 +0000 (17:36 +0100)]
safeclib: fix trailing whitespace

Fixes trailing whitespace after MIT

Fixes:
 - https://gitlab.com/buildroot.org/buildroot/-/jobs/50971692

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agontp: explicitly enable openssl-random when crypto is enabled
Adam Duskett [Wed, 8 Nov 2017 13:18:39 +0000 (08:18 -0500)]
ntp: explicitly enable openssl-random when crypto is enabled

If OpenSSL is selected, --enable-openssl-random should be explicitly
enabled for consistency with the disable case.

[Peter: tweak commit text]
Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodash: enable line editting if libedit is selected
Carlos Santos [Thu, 28 Sep 2017 18:07:56 +0000 (15:07 -0300)]
dash: enable line editting if libedit is selected

Otherwise, explicitly disable it, so that the configure script does not
misdetect a system-installed libedit for example.

Also, add a profile snippet enabling line editing, Emacs style.

[Peter: move DASH_INSTALL_PROFILE inside conditional,
ensure /etc/profile.d exists]
Change-Id: I68c6dbbafa95e266860329cb9c7ff5519fda5bf8
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agogconf: add dependency on toolchain w/ dynamic lib
Joseph Kogut [Mon, 22 Jan 2018 06:11:21 +0000 (22:11 -0800)]
gconf: add dependency on toolchain w/ dynamic lib

GConf fails to build when BR2_STATIC_LIBS=y.

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

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-remi: new package
Gwenhael Goavec-Merou [Fri, 2 Feb 2018 21:42:05 +0000 (22:42 +0100)]
python-remi: new package

Remi is a GUI library for Python applications which transpiles an
application's interface into HTML to be rendered in a web browser.
This removes platform-specific dependencies and lets you easily
develop cross-platform applications in Python!

https://github.com/dddomodossola/remi/tree/master

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agogdk-pixbuf: unbreak gdk-pixbuf loaders.cache
Pierre CROKAERT [Sat, 20 Jan 2018 10:46:19 +0000 (11:46 +0100)]
gdk-pixbuf: unbreak gdk-pixbuf loaders.cache

Fix gdk-pixbuf broken by host package moved to /lib instead of /usr/lib
Regression occured following commit 19ba17ee3ba946ac86 (Globally replace
$(HOST_DIR)/usr/lib with $(HOST_DIR)/lib).

The host package loader.cache now refer to $(HOST_DIR)/lib, and the target
one should refer to /usr/lib.

Fix it by adjusting the sed invocation.

[Peter: extend commit message]
Signed-off-by: Pierre CROKAERT <pct@crookies.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: drop old unsupported 3.x versions
Peter Korsgaard [Mon, 29 Jan 2018 21:48:25 +0000 (22:48 +0100)]
linux-headers: drop old unsupported 3.x versions

These versions are very old and no longer supported according to
https://www.kernel.org/category/releases.html, so drop them and add legacy
entries.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agonetwork-manager: Add option for OpenVSwitch support
Petr Vorel [Thu, 1 Feb 2018 23:45:16 +0000 (00:45 +0100)]
network-manager: Add option for OpenVSwitch support

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agonetwork-manager: Bump to version 1.10.2
Petr Vorel [Thu, 1 Feb 2018 23:45:15 +0000 (00:45 +0100)]
network-manager: Bump to version 1.10.2

handle new dependency to Jansson (since 1.10.0).

[Peter: unconditionally disable ovs support as suggested by Thomas]
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodhcp: disable isc assertions (reproducible builds)
Peter Seiderer [Fri, 27 Oct 2017 19:24:24 +0000 (21:24 +0200)]
dhcp: disable isc assertions (reproducible builds)

The isc assertions from the bundled bind dns library are
using the __FILE__ macro for debug messages (see
dhcp-4.3.5/bind/bind-9.9.9-P3/lib/isc/include/isc/assertions.h).

Disabling the assertions gains:

- reproducible builds (no build time paths in the executable)
- space saving on the target:
  dhcpd: 1.9M -> 1.6M
  dhcrelay: 1.6M -> 1.3M

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosafeclib: new package
Fabrice Fontaine [Tue, 19 Dec 2017 19:12:04 +0000 (20:12 +0100)]
safeclib: new package

safec fork with all C11 Annex K functions

This library implements the secure C11 Annex K functions on
top of most libc implementations, which are missing from them.

https://rurban.github.io/safeclib/

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoliburiparser: bump to version 0.8.4
Carlos Santos [Fri, 2 Feb 2018 12:16:30 +0000 (10:16 -0200)]
liburiparser: bump to version 0.8.4

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoustr: bump debian patch to 1.0.4-6
Andrey Yurovsky [Wed, 31 Jan 2018 19:32:08 +0000 (11:32 -0800)]
ustr: bump debian patch to 1.0.4-6

Version 1.0.4-5 is no longer available, replace with 1.0.4-6 so ustr can
continue to be built.

[Peter: use snapshot.debian.org as suggested by Baruch]
Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodrbd-utils: bump version to 9.2.0
Christophe Vu-Brugier [Thu, 1 Feb 2018 09:37:04 +0000 (10:37 +0100)]
drbd-utils: bump version to 9.2.0

Also update the download URL.

This patch fixes many autobuild failures because drbd-utils packages
older than 8.9.9 are no longer provided by linbit.com.

Fixes:
http://autobuild.buildroot.net/results/a6d61c7ca8e505509d84869f072d812da79e949a
http://autobuild.buildroot.net/results/53ea7cfc57d912377b566474b15a47ffc077b047
http://autobuild.buildroot.net/results/3a6d7a384e6558156695b6ac46754976f4db7652
http://autobuild.buildroot.net/results/0576b80240ba439f7c2842a58e8bd418199e6100
http://autobuild.buildroot.net/results/3f9db30f18b58a6258acb5dfb9301936e5e05bf6

Signed-off-by: Christophe Vu-Brugier <cvubrugier@fastmail.fm>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/wf111: do a direct download
Yann E. MORIN [Sat, 3 Feb 2018 17:05:59 +0000 (18:05 +0100)]
package/wf111: do a direct download

We can now do a download without prior registration, so we can drop the
requirement for a local, pre-downloaded tarball, now.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Julien CORJON <corjon.j@ecagroup.com>
Cc: Antoine Ténart <antoine.tenart@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/wf111: fix armv5 URL
Yann E. MORIN [Sat, 3 Feb 2018 17:05:58 +0000 (18:05 +0100)]
package/wf111: fix armv5 URL

Commit b857c7481 (package/wf111: bump to version 5.2.2-r3) forgot to
completely update the archive name for the armv5te variant.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Julien CORJON <corjon.j@ecagroup.com>
Cc: Antoine Ténart <antoine.tenart@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoaxfsutils: bump version
Chris Brandt [Fri, 2 Feb 2018 22:24:00 +0000 (17:24 -0500)]
axfsutils: bump version

This updated version fixes memory violations, memory leaks, compiler
warnings and includes updated documentation on usage.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowireguard: bump to version 0.0.20180202
Peter Korsgaard [Fri, 2 Feb 2018 23:38:07 +0000 (00:38 +0100)]
wireguard: bump to version 0.0.20180202

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/bash: remove dead comment
Yann E. MORIN [Sat, 3 Feb 2018 15:09:24 +0000 (16:09 +0100)]
package/bash: remove dead comment

Commit 02e5cef1 (system: add option to choose what /bin/sh points to)
removed the symlink creation, but forgot to remove the corresponding
comment, which is now more puzzling than amusing...

Remove the comment.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{4, 9, 14, 15}.x series
Fabio Estevam [Sat, 3 Feb 2018 18:14:52 +0000 (16:14 -0200)]
linux-headers: bump 4.{4, 9, 14, 15}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: bump default to version 4.15.1
Fabio Estevam [Sat, 3 Feb 2018 18:14:51 +0000 (16:14 -0200)]
linux: bump default to version 4.15.1

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/raspberrypi*: bump kernel version
Mario Lang [Sat, 3 Feb 2018 17:21:29 +0000 (18:21 +0100)]
configs/raspberrypi*: bump kernel version

Now based on 4.9.79 (from 4.9.66).

Signed-off-by: Mario Lang <mlang@blind.guru>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython3: bump to 2.6.4
Adam Duskett [Tue, 30 Jan 2018 23:52:29 +0000 (18:52 -0500)]
python3: bump to 2.6.4

Also update necessary patches.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoqemu_x86: use kernel 4.15
Adam Duskett [Tue, 30 Jan 2018 23:50:54 +0000 (18:50 -0500)]
qemu_x86: use kernel 4.15

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoqemu_x86_64: use kernel 4.15
Adam Duskett [Tue, 30 Jan 2018 23:47:34 +0000 (18:47 -0500)]
qemu_x86_64: use kernel 4.15

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotzdata: bump to 2018c
Adam Duskett [Tue, 30 Jan 2018 23:45:16 +0000 (18:45 -0500)]
tzdata: bump to 2018c

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosystemd: update to v237
Adam Duskett [Tue, 30 Jan 2018 23:44:28 +0000 (18:44 -0500)]
systemd: update to v237

Also refresh patches and remove 0004-add-false-option-for-tests.patch as it has
been added upstream.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/snps_arc*_defconfig: update linux version
Evgeniy Didin [Fri, 2 Feb 2018 15:55:06 +0000 (18:55 +0300)]
configs/snps_arc*_defconfig: update linux version

With this commit we update Linux kernel version to 4.15 and
Linux headers version to 4.15.
Also patches for arc vdk are removed because these
changes were applied in Linux 4.15.

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agophp: bump version to 7.2.2
Adam Duskett [Fri, 2 Feb 2018 12:50:39 +0000 (07:50 -0500)]
php: bump version to 7.2.2

Additional changes:
  - Fix ordering of patches.
  - Update patches to apply cleanly against 7.2.2
  - Updates License sha256sum

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoaudit: bump to 2.8.2
Adam Duskett [Thu, 1 Feb 2018 14:32:48 +0000 (09:32 -0500)]
audit: bump to 2.8.2

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoMakefile, manual, website: Bump copyright year
Peter Korsgaard [Thu, 1 Feb 2018 15:48:31 +0000 (16:48 +0100)]
Makefile, manual, website: Bump copyright year

Happy 2018!

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoautofs: update to 5.1.4
Waldemar Brodkorb [Wed, 31 Jan 2018 19:25:22 +0000 (20:25 +0100)]
autofs: update to 5.1.4

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.14.x series
Fabio Estevam [Wed, 31 Jan 2018 20:56:16 +0000 (18:56 -0200)]
linux-headers: bump 4.14.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website: update for 2017.02.10
Peter Korsgaard [Wed, 31 Jan 2018 20:16:58 +0000 (21:16 +0100)]
docs/website: update for 2017.02.10

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2017.02.10
Peter Korsgaard [Wed, 31 Jan 2018 19:19:39 +0000 (20:19 +0100)]
Update for 2017.02.10

[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 91850b34977440182e56c9eeb6d57ce34e5c8adc)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodnsmasq: update homepage link
Baruch Siach [Wed, 31 Jan 2018 14:56:28 +0000 (16:56 +0200)]
dnsmasq: update homepage link

The doc.html seems like a better choice for a homepage link than the
list of files in the containing directory listing.

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{4, 9}.x series
Fabio Estevam [Wed, 31 Jan 2018 13:15:15 +0000 (11:15 -0200)]
linux-headers: bump 4.{4, 9}.x series

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibva: remove consecutive empty lines
Thomas Petazzoni [Tue, 30 Jan 2018 22:23:09 +0000 (23:23 +0100)]
libva: remove consecutive empty lines

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/50140040

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoDEVELOPERS: add myself for samba4
Bernd Kuhls [Sun, 28 Jan 2018 12:53:34 +0000 (13:53 +0100)]
DEVELOPERS: add myself for samba4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/samba4: Fix uClibc build on 64bit platforms by including stdint.h
Bernd Kuhls [Sun, 28 Jan 2018 12:53:33 +0000 (13:53 +0100)]
package/samba4: Fix uClibc build on 64bit platforms by including stdint.h

Fixes
http://autobuild.buildroot.net/results/fdd/fdd9bb5bea4488fc9e16746222051156224317a6/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoangularjs: bump version to 1.6.7
Adam Duskett [Wed, 24 Jan 2018 22:03:57 +0000 (17:03 -0500)]
angularjs: bump version to 1.6.7

Also add a hash for the license file.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agobootstrap: bump version to 4.0.0
Adam Duskett [Wed, 24 Jan 2018 22:03:56 +0000 (17:03 -0500)]
bootstrap: bump version to 4.0.0

other changes:
  - Add a license file to bootstrap.mk
  - Add a hash for the license file to bootstrap.hash
  - Remove copying bootstrap-theme.min.css as it's no longer included.
  - Remove copying fonts folder as it's no longer included.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage: linuxptp: bump to the latest GIT version
Petr Kulhavy [Sun, 28 Jan 2018 16:00:19 +0000 (17:00 +0100)]
package: linuxptp: bump to the latest GIT version

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoaoetools: fix aoe-stat script that was using /bin/bash in its shebang
Sergio Prado [Fri, 26 Jan 2018 12:44:02 +0000 (10:44 -0200)]
aoetools: fix aoe-stat script that was using /bin/bash in its shebang

This will make the script more portable, making it possible to run on
systems that do not have bash.

The script was tested with ash from BusyBox and checked for portability
issues and bashisms with shellcheck and checkbashisms tools.

The patch was already applied upstream [1] and should be removed in the
next version bump.

[1] https://github.com/OpenAoE/aoetools/commit/4ef42740538cefd3c1554aa4df5bcb1388ac927b

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoeudev: fix printf usage in init script
Carlos Santos [Tue, 30 Jan 2018 04:07:19 +0000 (02:07 -0200)]
eudev: fix printf usage in init script

Using a variable in a printf format string may lead to undesirable
results if the variable contains format controls, so replace

    printf "foo $var bar"

by

    printf "foo %s bar" "$var"

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoeudev: fix error handling init script
Carlos Santos [Tue, 30 Jan 2018 04:07:18 +0000 (02:07 -0200)]
eudev: fix error handling init script

Replace (echo "msg" && exit 1) by { echo "msg"; exit 1; }.

The (list) compound command runs in a subshell, so the "exit" interrupts
the subshell, not the main script. Examples:

    $ sh -c "echo 1; (exit 1); echo 2"
    1
    2
    $ sh -c "echo 1; { exit 1; }; echo 2"
    1
    $

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agophp: bump to 7.2.1
Adam Duskett [Mon, 29 Jan 2018 16:53:26 +0000 (11:53 -0500)]
php: bump to 7.2.1

Also update 0003-configure-disable-the-phar-tool.patch as configure.in is no
longer provided in the tarballs. Instead, configure.ac is patched.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoltp-testsuite: Add upstream patch to fix build numa detection
Petr Vorel [Tue, 30 Jan 2018 21:23:49 +0000 (22:23 +0100)]
ltp-testsuite: Add upstream patch to fix build numa detection

This removes fix added in commit 3c937807a3 ("ltp-testsuite: disable numa tests")

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agomacchiatobin: bump kernel and u-boot versions
Sergey Matyukevich [Tue, 30 Jan 2018 21:13:07 +0000 (00:13 +0300)]
macchiatobin: bump kernel and u-boot versions

Bump Linux to 4.15 and U-Boot to 2018.01. Remove networking dts patches
since they has landed in Linux 4.15. Update readme.txt: fix mainline BSP
versions and update boot selection for board rev 1.3.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/connman: fix compilation error for kernels >= 4.15
Martin Bark [Tue, 30 Jan 2018 21:06:09 +0000 (21:06 +0000)]
package/connman: fix compilation error for kernels >= 4.15

Include the upstream fix 0001-tethering-Reorder-header-includes.patch

Fixes
http://autobuild.buildroot.net/results/90005b436e25495a1113966112785278dfc0420a
http://autobuild.buildroot.net/results/ab713048093746576734e90290b8777222d70e7e
http://autobuild.buildroot.net/results/368c2c8ab9b8db7f445a9681082ce1e10c7e0151
http://autobuild.buildroot.net/results/1c98fd9ce430463e720212ce8a3698e2b72cbe7d
http://autobuild.buildroot.net/results/bc865093e6ffec4737433c5a213c0241495e9ccc
http://autobuild.buildroot.net/results/e4d93b136ef8aff600264d743191bf087044c27a
http://autobuild.buildroot.net/results/a2feeeed4d0d11fda5f029f8c784ed6ce16ee856

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibevdev: bump version to 1.5.8
Peter Seiderer [Tue, 30 Jan 2018 20:01:21 +0000 (21:01 +0100)]
libevdev: bump version to 1.5.8

For details see [1].

[1] https://lists.freedesktop.org/archives/input-tools/2018-January/001447.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/nodejs: bump version to 8.9.4
Martin Bark [Tue, 30 Jan 2018 19:48:55 +0000 (19:48 +0000)]
package/nodejs: bump version to 8.9.4

See https://nodejs.org/en/blog/release/v8.9.4/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoca-certificates: bump to version 20170717
Martin Bark [Tue, 30 Jan 2018 19:48:54 +0000 (19:48 +0000)]
ca-certificates: bump to version 20170717

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: bump Linux CIP to v4.4.112-cip18
Angelo Compagnucci [Tue, 30 Jan 2018 15:05:59 +0000 (16:05 +0100)]
linux: bump Linux CIP to v4.4.112-cip18

This patch bump the Linux CIP kernel to version v4.4.112-cip18

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/binutils: remove support for 2.27
Romain Naour [Mon, 29 Jan 2018 22:39:41 +0000 (23:39 +0100)]
package/binutils: remove support for 2.27

Now that binutils 2.30 has been introduced, and we have moved to
2.29.1 as the default version, it is time to drop support for binutils
2.27.

Also use xz-compressed tarball for all official supported version.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/binutils: switch to use 2.29.x as the default version
Romain Naour [Mon, 29 Jan 2018 22:39:40 +0000 (23:39 +0100)]
package/binutils: switch to use 2.29.x as the default version

Now that binutils 2.30 has been released, it is time to move to
binutils 2.29.x as the default binutils version, instead of 2.28.1.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/binutils: add support for binutils 2.30
Romain Naour [Mon, 29 Jan 2018 22:39:39 +0000 (23:39 +0100)]
package/binutils: add support for binutils 2.30

All patches from binutils 2.29 are kept and slightly adapted to
differences that appeared in binutils 2.30.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoscanpypi: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:39 +0000 (22:44 -0200)]
scanpypi: fix code style

Fix these warnings:
E101 indentation contains mixed spaces and tabs
E128 continuation line under-indented for visual indent
E231 missing whitespace after ','
E261 at least two spaces before inline comment
E302 expected 2 blank lines, found 1
E305 expected 2 blank lines after class or function definition, found 1
W191 indentation contains tabs

Ignore these warnings:
E402 module level import not at top of file

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoget-developers: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:38 +0000 (22:44 -0200)]
get-developers: fix code style

Fix these warnings:
E202 whitespace before ']'
E203 whitespace before ':'
E302 expected 2 blank lines, found 1
E305 expected 2 blank lines after class or function definition, found 1
E711 comparison to None should be 'if cond is None:'
E741 ambiguous variable name 'l'
F401 'sys' imported but unused
W391 blank line at end of file

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocheck-package: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:35 +0000 (22:44 -0200)]
check-package: fix code style

Ignore these warnings:
F401 'lib.ConsecutiveEmptyLines' imported but unused

And remove comments that are not needed anymore.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agotesting/tests/boot/test_atf: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:34 +0000 (22:44 -0200)]
testing/tests/boot/test_atf: fix code style

Fix these warnings:
E122 continuation line missing indentation or outdented
E302 expected 2 blank lines, found 1
F401 'os' imported but unused

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agosize-stats: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:33 +0000 (22:44 -0200)]
size-stats: fix code style

Fix these warnings:
E302 expected 2 blank lines, found 1
E305 expected 2 blank lines after class or function definition, found 1
E713 test for membership should be 'not in'

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopycompile: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:32 +0000 (22:44 -0200)]
pycompile: fix code style

Fix these warnings:
E302 expected 2 blank lines, found 1
E305 expected 2 blank lines after class or function definition, found 1

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agograph-build-time: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:31 +0000 (22:44 -0200)]
graph-build-time: fix code style

Fix these warnings:
E201 whitespace after '['
E202 whitespace before ']'
E302 expected 2 blank lines, found 1
E305 expected 2 blank lines after class or function definition, found 1

Ignore these warnings:
E402 module level import not at top of file

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocheck-uniq-files: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:30 +0000 (22:44 -0200)]
check-uniq-files: fix code style

Fix these warnings:
E128 continuation line under-indented for visual indent
E302 expected 2 blank lines, found 1
E305 expected 2 blank lines after class or function definition, found 1

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agograph-depends: fix code style
Ricardo Martincoski [Mon, 22 Jan 2018 00:44:29 +0000 (22:44 -0200)]
graph-depends: fix code style

Fix these warnings:
E122 continuation line missing indentation or outdented
E127 continuation line over-indented for visual indent
E128 continuation line under-indented for visual indent
E202 whitespace before ']'
E221 multiple spaces before operator
E225 missing whitespace around operator
E231 missing whitespace after ','
E302 expected 2 blank lines, found 1
E305 expected 2 blank lines after class or function definition, found 1
E502 the backslash is redundant between brackets
E713 test for membership should be 'not in'

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agokodi-texturepacker: fix compilation error with host gcc 7.x
Dagg Stompler [Fri, 19 Jan 2018 16:42:32 +0000 (18:42 +0200)]
kodi-texturepacker: fix compilation error with host gcc 7.x

When host-kodi-texturepacker is built on a machine using gcc 7.x, it
fails to build with:

/usr/include/stdlib.h:443:14: error: declaration of ‘void* reallocarray(void*, size_t, size_t) throw ()’ has a different exception specifier
 extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size)

This commit backports the upstream fix for this problem.

The issue could be reproduced with the following defconfig (and a gcc
7.x host compiler):

BR2_x86_64=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_KODI=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_PYTHON=y
BR2_PACKAGE_PYTHON_PY_PYC=y

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoorangepi-pc-plus: bump kernel and u-boot versions
Sergey Matyukevich [Mon, 29 Jan 2018 21:37:20 +0000 (00:37 +0300)]
orangepi-pc-plus: bump kernel and u-boot versions

Bump Linux to 4.15 and U-Boot to 2018.01. Enable dhcp for eth0 since
Ethernet support for Allwinner H2/H3 SoCs has landed in Linux 4.15.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoorangepi-one: bump kernel and u-boot versions
Sergey Matyukevich [Mon, 29 Jan 2018 21:37:19 +0000 (00:37 +0300)]
orangepi-one: bump kernel and u-boot versions

Bump Linux to 4.15 and U-Boot to 2018.01. Enable dhcp for eth0 since
Ethernet support for Allwinner H2/H3 SoCs has landed in Linux 4.15.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>