buildroot.git
8 years agobeaglebone: defconfigs: select ext4 as rootfs
Lothar Felten [Tue, 18 Oct 2016 19:51:53 +0000 (21:51 +0200)]
beaglebone: defconfigs: select ext4 as rootfs

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

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

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

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

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

Fixes [1]:

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

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

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

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

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofilemq: disable documentation generation
Peter Seiderer [Mon, 17 Oct 2016 21:20:27 +0000 (23:20 +0200)]
filemq: disable documentation generation

The parameter to disable asciidoc documentation generation changed from
'fmq_have_asciidoc' to 'filemq_have_asciidoc'.

Fixes [1], [2], [3]:

  File "/usr/bin/asciidoc", line 101
    except KeyError, k: raise AttributeError, k
                   ^
  SyntaxError: invalid syntax

[1] http://autobuild.buildroot.net/results/5f0/5f0558235756419eff15b8e909b5d630712f5141
[2] http://autobuild.buildroot.net/results/a23/a23d92b09dadc12b3753c951900e28fc19bd14cd
[3] http://autobuild.buildroot.net/results/a45/a450ff5c6008ccf290a028e6eab7ff26369243e7

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoDEVELOPERS: add entry for libite
Thomas Petazzoni [Sun, 16 Oct 2016 16:04:22 +0000 (18:04 +0200)]
DEVELOPERS: add entry for libite

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibite: new package
Ryan Coe [Thu, 13 Oct 2016 03:42:45 +0000 (20:42 -0700)]
libite: new package

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
[Thomas:
 - rewrap Config.in help text
 - improve license description]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofwup: add dependency on host-pkgconf
Thomas Petazzoni [Sun, 16 Oct 2016 15:49:50 +0000 (17:49 +0200)]
fwup: add dependency on host-pkgconf

The fwup configure.ac uses PKG_CHECK_MODULES(), and we're
autoreconfiguring this package, so we should depend on host-pkgconf.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoutil-linux: allow disabling the basic set of tools
Carlos Santos [Sun, 10 Jul 2016 01:16:09 +0000 (22:16 -0300)]
util-linux: allow disabling the basic set of tools

When even a single extra util-linux utility is enabled, the default
build and install will install many more programs, including many that
overlap with those offered by busybox.

Fix by reworking the install-utilies menu to take advantage of the new
--disable-all-programs config option. This option make it possible to
disable the basic set of apps, and then enable only the desired apps.

