buildroot.git
8 years agodante: new package
Maxime Hadjinlian [Sat, 2 Jul 2016 08:47:58 +0000 (10:47 +0200)]
dante: new package

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[Thomas:
 - Add dependency on BR2_USE_MMU
 - Rewrap Config.in help text
 - PID file goes in /var/run/
 - Daemon to start is /usr/sbin/sockd, not /usr/sbin/dante
 - Remove staging installation, as it is not needed
 - Remove --enable-debug, since that's not what BR2_ENABLE_DEBUG is
   meant for
 - Install an example configuration file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoRevert "apply-patches: catch unexpected failure"
Thomas Petazzoni [Tue, 5 Jul 2016 15:42:27 +0000 (17:42 +0200)]
Revert "apply-patches: catch unexpected failure"

This reverts commit 9cf1ad6cdb37c5be5772121896f4b13ec42c2b0d.

This breaks many packages.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoapply-patches: catch unexpected failure
Romain Naour [Tue, 5 Jul 2016 11:02:09 +0000 (13:02 +0200)]
apply-patches: catch unexpected failure

As reported by Sébastien Szymanski [1], the apply-patches script
doesn't stop if a tar command can't extract an archive.

Use "set -e" to exit immediately if a command return an error.

[1] http://patchwork.ozlabs.org/patch/626196

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: Use HTTPS URL for Github repos
Paul Cercueil [Tue, 5 Jul 2016 10:25:14 +0000 (12:25 +0200)]
configs: Use HTTPS URL for Github repos

This makes it possible to clone git repositories hosted on Github while
behind a firewall.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouboot: install multiple spl images
Jason Abele [Tue, 5 Jul 2016 11:17:25 +0000 (13:17 +0200)]
uboot: install multiple spl images

For some platforms, there are multiple generated spl images.  Extend
BR2_TARGET_UBOOT_SPL_NAME to allow these multiple images to be installed
after uboot build completes.

For example, the NextThingCo C.H.I.P. uses two binaries from uboot,
spl/sunxi-spl.bin and spl/sunxi-spl-with-ecc.bin.

Signed-off-by: Jason Abele <jason@nextthing.co>
[Maxime:
 - Add foreach loop for general case and mkpimage
 - Use firstword for zynq case]
Signe-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocircus: new package
Yegor Yefremov [Tue, 5 Jul 2016 14:41:33 +0000 (16:41 +0200)]
circus: new package

Reviewed-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: minor tweaks to Config.in.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/liboping: fix build after bump
Yann E. MORIN [Tue, 5 Jul 2016 14:32:29 +0000 (16:32 +0200)]
package/liboping: fix build after bump

Fixes:
    http://autobuild.buildroot.org/results/6a9/6a9b4d7b1b3cd72e32579fbaf5a69dbde0fea8e4/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosquid: bump version to 3.5.20
Vicente Olivert Riera [Tue, 5 Jul 2016 14:12:00 +0000 (15:12 +0100)]
squid: bump version to 3.5.20

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibiio: Bump version to 0.7
Paul Cercueil [Tue, 5 Jul 2016 10:27:28 +0000 (12:27 +0200)]
libiio: Bump version to 0.7

The two previous patches have been merged upstream, so they have been
deleted here. Another patch (picked from upstream) has been added to fix
the build with thread-less toolchains.

Libiio v0.7 provides two new backends, a USB backend (using libusb-1.0)
and a serial backend (using libserialport).

Additionally, it is now possible to compile libiio with thread-less
toolchains. In that case, thread safety is disabled.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/skeleton: remove useless .empty file
Yann E. MORIN [Wed, 22 Jun 2016 19:07:23 +0000 (21:07 +0200)]
package/skeleton: remove useless .empty file

We now have a real file in that directory, so we do not need a .empty
placeholder.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackages: use the <PKG>_TARGET_FINALIZE_HOOKS
Yann E. MORIN [Wed, 22 Jun 2016 19:07:37 +0000 (21:07 +0200)]
packages: use the <PKG>_TARGET_FINALIZE_HOOKS

Register package-specific target-finalize hooks with the
newly-introduced <PKG>_TARGET_FINALIZE_HOOKS.

This incidentally fixes luarocks, which was registering target-finalize
hooks even when it was not enabled.

To be noted, the skeleton package is not converted, because it is not
optional, we always have it; so its hooks would always be registered
anyway. Besides, the followup patches would render this conversion moot
anyway, since those hooks would be spread across the various skeleton
packages.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore/pkg-generic: allow packages to declare target-finalize hooks
Yann E. MORIN [Wed, 22 Jun 2016 19:07:36 +0000 (21:07 +0200)]
core/pkg-generic: allow packages to declare target-finalize hooks

Currently, packages using target finalize hooks must remember that they
need to register their hook in TARGET_FINALIZE_HOOKS
conditionally (otherwise their hook will be triggered even if the
package is disabled).

In order to avoid this potential mistake, this commit introduces a
per-package target-finalize hook variable, in which packages can
register their target-finalize hooks, with the guarantee that they will
only be triggered if the package is enabled.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
[Thomas: rework commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/perl: use dummy hostname
Yann E. MORIN [Wed, 22 Jun 2016 19:07:32 +0000 (21:07 +0200)]
package/perl: use dummy hostname

The hostname does not look like it serves any useful purpose, except
maybe to set set perladmin email.

Which is undoubtfully useless on the target.

A followup commit will make the hostname depend on the default skeleton,
so it won't always be available. We can not rely on it to be set.

Besides, even today it is not guaranteed to be set; a user may well
leave it empty.

Use a dummy hostname.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/rs485conf: new package
Marcin Niestroj [Tue, 5 Jul 2016 08:38:50 +0000 (10:38 +0200)]
package/rs485conf: new package

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Reviewed-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosystem: systemd only really supports a R/W rootfs
Yann E. MORIN [Wed, 22 Jun 2016 19:07:27 +0000 (21:07 +0200)]
system: systemd only really supports a R/W rootfs

Supporting a R/O rootfs needs a bit more love to be fully operational.
This will come in later patches...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosystem/skeleton: update etc/mtab with a more sensible link
Yann E. MORIN [Wed, 22 Jun 2016 19:07:26 +0000 (21:07 +0200)]
system/skeleton: update etc/mtab with a more sensible link

Currently, our /etc/mtab points to /proc/mounts. This was all neat so
far, and was good for a sysv-like init system.

However, the way today is to point it at /proc/self/mounts, the
per-process mount tab.

Additionnally, that's what systemd expects. If /etc/mtab is not a
symlink to ../proc/self/mounts and the rootfs is readonly, systemd would
whine loudly (and a service unit would be marked failed).

Since it works well for sysv-like init systems too, just use that.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/skeleton: respect variables namespace
Yann E. MORIN [Wed, 22 Jun 2016 19:07:25 +0000 (21:07 +0200)]
package/skeleton: respect variables namespace

In makefiles, variables have global scope. We traditionally ensure that
we get no name clashing by prefixing all variables with the package
name.

Currently, this is not the case in the skeleton package, for historical
reasons (code snippets copied over from the common Makefiles). We
currently have a mix of naming for the variables:
  - some are indeed prefixed with SKELETON_
  - some are prefixed with SYSTEM_
  - some are prefixed with both
  - some are not prefixed

Clean up these discrepancies, and prefix all variables with just
SKELETON_ and drop the SYSTEM_ prefix.

Also include SET_ in all variables that do set something (getty) for
consistency across all the variables.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobinutils: fix build of 2.26 when makeinfo is not available
Thomas Petazzoni [Tue, 5 Jul 2016 09:46:59 +0000 (11:46 +0200)]
binutils: fix build of 2.26 when makeinfo is not available

The 2.26 binutils tarball has incorrect timestamps for the .info files,
so binutils build system tries to regenerate them with makeinfo. In
order to avoid depending on host-texinfo, we simply touch the .info
files so that their timestamp is newer than the corresponding source
files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogdb: add dependency on host-flex and host-bison for Git versions
Thomas Petazzoni [Tue, 5 Jul 2016 09:46:58 +0000 (11:46 +0200)]
gdb: add dependency on host-flex and host-bison for Git versions

gdb versions fetched from git (such as the ARC version) will not build
with host-flex and host-bison.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogdb: add dependency on host-texinfo
Thomas Petazzoni [Tue, 5 Jul 2016 09:46:57 +0000 (11:46 +0200)]
gdb: add dependency on host-texinfo

Just like binutils, when gdb is fetched from git, it wants to
re-generate its documentation. We were trying to avoid that by patching
the Makefiles, but it wasn't working in all situations.

So, we simply add a dependency on host-texinfo when gdb is fetched from
git, and remove our hackhish work-around.

Fixes:

  http://autobuild.buildroot.net/results/80e63edc009d23cb939880a6f5ae2f220f07a96a/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobinutils: build host-texinfo if needed
Thomas Petazzoni [Tue, 5 Jul 2016 09:46:56 +0000 (11:46 +0200)]
binutils: build host-texinfo if needed

This commit adds the dependency on host-texinfo to binutils, when the
source is fetched from Git. Thanks to this, we can remove the
0800-Docs-Prevent-build-failures-when-makeinfo-is-missing.patch patch
from the ARC-specific version of binutils.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotexinfo: new host package
Thomas Petazzoni [Tue, 5 Jul 2016 09:46:55 +0000 (11:46 +0200)]
texinfo: new host package

We have tried multiple solutions to solve the "makeinfo" problem in
binutils and gdb, without finding anything really convincing. So it
seems like the easiest solution is to add a texinfo host package, and
use it as a dependency of binutils/gdb when they are fetched from
Git. This commit introduces just the host-texinfo package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomesa3d: don't remove OpenGL pc when installing Gallium
Akihiko Odaki [Wed, 1 Jun 2016 06:58:35 +0000 (15:58 +0900)]
mesa3d: don't remove OpenGL pc when installing Gallium

Gallium driver also provides DRI-like infrastructure and OpenGL.
This change prevents from removing pkg-configs of them also when
installing the driver.

Signed-off-by: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiptables: add upstream patch to fix AR substitution
Jordan Yelloz [Mon, 13 Jun 2016 03:13:40 +0000 (20:13 -0700)]
iptables: add upstream patch to fix AR substitution

This ensures the correct AR is used for some of the iptables build
process. This is the same fix as
<https://bugs.gentoo.org/show_bug.cgi?id=444282>

Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
[Thomas: use upstream patch instead of passing AR in the environment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5base: Enable KMS and GBM if Mesa 3D provides EGL
Akihiko Odaki [Wed, 1 Jun 2016 03:38:09 +0000 (12:38 +0900)]
qt5base: Enable KMS and GBM if Mesa 3D provides EGL

Signed-off-by: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocmake: add documentation about how it is built
Luca Ceresoli [Fri, 1 Jul 2016 15:53:29 +0000 (17:53 +0200)]
cmake: add documentation about how it is built

Commit 7b17bafc5d7948aff3059e058ada80ad1fc50500 by Davide Viti has a
detailed explanation of some unusual techniques used for building
host-cmake and (target-)cmake. This is useful information for whoever
starts hacking on it, so copy it in the makefile, where it will be
easily noticed.

Also remove the sentence about host-cmake having a runtime dependency
on host-pkgconfig (not true anymore: it's the specific cmake-packages
that depend on it) and fix typos.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Davide Viti <zinosat@tiscali.it>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocmake: move the host-pkgconf dependency from host-cmake to pkg-cmake
Luca Ceresoli [Fri, 1 Jul 2016 15:53:28 +0000 (17:53 +0200)]
cmake: move the host-pkgconf dependency from host-cmake to pkg-cmake

In 3d475ee0ba4d6eea6aca25594cfe5bb153ac804f a dependency on
host-pkgconf was added to host-cmake. It is a workaround to fix build
failures for packages that use pkgconf through a cmake module, but do
not depend on host-pkgconf as they should.

Since it is the package that needs host-pkgconf and not host-cmake
itself, move the dependency to the proper place, in pkg-cmake.mk.

Also copy the explanation on the mentioned commit as a comment in
order to clarify why we do this.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Davide Viti <zinosat@tiscali.it>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas:
 - update on top of master
 - drop empty HOST_CMAKE_DEPENDENCIES, no longer needed since host
   dependencies are no longer derived from target dependencies.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: enable Linuxthreads for Blackfin
Waldemar Brodkorb [Tue, 5 Jul 2016 10:12:55 +0000 (12:12 +0200)]
uclibc: enable Linuxthreads for Blackfin

Enable Linuxthreads, a small binutils patch from upstream is
required.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobinutils: add required upstream patch for bfin
Waldemar Brodkorb [Tue, 5 Jul 2016 10:12:02 +0000 (12:12 +0200)]
binutils: add required upstream patch for bfin

This is required to build uClibc-ng with threading support and FDPIC
binary format.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboot/uboot: fix build of old U-Boot versions
Thomas Petazzoni [Tue, 5 Jul 2016 09:31:08 +0000 (11:31 +0200)]
boot/uboot: fix build of old U-Boot versions

Since commit 0dca644e443c8f28bfe5aa1c98201dc3b49e1165 ("boot/uboot: fix
missing host-openssl for i.MX28 target"), we pass HOSTCFLAGS/HOSTLDFLAGS
in the environment of U-Boot when building. This is needed to allow
U-Boot to find the OpenSSL headers/libraries when they are
needed. Unfortunately, this breaks the build with old U-Boot versions as
the U-Boot Makefiles were not designed to have HOSTCFLAGS passed in,
which causes some important CFLAGS from the U-Boot build system to be
ignored.

As suggested by Arnout, we pass the HOST_CFLAGS inside HOSTCC directly,
which allows to pass the CFLAGS without overriding the internal U-Boot
CFLAGS.

Tested with an old U-Boot (2012.10), and a modern U-Boot in a
configuration that needs OpenSSL.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agojemalloc: new package
Eric Le Bihan [Fri, 24 Jun 2016 19:46:30 +0000 (21:46 +0200)]
jemalloc: new package

This new package provides jemalloc, a malloc(3) implementation that
emphasizes fragmentation avoidance and scalable concurrency support.

A host variant is added as it will be used by rust.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
[Thomas:
 - remove trailing slash (noticed by Romain Naour)
 - add !BR2_STATIC_LIBS dependency (noticed by Romain Naour).]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocker-containerd: new package
Christian Stewart [Mon, 4 Jul 2016 22:30:32 +0000 (15:30 -0700)]
docker-containerd: new package

docker-containerd is a daemon and API for controlling and managing runC
containers.

https://containerd.tools/

Signed-off-by: Christian Stewart <christian@paral.in>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - simplify a bit the comments about the runtime dependencies
 - add missing comment on wchar, and take into account the BR2_USE_MMU
   dependency in the comment
 - factorize the build step with a foreach loop.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libgpg-error: Fix typo
Maxime Hadjinlian [Tue, 5 Jul 2016 08:40:12 +0000 (10:40 +0200)]
package/libgpg-error: Fix typo

Fix autobuilders failures:
http://autobuild.buildroot.net/results/a45/a45d4310e9313d7e12a584e373c54916b5502d32/
http://autobuild.buildroot.net/results/3e0/3e09ed66bc9705ce6e02560f792f1872e2ff438a/
http://autobuild.buildroot.net/results/3f5/3f588651bd8565962274d6f7930c7c7031ca26af/
http://autobuild.buildroot.net/results/779/77955a015d6027544b4ba2cb5098cc83fc7bcfce/
http://autobuild.buildroot.net/results/215/215c4a5512b9b7bd9c302e46618fa7319c6dc293/

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorunc: new package
Christian Stewart [Mon, 4 Jul 2016 22:30:31 +0000 (15:30 -0700)]
runc: new package

runC is a CLI tool for spawning and running containers according to the
OCP specification.

runC is used by the latest Docker engine versions, however, runc itself
is standalone and has no other dependencies.

https://runc.io/

Signed-off-by: Christian Stewart <christian@paral.in>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibmicrohttpd: fix thread detection on ARC and Blackfin
Thomas Petazzoni [Sun, 3 Jul 2016 23:09:43 +0000 (01:09 +0200)]
libmicrohttpd: fix thread detection on ARC and Blackfin

Due to compiler deficiences, gcc on ARC and Blackfin doesn't define
_REENTRANT, which the latest version of the ax_pthread.m4
autoconf-archive macros looks at to determine whether thread support is
available or not.

Fixing the compilers is definitely the right thing to do, but it's not
doable for pre-built external toolchains like the Blackfin one, so for
now, we simply define _REENTRANT manually on ARC and Blackfin. If more
packages are affected by this problem, a more general solution will have
to be found.

Fixes
http://autobuild.buildroot.net/results/593/593b5050473a83a9ddcada9de39f8f14ab38d554/
http://autobuild.buildroot.net/results/ff0/ff058a378b91740b5b399f32a6b375fbc3c8df06/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoacpica: new package
Erico Nunes [Sun, 3 Jul 2016 10:45:35 +0000 (12:45 +0200)]
acpica: new package

The ACPI Component Architecture (ACPICA) project provides an operating
system (OS)-independent reference implementation of the Advanced
Configuration and Power Interface Specification (ACPI).

It contains tools such as acpidump, iasl, acpixtract, etc.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
[Thomas: adjust install flags to -m755.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch: define dependencies for the binfmt flat formats
Waldemar Brodkorb [Mon, 4 Jul 2016 18:51:39 +0000 (20:51 +0200)]
arch: define dependencies for the binfmt flat formats

The situation looks like following for elf2flt and binfmt FLAT:

 * Only gcc for bfin/m68k implements
   -msep-data (BR2_BINFMT_FLAT_SEP_DATA) and
   -mid-shared-library (BR2_BINFMT_FLAT_SHARED), so the corresponding
   options are made only visible on those architectures.

 * When the default of BR2_BINFMT_FLAT_ONE is used on m68k, broken
   binaries are produced, which mainly end up in SIGILL, so do not use
   it for m68k.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas:
 - also add the dependencies on m68k/bfin to BR2_BINFMT_FLAT_SHARED
 - rework commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libbdplus: add missing libgpg-error arch dependency
Maxime Hadjinlian [Mon, 4 Jul 2016 21:57:46 +0000 (23:57 +0200)]
package/libbdplus: add missing libgpg-error arch dependency

Thanks to Romain Naour for finding the culprit package.

Fixes:

  http://autobuild.buildroot.org/results/d06e3eb9ef48540b71fbec267c534523632b224f/

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Acked-by: Romain Naour <romain.naour@gmail.com>
[Thomas: fix Config.in comment dependencies.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodbus: update legal info
Rahul Bedarkar [Mon, 4 Jul 2016 12:46:23 +0000 (18:16 +0530)]
dbus: update legal info

Library and some tools (dbus-lanuch, dbus-run-session) are dual
licensed under GPLv2 or AFLv2.1 and others (dbus-monitor, dbus-send,
dbus-cleanup-sockets, dbus-uuidgen) are licensed under GPLv2+
only.

Reviewed-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoalsa-lib: add license information for aserver
Thomas Petazzoni [Tue, 5 Jul 2016 07:15:38 +0000 (09:15 +0200)]
alsa-lib: add license information for aserver

Reported-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogmp: correct legal info
Rahul Bedarkar [Mon, 4 Jul 2016 12:46:25 +0000 (18:16 +0530)]
gmp: correct legal info

Since version 6, GMP is distributed under the dual licenses LGPLv3+ or
GPLv2+

Reviewed-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiw: correct license name
Rahul Bedarkar [Mon, 4 Jul 2016 12:46:24 +0000 (18:16 +0530)]
iw: correct license name

iw license is ISC.

Reviewed-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibuci: update legal info
Rahul Bedarkar [Mon, 4 Jul 2016 12:46:22 +0000 (18:16 +0530)]
libuci: update legal info

CLI tool and lua bindings are released under GPLv2.

Reviewed-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
[Thomas: use proper construct to concatenate new licenses to
<pkg>_LICENSE, as suggested by Yann E. Morin.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agognutls: update legal info
Rahul Bedarkar [Mon, 4 Jul 2016 12:46:21 +0000 (18:16 +0530)]
gnutls: update legal info

GnuTLS core library is licensed under LGPLv2.1+ while gnutls-openssl
library is licensed under GPLv3+. Annotate the license with components.

Reviewed-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
[Thomas:
 - add comment about the license of the "core library" since some files
   seems to be mistakenly under LGPLv3+ even though the library is
   licensed under LGPLv2.1+.
 - add the README file in the license information, since it contains a
   lot of useful details.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/qjson: not available for static builds
Yann E. MORIN [Mon, 4 Jul 2016 21:26:22 +0000 (23:26 +0200)]
package/qjson: not available for static builds

Fixes:
    http://autobuild.buildroot.org/results/ffa/ffa343702727e118bb98b9c273bd0605de7e75e2/
    http://autobuild.buildroot.org/results/3ca/3ca05b777789c58b0621a100490373416846aa87/
    http://autobuild.buildroot.org/results/a4f/a4f3f9c79731c69082f70c3841c012c576517921/
    ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: don't mention the qt4/5 dependency in the comment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoudpcast: remove menu ... endmenu
Thomas Petazzoni [Mon, 4 Jul 2016 21:24:18 +0000 (23:24 +0200)]
udpcast: remove menu ... endmenu

For just two sub-options, this is really overkill.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tiff: use 'menuconfig' instead of 'config'+'menu'
Yann E. MORIN [Mon, 4 Jul 2016 09:24:33 +0000 (11:24 +0200)]
package/tiff: use 'menuconfig' instead of 'config'+'menu'

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/sdl_image: reduce the length of option prompts
Thomas Petazzoni [Mon, 4 Jul 2016 21:13:51 +0000 (23:13 +0200)]
package/sdl_image: reduce the length of option prompts

It's really not necessary to have each option for the different file
formats named "enable XYZ file format support". Saying "XYZ support" is
sufficient.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/sdl_image: use 'menuconfig' instead of 'config'+'menu'
Yann E. MORIN [Mon, 4 Jul 2016 09:24:31 +0000 (11:24 +0200)]
package/sdl_image: use 'menuconfig' instead of 'config'+'menu'

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/php: move list of extensions after interface selection
Yann E. MORIN [Mon, 4 Jul 2016 09:24:26 +0000 (11:24 +0200)]
package/php: move list of extensions after interface selection

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ola: use 'menuconfig' instead of 'config'+'menu'
Yann E. MORIN [Mon, 4 Jul 2016 09:24:24 +0000 (11:24 +0200)]
package/ola: use 'menuconfig' instead of 'config'+'menu'

Since there were multiple sub-menus, their prompts are turned into
comments.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonodejs: remove the menu ... endmenu
Thomas Petazzoni [Mon, 4 Jul 2016 21:06:52 +0000 (23:06 +0200)]
nodejs: remove the menu ... endmenu

The only menu was "Module Selection", even though it contained
options (like "NPM for target") which are not related to selecting
modules. This commit therefore removes the menu ... endmenu.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonfs-utils: remove the menu ... endmenu
Thomas Petazzoni [Mon, 4 Jul 2016 21:03:38 +0000 (23:03 +0200)]
nfs-utils: remove the menu ... endmenu

With only 3 sub-options, it doesn't really make a lot of sense to have a
sub-menu, so kill it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoncftp: remove the menu ... endmenu
Thomas Petazzoni [Mon, 4 Jul 2016 21:00:17 +0000 (23:00 +0200)]
ncftp: remove the menu ... endmenu

Also makes the prompts of the various sub-options more in line with what
we do in the rest of Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/collectd: use 'menuconfig' instead of 'config'+'menu'
Yann E. MORIN [Mon, 4 Jul 2016 09:24:14 +0000 (11:24 +0200)]
package/collectd: use 'menuconfig' instead of 'config'+'menu'

Keep the existing sub-menus, because there are a lot of entries in those
sub-menus. Using comments to separate them is not a totally satifactory
solution.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libdrm: use 'menuconfig' instead of 'config'+'menu'
Yann E. MORIN [Mon, 4 Jul 2016 09:24:19 +0000 (11:24 +0200)]
package/libdrm: use 'menuconfig' instead of 'config'+'menu'

Transform the menu prompt into a comment.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libdrm: move tests programs to the bottom
Yann E. MORIN [Mon, 4 Jul 2016 09:24:18 +0000 (11:24 +0200)]
package/libdrm: move tests programs to the bottom

Tests programs are not that important; at least, they're probably less
important than the drivers selection.

Move it down to after the drivers selection.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libgpg-error: bump to version 1.23
Jörg Krause [Sun, 3 Jul 2016 23:48:34 +0000 (01:48 +0200)]
package/libgpg-error: bump to version 1.23

This patch is based on a patch sent by Vicente Olivert Riera and commented by
Arnout Vandecappelle [1].

- Bump version to 1.23
- Add a hook to fix cross-compilation
- Fix license and license files
- Remove patch applied upstream
- Add a BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS variable
- Propagate the dependencies using that variable:
    * package/cppcms
    * package/crda
    * package/gnupg2
        - package/gcr
            - package/midori
    * package/kodi
    * package/libaacs
    * package/libassuan
    * package/libgcrypt
    * package/libgpgme
    * package/libksba
    * package/libmicrohttpd
        - package/janus-gateway
        - package/kodi
        - package/ola
        - package/systemd
    * package/libssh
    * package/libssh2
        - package/php-ssh2
    * package/netatalk
    * package/network-manager
    * package/ntfs-3g
    * package/opkg
    * package/php-gnupg
    * package/rng-tools
    * package/strongswan
    * package/vpnc

[1] http://patchwork.ozlabs.org/patch/416427/

Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
[Thomas:
 - rebase on master
 - changing systemd no longer needed, as it no longer selects
   libgcrypt.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Maxime:
 - rebase on master
 - bump to new version
 - propagate dependencies to missing packages]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - fix hash file.
 - change the way to handle the various arch so that it works properly
   for uClibc.
 - add nios2 arch support.
 - Maxime Hadjinlian learned some basic Emacs-fu to do the final fixups
   of this commit.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoalsa-lib: don't pass --with-softfloat
Peter Korsgaard [Mon, 4 Jul 2016 19:44:20 +0000 (21:44 +0200)]
alsa-lib: don't pass --with-softfloat

Passing this option disables the lfloat and ladsp pcm plugins and certain
APIs as explained by:

https://patchwork.ozlabs.org/patch/619527/

But people might want to use these even if they use software floating point,
and the size difference is really minimal, so don't pass this option.

-rwxr-xr-x 1 peko peko 774K Jul  4 18:50 target-orig/usr/lib/libasound.so.2.0.0
-rwxr-xr-x 1 peko peko 709K Jul  4 19:08 target-softfloat/usr/lib/libasound.so.2.0.0

If people don't want the extra pcm plugins then they can simply be disabled
using BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoimagemagick: explicitly specify ghostscript font directory
Robert Sohn [Mon, 4 Jul 2016 15:46:28 +0000 (17:46 +0200)]
imagemagick: explicitly specify ghostscript font directory

It appears that Imagemagick needs to be configured with
 --with-gs-font-dir=/usr/share/fonts/gs else it will not find
the ghostscript fonts and /etc/ImageMagick-6/type-ghostscript.xml
will contain the wrong font paths. You end up with messages like:
Magick: unable to read font `(null)' @ error/annotate.c/RenderFreetype/1153
They are non-fatal but could get annoying fast if you are using 'convert'
on a lot of files.

Without patch we end up with (depending on what is available on the host):

  Font Configuration:
  Apple fonts       --with-apple-font-dir=default
  Dejavu fonts      --with-dejavu-font-dir=default      none
  Ghostscript fonts --with-gs-font-dir=default  /usr/share/fonts/type1/gsfonts/
  Windows fonts     --with-windows-font-dir=default     none

And with the patch:

  Font Configuration:
  Apple fonts       --with-apple-font-dir=default
  Dejavu fonts      --with-dejavu-font-dir=default      none
  Ghostscript fonts --with-gs-font-dir=/usr/share/fonts/gs      /usr/share/fonts/gs/
  Windows fonts     --with-windows-font-dir=default     none

[Peter: reworked/extended commit message]
Signed-off-by: Robert Sohn <grepper@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoscancpan: improve message when bad host perl version
Francois Perrad [Thu, 16 Jun 2016 16:26:24 +0000 (18:26 +0200)]
scancpan: improve message when bad host perl version

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas:
 - add comment in scancpan about the version dependency, suggested by
   Yann E. Morin.
 - add comment in perl.mk about the need to sync any version change with
   scancpan, also suggested by Yann E. Morin.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenblas: pass ONLY_CBLAS=1 only when Fortran is not available
Vicente Olivert Riera [Mon, 4 Jul 2016 15:22:59 +0000 (16:22 +0100)]
openblas: pass ONLY_CBLAS=1 only when Fortran is not available

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/multicat: use double quotes in toolchain comment
Peter Korsgaard [Mon, 4 Jul 2016 15:21:51 +0000 (17:21 +0200)]
package/multicat: use double quotes in toolchain comment

To be consistent with the rest of Buildroot.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/gpsd: use 'menuconfig' instead of 'config'+'menu'
Yann E. MORIN [Mon, 4 Jul 2016 09:24:16 +0000 (11:24 +0200)]
package/gpsd: use 'menuconfig' instead of 'config'+'menu'

Since there were multiple sub-menus, their prompts are turned into
comments.

Some option were missing a prompt, so add one; switch integer options to
use the 'int' type instead of 'string'. Add separating lines around
options.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/gd: use 'menuconfig' instead of 'config'+'menu'
Yann E. MORIN [Mon, 4 Jul 2016 09:24:15 +0000 (11:24 +0200)]
package/gd: use 'menuconfig' instead of 'config'+'menu'

[Peter: drop tools comment]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodvblast: use double quotes around the Config.in comment
Thomas Petazzoni [Mon, 4 Jul 2016 15:20:44 +0000 (17:20 +0200)]
dvblast: use double quotes around the Config.in comment

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dvblast: requires NPTL
Yann E. MORIN [Mon, 4 Jul 2016 15:11:16 +0000 (17:11 +0200)]
package/dvblast: requires NPTL

dvblast uconditionally believes that any Linux system will have support
for clock nanosleep().

However, clock_nanosleep() is only availabe with NPTL.

Fixing dvblast is not really complicated, but not trivial either. So we
just make it depend on NPTL.

Fixes:
    http://autobuild.buildroot.org/?reason=dvblast-3.0
    http://autobuild.buildroot.org/results/dbe/dbe91dd6543b4b88fbf1e5b09d4997d2dc730747/
    http://autobuild.buildroot.org/results/32b/32bee5071f46b86de61db7f35a2cd04e270bc73c/
    [and many more...]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/pulseaudio: fix typo
Romain Naour [Sun, 3 Jul 2016 23:35:06 +0000 (01:35 +0200)]
package/pulseaudio: fix typo

commit 7290dc1e87b23fe21c75c50b2238004273a0ec5c added
PULSE_AUDIO_CONF_ENV instead of PULSEAUDIO_CONF_ENV.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/pulseaudio: explicitly enable/disable WebRTC support
Romain Naour [Sun, 3 Jul 2016 23:35:05 +0000 (01:35 +0200)]
package/pulseaudio: explicitly enable/disable WebRTC support

Currently, pulseaudio optionally depends on webrtc if it is enabled.

However, it is never explcitly enabled or disabled, although
pulseaudio's ./configure has --enable/disable-webrtc-aec.

Forcibly enable/disable webrtc support using those options.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/pulseaudio: allow to build without C++11 support
Romain Naour [Sun, 3 Jul 2016 23:35:04 +0000 (01:35 +0200)]
package/pulseaudio: allow to build without C++11 support

C++11 support is only required for WebRTC optional support but
pulseaudio can still be built with toolchains based on gcc 4.7 or older
witch doesn't have it.

Add a patch to make C++11 support optional and explicitely check for
gnu++11. Also stop the build only if no C++11 support has been found
and WebRTC support has been resquested.

Fixes:
http://autobuild.buildroot.net/results/d89/d897a94a8b6a52eba03d04c24536f554a7643000

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: Commonize /lib/<tuple> symlinks for Linaro toolchains
Romain Naour [Mon, 4 Jul 2016 14:37:42 +0000 (16:37 +0200)]
toolchain-external: Commonize /lib/<tuple> symlinks for Linaro toolchains

As proposed initialy by Matthew Fornero [1], commonize the creation of
symlinks from {/usr}/lib to {/usr}/lib/<tuple> for Linaro toolchains.

This symlinks are only required for old Linaro toolchains.

[1] http://patchwork.ozlabs.org/patch/624577

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Matthew Fornero <mfornero@mathworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agominnowboard-max: Start X on boot and run a few demos
Ezequiel Garcia [Mon, 4 Jul 2016 14:52:29 +0000 (11:52 -0300)]
minnowboard-max: Start X on boot and run a few demos

Now that we've merged nodm, the autologin display manager, we can
get rid of xinit, and startx hack and use nodm to start X on boot.
While here, let's start xterm and glmark2, just as demos.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs: chromebook snow: bump to linux 4.6.3
Alex Suykov [Mon, 4 Jul 2016 14:24:13 +0000 (17:24 +0300)]
configs: chromebook snow: bump to linux 4.6.3

No significant changes but 4.6.3 moved parts of the device tree
into a different file, so dts patch must be updated.

[Peter: explicitly configure kernel headers for 4.6]
Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoscanpypi: change hash file comments
Yegor Yefremov [Mon, 4 Jul 2016 14:24:03 +0000 (16:24 +0200)]
scanpypi: change hash file comments

sha256 checksum will be computed locally either by scanpypi at package
creation or by hand by package updates. Define this checksum as
'computed locally' so that one doesn't need to change this comment by
package updates. Also put comments for both md5 and sha256 in one line.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage: move busybox show others dependency to per-package
Thomas Petazzoni [Mon, 4 Jul 2016 13:46:56 +0000 (15:46 +0200)]
package: move busybox show others dependency to per-package

Having the BR2_PACKAGE_BUSYBOX_SHOW_OTHERS dependencies in
package/Config.in is not very practical: it makes this file not very
readable, and puts the dependency away from the package itself, which
can sometimes be confusing. Therefore, this commit moves the dependency
in each package Config.in file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agonetcat-openbsd: remove stray ~ character at end of Config.in
Thomas Petazzoni [Mon, 4 Jul 2016 13:46:55 +0000 (15:46 +0200)]
netcat-openbsd: remove stray ~ character at end of Config.in

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/angularjs: drop modules selection and simplify
Yann E. MORIN [Mon, 4 Jul 2016 09:24:13 +0000 (11:24 +0200)]
package/angularjs: drop modules selection and simplify

The angular modules are very small compared to angular:

ls -lahS target/var/www
total 228K
-rw-r--r-- 1 peko peko 142K Jul  4 16:06 angular.js
-rw-r--r-- 1 peko peko  23K Jul  4 16:06 angular-animate.js
-rw-r--r-- 1 peko peko  11K Jul  4 16:06 angular-message-format.js
-rw-r--r-- 1 peko peko 5.9K Jul  4 16:06 angular-sanitize.js
-rw-r--r-- 1 peko peko 4.3K Jul  4 16:06 angular-route.js
drwxr-xr-x 2 peko peko 4.0K Jul  4 16:06 .
drwxr-xr-x 5 peko peko 4.0K Jul  4 15:58 ..
-rw-r--r-- 1 peko peko 3.7K Jul  4 16:06 angular-aria.js
-rw-r--r-- 1 peko peko 3.6K Jul  4 16:06 angular-resource.js
-rw-r--r-- 1 peko peko 3.6K Jul  4 16:06 angular-touch.js
-rw-r--r-- 1 peko peko 2.6K Jul  4 16:06 angular-messages.js
-rw-r--r-- 1 peko peko 1.7K Jul  4 16:06 angular-loader.js
-rw-r--r-- 1 peko peko 1.4K Jul  4 16:06 angular-cookies.js

So drop the suboptions and simplify the package 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: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/open2300: fix static builds
Yann E. MORIN [Mon, 4 Jul 2016 13:05:17 +0000 (15:05 +0200)]
package/open2300: fix static builds

Fixes http://autobuild.buildroot.org/results/036/036c9088cfaae421c15b650f35e7ffe6ab934031/

libmysqlclient needs -lz to build, so we have to pass it explicitly for
static builds.

For almost-two-and-a-half years this error has been happenning, noone
ever tried to fix it. This is now done, at last! ;-]

[Peter: add autobuilder reference]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodocs/manual: document BR2_ROOTFS_POST_FAKEROOT_SCRIPT
Yann E. MORIN [Sun, 3 Jul 2016 19:01:58 +0000 (21:01 +0200)]
docs/manual: document BR2_ROOTFS_POST_FAKEROOT_SCRIPT

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/go-bootstrap: Build host tools with host CC
Geoff Levand [Thu, 19 May 2016 22:33:25 +0000 (22:33 +0000)]
package/go-bootstrap: Build host tools with host CC

Use the host compiler when building host tools.

The go build system is not compatable with ccache, so use HOSTCC_NOCCACHE
here.  See https://github.com/golang/go/issues/11685.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain-external: wrap gfortran
Vicente Olivert Riera [Mon, 4 Jul 2016 12:26:35 +0000 (13:26 +0100)]
toolchain-external: wrap gfortran

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/mplayer: needs BR2_TOOLCHAIN_HAS_SYNC_4
Bernd Kuhls [Sat, 2 Jul 2016 16:46:31 +0000 (18:46 +0200)]
package/mplayer: needs BR2_TOOLCHAIN_HAS_SYNC_4

Even though mplayer bundles the ffmpeg code base (and ffmpeg is not
affected by this issue), mplayer uses its own build system and doesn't
test properly for the availability (or not) of atomic operations. In
order to keep things simple, we simply make mplayer depend on the
availability of atomic operations, since it assumes they are available.

The reverse dependency is propagated to libplayer and tovid.

Fixes:

  http://autobuild.buildroot.net/results/6306757da3be9bb7e3cdcbfc8abb4e64a3fb7913/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: bump Codescape toolchains to 2016.05
Vicente Olivert Riera [Mon, 4 Jul 2016 10:17:40 +0000 (11:17 +0100)]
toolchain-external: bump Codescape toolchains to 2016.05

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/mplayer: Fix static linking with tremor & libogg
Bernd Kuhls [Sat, 2 Jul 2016 17:35:13 +0000 (19:35 +0200)]
package/mplayer: Fix static linking with tremor & libogg

Fixes
http://autobuild.buildroot.net/results/bc9/bc98fa585399b53ea181dbaf392b93424145911d/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nfs-utils: fix indentation
Maxime Hadjinlian [Sun, 3 Jul 2016 16:46:59 +0000 (18:46 +0200)]
package/nfs-utils: fix indentation

Use tabs everywhere still we don't have an official policy.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nfs-utils: start/stop daemons consistently
Andreas Ehmanns [Sun, 3 Jul 2016 16:46:58 +0000 (18:46 +0200)]
package/nfs-utils: start/stop daemons consistently

Change init script to start and stop all nfs daemons in a consistent
way. Using the same kill command, start/stop the daemon, printout OK or
FAIL and touch or deleted necessary files.

Signed-off-by: Andreas Ehmanns <universeII@gmx.de>
[Maxime:
   - Make it really consistent to stop the daemons as pointed out by
     Yann E. Morin
   - Remove the -9]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqemu: bump to version 2.6.0
Thomas Petazzoni [Sun, 3 Jul 2016 22:24:24 +0000 (00:24 +0200)]
qemu: bump to version 2.6.0

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agohost-qemu: add support for vde2
Simon Maes [Sun, 3 Jul 2016 22:24:23 +0000 (00:24 +0200)]
host-qemu: add support for vde2

Additional configuration for host-qemu package:
- Enable VDE2 support for qemu

Signed-off-by: Simon Maes <simonn.maes@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agovde2: enable building host package
Simon Maes [Sun, 3 Jul 2016 22:24:22 +0000 (00:24 +0200)]
vde2: enable building host package

In preparation of enabling vde2 support in host-qemu package.

Signed-off-by: Simon Maes <simonn.maes@gmail.com>
[Thomas:
 - add HOST_VDE2_CONF_OPTS and HOST_VDE2_MAKE, like we have for the
   target variant.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoqemu: add support for host-qemu-system
Simon Maes [Sun, 3 Jul 2016 22:24:21 +0000 (00:24 +0200)]
qemu: add support for host-qemu-system

This commit adds support for building the system emulation mode in
host-qemu. To do so, it adds the BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE and
BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE sub-options, making sure that the
latter is selected if the former is not enabled. This ensures that at
least one is enabled *and* that existing configurations continue to
build the user-land emulation (which was the only one we supported until
now).

The list of architectures supported by the system emulation mode is the
same as the one for the user-space emulation mode (as far as the
existing list is concerned), so we simply drop the comment about this
dependency list being related to the user-space emulation only.

Signed-off-by: Simon Maes <simonn.maes@gmail.com>
[Thomas:
 - Make sure either BR2_PACKAGE_HOST_QEMU_LINUX_USER_MODE or
   BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE get selected.
 - Unconditionally enable FDT support in host-qemu when in system
   mode (so the option BR2_PACKAGE_HOST_QEMU_FDT has been removed)
 - Remove the unneeded BR2_PACKAGE_HOST_QEMU_HAS_EMULS option.
 - Remove the SDL related option, we really on the system to provide
   SDL.
 - Remove the BR2_PACKAGE_HOST_QEMU_DEBUG and
   BR2_PACKAGE_HOST_QEMU_STRIP_BINARY options, since they are not really
   useful.
 - Remove HOST_QEMU_SITE and HOST_QEMU_SOURCE definitions, since they
   are automatically derived from QEMU_SITE and QEMU_SOURCE anyway.
 - Group things more logically in the .mk file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogcc: uClinux supports POSIX threads
Waldemar Brodkorb [Sat, 2 Jul 2016 18:53:27 +0000 (20:53 +0200)]
gcc: uClinux supports POSIX threads

Fixes for example boost compile errors for m68k-nommu or
arm cortex-m4.
Following autobuild failures fixed:
http://autobuild.buildroot.net/results/f95511e839d85ea18c5b150a59e994ef069601a1/
http://autobuild.buildroot.net/results/ff2b8be247e50c170b6317886509cc2922e1c77e/

Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/wireless_tools: Pretty fixes
Maxime Hadjinlian [Mon, 4 Jul 2016 09:07:56 +0000 (11:07 +0200)]
package/wireless_tools: Pretty fixes

Remove an empty line and wrap long lines

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/wireless_tools: Remove install man pages
Maxime Hadjinlian [Mon, 4 Jul 2016 09:07:55 +0000 (11:07 +0200)]
package/wireless_tools: Remove install man pages

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowpa_supplicant: add option to enable Wi-Fi Display
Georges Savoundararadj [Sun, 3 Jul 2016 23:28:52 +0000 (16:28 -0700)]
wpa_supplicant: add option to enable Wi-Fi Display

BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY depends on
BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT because CONFIG_WIFI_DISPLAY needs
CONFIG_P2P.

Signed-off-by: Georges Savoundararadj <savoundg@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-buildroot: add bfin support
Waldemar Brodkorb [Fri, 3 Jun 2016 04:05:31 +0000 (06:05 +0200)]
toolchain-buildroot: add bfin support

With gcc 6.1.0 and binutils 2.26 internal bfin toolchain can be used. A
gcc patch is required, which was reported upstream.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogcc: add hidden symbol for defaults
Waldemar Brodkorb [Fri, 3 Jun 2016 04:03:02 +0000 (06:03 +0200)]
gcc: add hidden symbol for defaults

Some architectures, f.e. Blackfin doesn't support to configure GCC with
--with-cpu to set some CPU specific default CFLAGS (-mcpu=foo). Use a
hidden config symbol to give a hint which architecture supports it,
otherwise add defaults to toolchain wrapper for internal toolchains.

Idea from Thomas Petazzoni.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
[Thomas:
 - simplify the Config.in logic with just one option named
   BR2_GCC_ARCH_HAS_CONFIGURABLE_DEFAULTS, defined in package/gcc in one
   place.
 - improve the organization of the code and name of variables.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gcc: fix list of files of patch file to hash for ccache
Yann E. MORIN [Sun, 3 Jul 2016 16:00:10 +0000 (18:00 +0200)]
package/gcc: fix list of files of patch file to hash for ccache

When we build the list of patches to include to compute the hash for
ccache, a typo precented the special gcc-initial/ and gcc-final/
directories from a global patch dir to be included in the calculation.

Fix that by properly expanding the $(PKG) variable.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: He Chunhui <hchunhui@mail.ustc.edu.cn>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/f2fs-tools: update version
Yann E. MORIN [Mon, 4 Jul 2016 08:31:10 +0000 (10:31 +0200)]
package/f2fs-tools: update version

Use a tag rather than a sha1, it's more obvious.
Remove the patch, it's been applied upstream.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosupport/download: don't over-remove files from git archives
Yann E. MORIN [Mon, 4 Jul 2016 07:52:25 +0000 (09:52 +0200)]
support/download: don't over-remove files from git archives

When we now manually create git archives, we removed all .git-related
files. However, we also exclude empty directories.

This means that a directory which only had a .gitignore file is excluded
from the archive.

Fixes:
    http://autobuild.buildroot.org/results/2aa/2aa8954311f009988880d27b6e48af91bc74c346/
    http://autobuild.buildroot.org/results/b45/b45cceea99b9860ccf1c925eeda498a823b30903/
    http://autobuild.buildroot.org/results/5ae/5ae336052fd32057d9631649279e142a81f5651f/
    http://autobuild.buildroot.org/results/5fc/5fc3abf4a1aea677f576e16c49253d00720a8bef/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibbdplus: select libgcrypt in Config.in as well
Peter Korsgaard [Sun, 3 Jul 2016 23:32:42 +0000 (01:32 +0200)]
libbdplus: select libgcrypt in Config.in as well

Fixes http://autobuild.buildroot.org/results/4d9/4d91521378402f3f5b6402ea453df4c14c391bdc/

libbdplus adds libgcrypt to its _DEPENDENCIES, but forgot to select it in
Config.in.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>