Original patch by Danomi Manchego, visible at
http://patchwork.ozlabs.org/patch/494866/

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
[Thomas/Arnout: remove the choice between all/custom/no, and simply have
a list of options with the basic set of tools, and then one option for
each tool. This gives the same flexibility, but avoids the choice, which
is never nice to have.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoutil-linux: improve license description
Thomas Petazzoni [Sun, 16 Oct 2016 12:52:48 +0000 (14:52 +0200)]
util-linux: improve license description

Use the recommended format for describing the license of different
components.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoutil-linux: expand selection of libraries and utilities
Carlos Santos [Sun, 10 Jul 2016 01:16:08 +0000 (22:16 -0300)]
util-linux: expand selection of libraries and utilities

- Add option to control installation of libfdisk
- Add libfdisk license to the comment in util-linux.mk
- List all utilities provided by the basic set and document that
  linux32, linux64, uname26, i386 and x86_64 are symlinks to setarch
- Add options to install cal, ipcrm, ipcs, logger, lslogin and pg

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
[Thomas: add missing dependency of the new lslogins option on
libsmartcols, and therefore !MMU.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoutil-linux: clean up libraries and tools selections
Carlos Santos [Sun, 10 Jul 2016 01:16:06 +0000 (22:16 -0300)]
util-linux: clean up libraries and tools selections

Fix several problems in the package recipe:

- Make 'bool "lib<foo>"' the first item in each block
- Move the depends before the selects
- Add missing dependencies on BR2_USE_MMU, for fork()
- Improve help for cramfs utilities and login utilities

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
[Thomas:
 - remove capitalization of prompts, for consistency
 - add missing dependencies on libsmartcols, and therefore !MMU]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/transmission: Use libsystemd instead of libsystemd-daemon
Bernd Kuhls [Sat, 24 Sep 2016 19:27:28 +0000 (21:27 +0200)]
package/transmission: Use libsystemd instead of libsystemd-daemon

Fixes
http://autobuild.buildroot.net/results/78a/78af581f24758f7c2b19305a801e4c6c943730fb/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolighttpd: bump version to 1.4.42
Vicente Olivert Riera [Sun, 16 Oct 2016 13:02:20 +0000 (14:02 +0100)]
lighttpd: bump version to 1.4.42

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogzip: force shell shebang to /bin/sh
Arnout Vandecappelle [Sat, 15 Oct 2016 21:14:11 +0000 (23:14 +0200)]
gzip: force shell shebang to /bin/sh

gzip's configure uses $SHELL to find a POSIX-compliant shell to put in
the shebang of its shell scripts (zcat, gzexe, ...). However, we set
$SHELL to /bin/bash in the Makefile, which may not be present on the
target. We do make sure that /bin/sh always points to a valid shell on
the target so we can use that.

The configure discovery is completely broken for cross-compilation. The
same $SHELL is used during the build (it is used by make to run the
commands in rules) and on the target. Also, the checks for a valid
shell use the host shell, not the target shell.

We could try to patch gzip to fix that, but the checks can anyway not
be run for the target shell, so we'll have to override it with a cache
value anyway. So we can just as well do exactly that, without patching.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reported-by: Pascal Speck <kernel@iktek.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain/external: remove unused Linaro symlink hook
Romain Naour [Tue, 11 Oct 2016 21:05:00 +0000 (23:05 +0200)]
toolchain/external: remove unused Linaro symlink hook

This hook was needed by 1014.09 Linaro toolchains.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain/external: bump Linaro AArch64 to 2016.05 for i686 hosts
Romain Naour [Tue, 11 Oct 2016 21:04:59 +0000 (23:04 +0200)]
toolchain/external: bump Linaro AArch64 to 2016.05 for i686 hosts

Tested with Qemu 2.6.1 and qemu_aarch64_virt_defconfig and with
HOSTARCH set to x86 in the Buildroot main Makefile.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain/external: bump Linaro ARMeb to 2016.05 for i686 hosts
Romain Naour [Tue, 11 Oct 2016 21:04:58 +0000 (23:04 +0200)]
toolchain/external: bump Linaro ARMeb to 2016.05 for i686 hosts

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain/external: bump Linaro ARM to 2016.05 for i686 hosts
Romain Naour [Tue, 11 Oct 2016 21:04:57 +0000 (23:04 +0200)]
toolchain/external: bump Linaro ARM to 2016.05 for i686 hosts

This Linaro release provide a new toolchain archive for i686 hosts, so update our
old 2014.09.

Tested with Qemu qemu-2.4.1-11.fc23 and with HOSTARCH set to x86 in the Buildroot
main Makefile.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibiscsi: bump version to 1.18.0
Vicente Olivert Riera [Sun, 16 Oct 2016 10:25:26 +0000 (11:25 +0100)]
libiscsi: bump version to 1.18.0

Also...

- Switch to GitHub.
- Remove LD=CC logic in libscsi.mk. This is now handled by the configure
  script.
- Add patch to fix unsafe include paths issues. This patch has been sent
  upstream as a pull request.
- Use a hook to create the m4 directory so autoreconf doesn't fail.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodocs/manual: document the br2-external desc: field
Yann E. MORIN [Fri, 14 Oct 2016 14:39:24 +0000 (16:39 +0200)]
docs/manual: document the br2-external desc: field

Docuement the new, optional desc: field for an external.desc file.

That part of the manual was starting to be a bit of a mess, so
reorganise it. Provide a complete br2-external tree example.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocore: support description for br2-external trees
Yann E. MORIN [Fri, 14 Oct 2016 14:39:23 +0000 (16:39 +0200)]
core: support description for br2-external trees

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocore: allow a br2-external tree to override a defconfig
Yann E. MORIN [Fri, 14 Oct 2016 14:39:22 +0000 (16:39 +0200)]
core: allow a br2-external tree to override a defconfig

Currently, it is not possible for a br2-external tree to override a
defconfig bundled in Buildroot, nor is it possible to override one from
a previous br2-external tree in the stack.

However, it is interesting that a latter br2-external tree be able to
override a defconfig:

  - the ones bundled in Buildroot are minimalist, and almost always
    build a toolchain, so a br2-external tree may want to provide a
    "better" defconfig (better, in the sense "suited for the project");

  - similarly for a defconfig from a previous br2-external tree.

But we can't do that, as the rules for the defconfigs are generated in
the order the br2-external trees are specified, all after the bundled
defconfigs. Those rule are patten-matching rules, which means that the
first one to match is used, and the following ones are ignored.

Add a new utility macro, 'reverse', inspired from GMSL, that does what
it says: reverse a list of words.

Use that macro to reverse the list of br2-external trees, so that the
latters win over the formers, and even over bundled ones.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Julien CORJON <corjon.j@ecagroup.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodocs/manual: document multi br2-external
Yann E. MORIN [Fri, 14 Oct 2016 14:39:21 +0000 (16:39 +0200)]
docs/manual: document multi br2-external

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Julien CORJON <corjon.j@ecagroup.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocore: add support for multiple br2-external trees
Yann E. MORIN [Fri, 14 Oct 2016 14:39:20 +0000 (16:39 +0200)]
core: add support for multiple br2-external trees

Currently, we only support at most one br2-external tree. Being able
to use more than one br2-external tree can be very useful.

A use-case would be for having a br2-external to contain the basic
packages, basic board defconfigs and board files, provided by one team
responsible for the "board-bringup", while other teams consume that
br2-external as a base, and complements it each with their own set of
packages, defconfigs and extra board files.

Another use-case would be for third-parties to provide their own
Buildroot packaging in a br2-external tree, along-side the archives for
their stuff.

Finally, another use-case is to be able to add FLOSS packages in a
br2-external tree, and proprietary packages in another. This allows
to not touch the Buildroot tree at all, and still be able to get in
compliance by providing only that br2-external tree(s) that contains
FLOSS packages, leaving aside the br2-external tree(s) with the
proprietary bits.

What we do is to treat BR2_EXTERNAL as a colon-separated (space-
separated also work, and we use that internally) list of paths, on which
we iterate to construct:

  - the list of all br2-external names, BR2_EXTERNAL_NAMES,

  - the per-br2-external tree BR2_EXTERNAL_$(NAME) variables, which
    point each to the actual location of the corresponding tree,

  - the list of paths to all the external.mk files, BR2_EXTERNAL_MKS,

  - the space-separated list of absolute paths to the external trees,
    BR2_EXTERNAL_DIRS.

Once we have all those variables, we replace references to BR2_EXTERNAL
with either one of those.

This cascades into how we display the list of defconfigs, so that it is
easy to see what br2-external tree provides what defconfigs. As
suggested by Arnout, tweak the comment from "User-provided configs" to
"External configs", on the assumption that some br2-external trees could
be provided by vendors, so not necessarily user-provided. Ditto the menu
in Kconfig, changed from "User-provided options" to "External options".

Now, when more than one br2-external tree is used, each gets its own
sub-menu in the "User-provided options" menu. The sub-menu is labelled
with that br2-external tree's name and the sub-menu's first item is a
comment with the path to that br2-external tree.

If there's only one br2-external tree, then there is no sub-menu; there
is a single comment that contains the name and path to the br2-external
tree.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Julien CORJON <corjon.j@ecagroup.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodocs/manual: add appendix to convert old br2-external trees
Yann E. MORIN [Fri, 14 Oct 2016 14:39:19 +0000 (16:39 +0200)]
docs/manual: add appendix to convert old br2-external trees

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Julien CORJON <corjon.j@ecagroup.com>
[Peter: slightly reword]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodocs/manual: document the br2-external NAME
Yann E. MORIN [Fri, 14 Oct 2016 14:39:18 +0000 (16:39 +0200)]
docs/manual: document the br2-external NAME

Update the manual with the new external.desc mandatory file.

Take the opportunity to add a section listing all mandatory files,
Config.in, external.mk and the new external.desc, instead of just
hinting about them in the external package recipes section.

Change the examples to use the NAME-suffixed variable instead of the
raw BR2_EXTERNAL variable.

Change all references to BR2_EXTERNAL elsewhere in the manual to now
use the 'br2-external tree' terminology.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Julien CORJON <corjon.j@ecagroup.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocore: introduce per br2-external NAME
Yann E. MORIN [Fri, 14 Oct 2016 14:39:17 +0000 (16:39 +0200)]
core: introduce per br2-external NAME

This unique NAME is used to construct a per br2-external tree variable,
BR2_EXTERNAL_$(NAME)_PATH, which contains the path to the br2-external
tree.

This variable is available both from Kconfig (set in the Kconfig
snippet) and from the .mk files.

Also, display the NAME and its path as a comment in the menuconfig.

This will ultimately allow us to support multiple br2-external trees at
once, with that NAME (and thus BR2_EXTERNAL_$(NAME)) uniquely defining
which br2-external tree is being used.

The obvious outcome is that BR2_EXTERNAL should now no longer be used to
refer to the files in the br2-external tree; that location is now known
from the BR2_EXTERNAL_$(NAME)_PATH variable instead. This means we no
longer need to expose, and must stop from from exposing BR2_EXTERNAL as
a Kconfig variable.

Finally, this also fixes a latent bug in the pkg-generic infra, where we
would so far always refer to BR2_EXTERNAL (even if not set) to filter
the names of packages (to decide whether they are a bootloader, a
toolchain or a simple package).

Note: since the variables in the Makefile and in Kconfig are named the
same, the one we computed early on in the Makefile will be overridden by
the one in .config when we have it. Thus, even though they are set to
the same raw value, the one from .config is quoted and, being included
later in the Makefile, will take precedence, so we just re-include the
generated Makefile fragment a third time before includeing the
br2-external's Makefiles. That's unfortunate, but there is no easy way
around that as we do want the two variables to be named the same in
Makefile and Kconfig (and we can't ask the user to un-quote that variable
himself either), hence this little dirty triple-inclusion trick.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocore/br2-external: validate even more
Yann E. MORIN [Fri, 14 Oct 2016 14:39:16 +0000 (16:39 +0200)]
core/br2-external: validate even more

A br2-external tree must provide external.mk and Config.in.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocore: offload handling of BR2_EXTERNAL into the script
Yann E. MORIN [Fri, 14 Oct 2016 14:39:15 +0000 (16:39 +0200)]
core: offload handling of BR2_EXTERNAL into the script

Currently, we treat the case where we have no br2-external tree
(BR2_EXTERNAL is empty) differently from the case where we do have one
(BR2_EXTERNAL is not empty).

There is now no reason to treat those two cases differently:

  - the kconfig snippet is always generated appropriately (i.e. it would
    include the br2-external tree if set, or include nothing otherwise);

  - we no longer have a dummy br-external tree either.

Also, the Makefile code to handle BR2_EXTERNAL is currently quite
readable if at least a little bit tricky.

However, when we're going to add support for using multiple br2-external
trees simultaneously, this code would need to get much, much more complex.

To keep the Makefile (rather) simple, offload all of the handling of
BR2_EXTERNAL to the recently added br2-external helper script.

However, because of Makefiles idiosyncracies, we can't use a rule to
generate that Makefile fragment.

Instead, we use $(shell ...) to call the helper script, and include the
fragment twice: once before the $(shell ...) so we can grab a previously
defined BR2_EXTERNAL value, a second time to use the one passed on the
command line, if any.

Furthermore, we can't error out (e.g. on non-existent br2-external tree)
directly from the fragment or we'd get that error on subsequent calls,
with no chance to override it even from command line.

Instead, we use a variable in which we store the error, set it to empty
before the second inclusion, so that only the one newly generated, if
any, is taken into account.

Since we know the script will always be called from Makefile context
first, we know validation will occur in Makefile context first. So we
can assume that, if there is an error, it will be detected in Makefile
context. Consequently, if the script is called to generate the kconfig
fragment, validation has already occured, and there should be no error.
So we change the error function to generate Makefile code, so that
errors are caught as explained above.

Lastly, when the value of BR2_EXTERNAL changes, we want to 'forget'
about the previous value of the BR2_EXTERNAL_MK variable, especially in
the case where BR2_EXTERNAL is now set to empty, so that we do not try
to include it later. That's why we first generate empty version of
BR2_EXTERNAL_MK, and then assign it the new value, if any.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocore: get rid of our dummy br2-external tree
Yann E. MORIN [Fri, 14 Oct 2016 14:39:14 +0000 (16:39 +0200)]
core: get rid of our dummy br2-external tree

Now that we generate a kconfig snippet, we can conditionally include the
BR2_EXTERNAL's Config.in only when BR2_EXTERNAL is supplied by the user,
which means our empty/dummy Config.in is no needed.

As for external.mk, we can also include it only when BR2_EXTERNAL is
supplied by the user, which means our empty/dummy external.mk is no
longer needed.

Ditch both of those files, and:

  - only generate actual content in the Kconfig snippet when we actually
    do have a BR2_EXTERNAL provided by the user (i.e. BR2_EXTERNAL is not
    empty);

  - add a variable that contains the path to the external.mk provided by
    the user, or empty if none, and include the path set in that variable
    (make can 'include' nothing without any problem! ;-) )

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Romain Naour <romain.naour@openwide.fr>
Cc: Julien CORJON <corjon.j@ecagroup.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocore: do not hard-code inclusion of br2-external in Kconfig
Yann E. MORIN [Fri, 14 Oct 2016 14:39:13 +0000 (16:39 +0200)]
core: do not hard-code inclusion of br2-external in Kconfig

Move the inclusion of br2-external's Config.in to the generated kconfig
snippet.

This will ultimately allow us to use more than one br2-external tree.

Offload the "User-provided options" menu to the generated Kconfig
snippet. We can also move the definition of the Kconfig-version of
BR2_EXTERNAL into this snippet.

We introduce an extra check that was not present in the previous code,
to check that we do have permission on that directory. Prevciously, it
was handled as a side effect of not being able to cd into there, but it
is cleaner to check it expressly.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/go-bootstrap: bump version to 1.4.3
Bernd Kuhls [Sun, 16 Oct 2016 09:58:54 +0000 (11:58 +0200)]
package/go-bootstrap: bump version to 1.4.3

This bump includes
https://go.googlesource.com/go/+/a527bdbda39c48fa772d8d54eb6b849f240442c1

which fixes a gcc6-related compile error

cmd/6c
/home/buildroot/br2/output/build/host-go-bootstrap-1.4.2/src/cmd/6c/txt.c: In function 'gmove':
/home/buildroot/br2/output/build/host-go-bootstrap-1.4.2/src/cmd/6c/txt.c:995:28: error: left shift of negative value [-Werror=shift-negative-value]
     f->vconst |= (vlong)~0 << 32;
                            ^~
/home/buildroot/br2/output/build/host-go-bootstrap-1.4.2/src/cmd/6c/txt.c:1045:28: error: left shift of negative value [-Werror=shift-negative-value]
     f->vconst |= (vlong)~0 << 32;
                            ^~
cc1: all warnings being treated as errors

not yet caught by autobuilders using this defconfig:

http://autobuild.buildroot.net/results/394/394e22be0ef986463e97b3040dad8f978262732c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/linux-pam: bump to version 1.3.0
Bernd Kuhls [Sun, 16 Oct 2016 08:50:32 +0000 (10:50 +0200)]
package/linux-pam: bump to version 1.3.0

removed 0003-Conditionally-compile-per-innetgr-availability.patch,
applied upstream:
https://git.fedorahosted.org/cgit/linux-pam.git/commit/?id=835d64947996b7cc96fe187f9b3103db36dddf77

This bump includes
https://git.fedorahosted.org/cgit/linux-pam.git/commit/?id=01e0038fa55581c4afc9d63b6180d2ea77ba2940
which fixes
http://autobuild.buildroot.net/results/394/394e22be0ef986463e97b3040dad8f978262732c/

Removed comment in Config.in about broken --enable-static-modules
configure option because it was removed upstream:

https://git.fedorahosted.org/cgit/linux-pam.git/commit/?id=a684595c0bbd88df71285f43fb27630e3829121e

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogcc: remove BR2_GCC_SUPPORTS_GRAPHITE
Arnout Vandecappelle [Sun, 16 Oct 2016 07:11:33 +0000 (09:11 +0200)]
gcc: remove BR2_GCC_SUPPORTS_GRAPHITE

The blind option BR2_GCC_SUPPORTS_GRAPHITE was used to distinguish gcc
versions that support the graphite loop optimizer. But since a while
already, all the versions we support do support graphite. So this symbol
isn't needed anymore.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogcc: gcc arc supports graphite
Arnout Vandecappelle [Sun, 16 Oct 2016 07:11:32 +0000 (09:11 +0200)]
gcc: gcc arc supports graphite

The ARC version of gcc does support graphite. It was probably just
forgotten when the BR2_GCC_VERSION_ARC symbol was introduced.

While we're at it, also remove a redundant newline.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: ARC Maintainers <arc-buildroot@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogcc: remove BR2_GCC_NEEDS_MPC
Arnout Vandecappelle [Sun, 16 Oct 2016 07:11:31 +0000 (09:11 +0200)]
gcc: remove BR2_GCC_NEEDS_MPC

The blind option BR2_GCC_NEEDS_MPC was used to distinguish gcc versions
that rely on the mpc library and the ones that don't. But since a while
already, all the versions we support do need the mpc library. So this
symbol isn't needed anymore.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodependencies: check for Math BigInt/BigRat Perl module
Romain Naour [Wed, 6 Jul 2016 22:43:32 +0000 (00:43 +0200)]
dependencies: check for Math BigInt/BigRat Perl module

As for MakeMaker Perl module, add a check for Math BigInt/BigRat Perl
Core module, which are needed by mpv.

Fixes:
Waf: Entering directory `output/build/mpv-0.17.0/build'
[  1/198] Compiling version.sh
[ 12/198] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c -> build/ebml_types.h
[ 13/198] Compiling demux/ebml.c
Can't locate Math/BigRat.pm in @INC (you may need to install the Math::BigRat module)

Waf: Entering directory `output/build/mpv-0.17.0/build'
[  1/198] Compiling version.sh
[  2/198] Compiling TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
[  3/198] Compiling video/out/x11_icon.bin
[  4/198] Compiling etc/input.conf
[  5/198] Compiling sub/osd_font.otf
[  6/198] Compiling video/out/opengl/nnedi3_weights.bin
[  7/198] Compiling player/lua/defaults.lua
[  8/198] Compiling player/lua/assdraw.lua
[  9/198] Compiling player/lua/options.lua
[ 10/198] Compiling player/lua/osc.lua
[ 11/198] Compiling player/lua/ytdl_hook.lua
[ 12/198] Processing ebml_types.h: demux/ebml.c demux/demux_mkv.c -> build/ebml_types.h
[ 13/198] Compiling demux/ebml.c
[ 14/198] Compiling DOCS/man/mpv.rst
Can't locate Math/BigInt.pm in @INC (you may need to install the Math::BigInt module)

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: François Perrad <francois.perrad@gadz.org>
[Thomas et al.: make those perl modules only required when mpv is enabled.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodependencies: check for MakeMaker Perl module
Romain Naour [Wed, 6 Jul 2016 22:43:31 +0000 (00:43 +0200)]
dependencies: check for MakeMaker Perl module

ExtUtils::MakeMaker is one of the Perl Core modules usually packaged in
Perl package for a Debian/Ubuntu based system.
For a Fedora based system, each Perl Core modules have their own RPM
package. So install only Perl package is not enough.

Fixes:
>>> host-libxml-parser-perl 2.41 Configuring
[...]
perl `which perl` Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (you may need to install the ExtUtils::MakeMaker module)

Add a new Perl module check in dependency.sh.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: François Perrad <francois.perrad@gadz.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/qt: Avoid X11 header collision with OpenGL/EGL
Bernd Kuhls [Sat, 11 Jun 2016 16:30:19 +0000 (18:30 +0200)]
package/qt: Avoid X11 header collision with OpenGL/EGL

Including X11 headers via EGL/egl.h leads to a collision of defines
between Qt and X11. To fix this qt5 added
  DEFINES += MESA_EGL_NO_X11_HEADERS
in various files:

https://github.com/qtproject/qtbase/blob/dev/src/platformsupport/eglconvenience/eglconvenience.pri#L19
https://github.com/qtproject/qtbase/blob/dev/src/plugins/platforms/minimalegl/minimalegl.pro#L10
https://github.com/qtproject/qtbase/blob/dev/src/plugins/platforms/eglfs/deviceintegration/eglfs_x11/eglfs_x11.pro#L6
[...]

This patch fixes a similar compile error in qt4:
http://autobuild.buildroot.net/results/9b0/9b0ed92984eead89d148eaa71aff6e2f1e117837/
http://autobuild.buildroot.org/results/4fd/4fd57553336d36439fab32a7221fc8639758e887/
http://autobuild.buildroot.org/results/5cb/5cb8072f8220f7203fa79936eedcc43eab53ec66/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoRemove BR2_DEPRECATED
Arnout Vandecappelle [Sat, 15 Oct 2016 14:51:07 +0000 (16:51 +0200)]
Remove BR2_DEPRECATED

The BR2_DEPRECATED logic is a lot less useful than the legacy handling,
because the symbols just disappears without warning to the user. For
example, we had a few defconfigs that were using deprecated symbols
(which were not actually used because BR2_DEPRECATED wasn't set) so
these didn't build the expected code anymore.

Also, the idea behind BR2_DEPRECATED is that you can easily revive it
again if there is interest. However, it is relatively easy to revert
the removal of a package as well.

The deprecation is also more effort because it has to be removed twice:
once when deprecating, and once when really removing.

It doesn't make sense to add a legacy entry for BR2_DEPRECATED. Users
who actually used it will get legacy warnings instead.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowvstreams: remove deprecated package
Arnout Vandecappelle [Sat, 15 Oct 2016 14:51:06 +0000 (16:51 +0200)]
wvstreams: remove deprecated package

We will remove BR2_DEPRECATED, so remove this deprecated package.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowvdial: remove deprecated package
Arnout Vandecappelle [Sat, 15 Oct 2016 14:51:05 +0000 (16:51 +0200)]
wvdial: remove deprecated package

We will remove BR2_DEPRECATED, so remove this deprecated package.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowebkitgtk24: remove deprecated package
Arnout Vandecappelle [Sat, 15 Oct 2016 14:51:04 +0000 (16:51 +0200)]
webkitgtk24: remove deprecated package

We will remove BR2_DEPRECATED, so remove this deprecated package.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotorsmo: remove deprecated package
Arnout Vandecappelle [Sat, 15 Oct 2016 14:51:03 +0000 (16:51 +0200)]
torsmo: remove deprecated package

We will remove BR2_DEPRECATED, so remove this deprecated package.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosstrip: remove deprecated package
Arnout Vandecappelle [Sat, 15 Oct 2016 14:51:02 +0000 (16:51 +0200)]
sstrip: remove deprecated package

We will remove BR2_DEPRECATED, so remove this deprecated package.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: remove deprecated version 4.2 and 4.3
Arnout Vandecappelle [Sat, 15 Oct 2016 14:51:01 +0000 (16:51 +0200)]
linux-headers: remove deprecated version 4.2 and 4.3

We will remove BR2_DEPRECATED, so remove this deprecated package.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agokodi-addon-xvdr: remove deprecated package
Arnout Vandecappelle [Sat, 15 Oct 2016 14:51:00 +0000 (16:51 +0200)]
kodi-addon-xvdr: remove deprecated package

We will remove BR2_DEPRECATED, so remove this deprecated package.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoipkg: remove deprecated package
Arnout Vandecappelle [Sat, 15 Oct 2016 14:50:59 +0000 (16:50 +0200)]
ipkg: remove deprecated package

We will remove BR2_DEPRECATED, so remove this deprecated package.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogcc: remove deprecated 4.7.x
Arnout Vandecappelle [Sat, 15 Oct 2016 14:50:58 +0000 (16:50 +0200)]
gcc: remove deprecated 4.7.x

We will remove BR2_DEPRECATED, so remove this deprecated option.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobinutils: remove deprecated 2.24.X
Arnout Vandecappelle [Sat, 15 Oct 2016 14:50:57 +0000 (16:50 +0200)]
binutils: remove deprecated 2.24.X

We will remove BR2_DEPRECATED, so remove this deprecated option.

[Peter: drop binutils patches]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/freescale_mpc8315erdb: remove U-Boot build
Arnout Vandecappelle [Sat, 15 Oct 2016 14:50:56 +0000 (16:50 +0200)]
configs/freescale_mpc8315erdb: remove U-Boot build

Binutils was locked down to 2.24 because U-Boot 2014.01 didn't build
with more recent binutils. However, this doesn't work anymore because
binutils 2.24 is deprecated.

Current U-Boot 2016.09.01 doesn't work out of the box because the
u-boot-nand.img support has been removed.

Since updating U-Boot is generally not needed anyway, we just remove
the U-Boot support.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/freescale_p1010rdb_pa: remove U-Boot build
Arnout Vandecappelle [Sat, 15 Oct 2016 14:50:55 +0000 (16:50 +0200)]
configs/freescale_p1010rdb_pa: remove U-Boot build

Binutils was locked down to 2.24 because U-Boot 2014.01 didn't build
with more recent binutils. However, this doesn't work anymore because
binutils 2.24 is deprecated.

Current U-Boot 2016.09.01 does build successfully, but we don't have a
board anymore to test it.

Since updating U-Boot is generally not needed anyway, we just remove
the U-Boot support.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agorapidxml: add patch to fix usage with gcc 4.7+
James Knight [Thu, 29 Sep 2016 21:26:29 +0000 (17:26 -0400)]
rapidxml: add patch to fix usage with gcc 4.7+

The official `rapidxml` package release only supports up to GCC 4.6.x
for all capabilities. Implementers attempting to include the file
"rapidxml_print.hpp" will all result in a compilation failure when using
a currently supported Buildroot GCC version (all 4.7+ at this time).
With the provided patch, dependent packages will be able to use all of
rapidxml's capabilities using a generated toolchain from Buildroot (let
alone external toolchains).

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
[Thomas: rework patch so that it contains the proper line endings, and
applies properly without a pre-patch hook to convert the line endings
beforehand.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/lego_ev3: bump kernel to 4.4 series
Vincent Stehlé [Sat, 15 Oct 2016 16:51:55 +0000 (18:51 +0200)]
configs/lego_ev3: bump kernel to 4.4 series

Bump kernel revision used by lego_ev3_defconfig to the latest tag from
ev3dev, as suggested by Peter. This is a 4.4 series kernel, which has the
added benefit of not necessitating a specific gcc to boot.

We need a patch to create an empty drivers/lego/Kconfig file for the build
to succeed though, as the ev3dev kernel normally expects a drivers tree to
be checked out there.

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Suggested-by: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5: bump version to 5.6.2
Peter Seiderer [Sat, 15 Oct 2016 17:28:17 +0000 (19:28 +0200)]
qt5: bump version to 5.6.2

- qt5base: remove obsolete '-no-nis' configure parameter ([1])
- qt5base: remove  upstream committed patch 0007-Remove-libudev-dependency-from-kms.pro.patch ([2])
- qt5imageformats: remove upstream committed  patch 0001-tvOS-support.patch ([3])

[1] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=644d0e75240811212ed9fd0c21e3bd05db3ba5db
[2] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=72492735b7b7770808fcc9fe067e8f03fab827fc
[3] https://git.buildroot.net/buildroot/commit/package/qt5?id=9a55b996651fdfbc40e202cb4dd725dce624ca91

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/arm_juno: use official kernel tarball
Thomas Petazzoni [Sat, 15 Oct 2016 20:15:13 +0000 (22:15 +0200)]
configs/arm_juno: use official kernel tarball

Since commit
0924208839336f1a1bb29eb1a627005ba6b9065d ("configs/arm_juno: use 4.6
mainline kernel"), we're using a mainline kernel for the ARM Juno
board. But we're still fetching it from a Git repository, which is not
really efficient, so let's switch to use a tarball instead.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi: needs .py modules
Yann E. MORIN [Sat, 15 Oct 2016 16:10:51 +0000 (18:10 +0200)]
package/kodi: needs .py modules

Kodi segfaults as soon as it tries to load a python module:

    Could not find platform independent libraries <prefix>
    Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
    ImportError: No module named site
    Segmentation fault

Turns out that keeping .py modules (with or without .pyc) fixes the
issue.

Currently, Kodi selects python, but since the format of modules is a
choice, we can not select it.

Fix that by inverting the dependency on python from Kodi:
  - turn it into a depends rather than a select,
  - add the dependency to ! pyc-only
  - update the comment accordingly.

In addition, the !MMU and !static dependencies are updated since they
are no longer needed for Python (we now depend on it rather than
selecting it), but for other packages. The !MMU dependency is moved to
the _ARCH_SUPPORTS symbol as well.

Also, we can no longer "select BR2_PACKAGE_SAMBA4", because samba4
selects python, and we can no longer select python. Therefore, we switch
to a "depends on" dependency for samba4, which is fine as a user willing
to use Kodi with Samba will certainly realize that Samba should be
enabled.

Fixes bug #9221.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas:
 - update on latest master
 - take care of the !MMU/!static dependencies.
 - take care of the samba4 problem.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/zynq_*_defconfig: enable VFP support
Peter Korsgaard [Sat, 15 Oct 2016 16:41:16 +0000 (18:41 +0200)]
configs/zynq_*_defconfig: enable VFP support

The A9 cores inside the Xilinx Zynq have a VFP unit, so enable it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs: add defconfig for Digilent Zybo
Sebastien Van Cauwenberghe [Sun, 24 Jul 2016 15:36:58 +0000 (17:36 +0200)]
configs: add defconfig for Digilent Zybo

This configuration allows out-of-the box Digilent Zybo
support. It uses mainline U-boot and Linux kernel.
This configuration generates a SD card image named sdcard.img.

[Peter: rename genimage.cfg, cleanup post-image script, enable VFP support,
  use 4.6 kernel headers and add tools needed by genimage]
Signed-off-by: Sebastien Van Cauwenberghe <svancau@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosqlite: bump version to 3150000 (3.15.0)
Vicente Olivert Riera [Sat, 15 Oct 2016 15:35:35 +0000 (16:35 +0100)]
sqlite: bump version to 3150000 (3.15.0)

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/beaglebone_qt5: new defconfig
Lothar Felten [Thu, 22 Sep 2016 22:20:49 +0000 (00:20 +0200)]
configs/beaglebone_qt5: new defconfig

Add a target configuration for the beaglebone that supports the SGX530
graphics acceleration and builds the qt5 demos with the eglfs backend.
The imagination technologies demos and fbv are also included. The Linux
kernel is based on the omap2plus defconfig, a config fragment adds the
required settings for SGX accelerator support.

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/beaglebone: update kernel/uboot, add AM335x EVM support
Lothar Felten [Thu, 22 Sep 2016 22:20:48 +0000 (00:20 +0200)]
configs/beaglebone: update kernel/uboot, add AM335x EVM support

This patch updates the target config for the beaglebone based on the
AM335x CPU. It also supports the beagleboneblack, the TI evm and evmsk.
Device tree blobs for am335x-evm, am335x-evmsk, am335x-bone,
am335x-boneblack will be built and a sd card image is created with a
post-image script.  The kernel and driver versions match the
ti-processor-sdk 02.00.00.00.  Patches allow the use of old AM335x evm
revisions (1 bit sd card) and JTAG debugging.

Kernel JTAG patch: By default the kernel will disable the JTAG clock,
access via the JTAG port will not work after the kernel booted. The
AM335x-evm has a JTAG header fitted, this patch keeps the JTAG clock
alive.

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
[Thomas: remove 1-bit MMC patch, it's causing a significant performance
regression for users of BeagleBone, which are 99.99% of the users of
this defconfig.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoDEVELOPPERS: add packages I'm interesting in
Yann E. MORIN [Sat, 15 Oct 2016 13:55:41 +0000 (15:55 +0200)]
DEVELOPPERS: add packages I'm interesting in

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogcc: add patches to fix PR70473
Thomas Petazzoni [Sat, 15 Oct 2016 13:53:18 +0000 (15:53 +0200)]
gcc: add patches to fix PR70473

gcc 5.x introduced a regression in the ARM build, which causes the
s-automata program to consume a very significant amount of RAM during
the gcc build. This causes numerous failures with our Travis-CI based
testing of defconfigs.

In order to address this, this commit backports a commit from the gcc
master branch, to both our gcc 5.x and gcc 6.x support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain-buildroot: enable Musl for MIPS R6
Vicente Olivert Riera [Sat, 15 Oct 2016 13:36:22 +0000 (14:36 +0100)]
toolchain-buildroot: enable Musl for MIPS R6

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogcc: add support for MIPS R6 Musl
Vicente Olivert Riera [Sat, 15 Oct 2016 13:36:21 +0000 (14:36 +0100)]
gcc: add support for MIPS R6 Musl

Backport upstream patch to add support for MIPS R6 Musl:

  https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=83717065090bb8b954556d1216dd9dc397dc0243

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoDEVELOPERS: change developer for wpa_supplicant
Thomas Petazzoni [Sat, 15 Oct 2016 13:54:45 +0000 (15:54 +0200)]
DEVELOPERS: change developer for wpa_supplicant

The wpa_supplicant was in fact no introduced by Peter, but by Gustavo,
and Gustavo is much more active in maintaining this package, so let's
mention Gustavo as the developer for this package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoDEVELOPERS: update entry for gcc
Thomas Petazzoni [Sat, 15 Oct 2016 13:53:36 +0000 (15:53 +0200)]
DEVELOPERS: update entry for gcc

Refering to package/gcc/gcc-initial and package/gcc/gcc-final was not a
good idea, as it doesn't notify when gcc patches are
added/removed/modified, so change this to package/gcc so that it catches
all changes.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenblas: use MIPS specific cores for P5600 and I6400
Vicente Olivert Riera [Sat, 15 Oct 2016 11:26:12 +0000 (12:26 +0100)]
openblas: use MIPS specific cores for P5600 and I6400

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoqt53d, qt5serialbus: move to technology preview section
Matt Kraai [Tue, 11 Oct 2016 02:46:00 +0000 (19:46 -0700)]
qt53d, qt5serialbus: move to technology preview section

As explained in
https://wiki.qt.io/New_Features_in_Qt_5.6#Technology_Preview_Modules,
not only qt5quickcontrols2 is a technology preview component in Qt 5.6,
but also qt53d, qt5serialbus.

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
[Thomas: improve commit log with a reference.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodmidecode: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Thu, 13 Oct 2016 22:13:58 +0000 (19:13 -0300)]
dmidecode: use $(TARGET_MAKE_ENV) when calling $(MAKE)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

In this case in particular it's $(TARGET_CONFIGURE_OPTS), which includes
$(TARGET_MAKE_ENV).

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

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

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

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

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

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

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

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

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

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

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

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

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