buildroot.git
11 years agonetcat: add license information
Phil Eichinger [Mon, 14 Oct 2013 14:05:39 +0000 (16:05 +0200)]
netcat: add license information

Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoboost: fix build failures after version bump
Gustavo Zacarias [Mon, 14 Oct 2013 14:15:11 +0000 (11:15 -0300)]
boost: fix build failures after version bump

Fix build failures that happened after the version bump such as:
http://autobuild.buildroot.net/results/570/570b091702763b29843d9207bc14dea67085fea0/
http://autobuild.buildroot.net/results/c26/c26498f1a4e6bcbc3a2dfce6a51fa7d21b72f21f/
and other failures by disabling the new (1.54+) coroutine and log
libraries which weren't handled and hence enabled by default.

These also made the target size bigger and build times longer
unnecessarily.

When/if they are needed for some future user this can be revisited and
their proper conditions for enablement assesed.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoConfig.in files: unify comments of toolchain option dependencies
Thomas De Schampheleire [Sun, 13 Oct 2013 14:55:32 +0000 (16:55 +0200)]
Config.in files: unify comments of toolchain option dependencies

This patch lines up the comments in Config.in files that clarify which
toolchain options the package depends on.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agomanual: add section about depending on target and toolchain options
Thomas De Schampheleire [Sun, 13 Oct 2013 14:55:31 +0000 (16:55 +0200)]
manual: add section about depending on target and toolchain options

Currently, the comments in Config.in files when depending on toolchain
options are not at all lined up.  This patch adds a section to the
documentation that explains which format is to be used.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agosnmppp: adjust toolchain comment for new-style format
Peter Korsgaard [Mon, 14 Oct 2013 20:33:19 +0000 (22:33 +0200)]
snmppp: adjust toolchain comment for new-style format

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoweston: add missing toolchain comments
Arnout Vandecappelle (Essensium/Mind) [Mon, 14 Oct 2013 17:13:28 +0000 (19:13 +0200)]
weston: add missing toolchain comments

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[yann.morin.1998@free.fr: fix missing double-quote at end of comment]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoweston: improve selection of compositor
Arnout Vandecappelle (Essensium/Mind) [Mon, 14 Oct 2013 17:13:27 +0000 (19:13 +0200)]
weston: improve selection of compositor

The way the compositor was selected in Config.in was counter-intuitive,
because the fbdev backend is selected by default even if a different one
is available.

Instead, select the fbdev backend only if no other one was selected by
the user.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[yann.morin.1998@free.fr: don't reorder entries, keep alphabetical sort]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agosupport/kconfig: Fix typo in README.buildroot.
Peter Seiderer [Mon, 14 Oct 2013 18:24:31 +0000 (20:24 +0200)]
support/kconfig: Fix typo in README.buildroot.

Fix typo in README.buildroot (s/config/kconfig/).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agosnmppp: new package
Gustavo Zacarias [Mon, 14 Oct 2013 13:47:15 +0000 (10:47 -0300)]
snmppp: new package

[Peter: add comment about why AUTORECONF is needed]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoautossh: new package
Gustavo Zacarias [Mon, 14 Oct 2013 13:46:11 +0000 (10:46 -0300)]
autossh: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotcl: specify ln -sf to remove existing destination file
Axel Lin [Mon, 14 Oct 2013 13:23:02 +0000 (21:23 +0800)]
tcl: specify ln -sf to remove existing destination file

This fixes below build error when executing
"make tcl-dirclean; make tcl-rebuild".

ln -s tclsh8.4 /opt/test/br-x86/buildroot/output/target/usr/bin/tclsh
ln: failed to create symbolic link '/opt/test/br-x86/buildroot/output/target/usr/bin/tclsh': File exists
make: *** [/opt/test/br-x86/buildroot/output/build/tcl-8.4.19/.stamp_target_installed] Error 1

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agosam-ba: specify ln -sf to remove existing destination file
Axel Lin [Mon, 14 Oct 2013 13:22:19 +0000 (21:22 +0800)]
sam-ba: specify ln -sf to remove existing destination file

This fixes below build error when executing
"make host-sam-ba-dirclean; make host-sam-ba-rebuild".

ln -s ../../opt/sam-ba/sam-ba /opt/test/br-x86/buildroot/output/host/usr/bin/sam-ba
ln: failed to create symbolic link '/opt/test/br-x86/buildroot/output/host/usr/bin/sam-ba': File exists
make: *** [/opt/test/br-x86/buildroot/output/build/host-sam-ba-2.12/.stamp_host_installed] Error 1

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoncftp: specify ln -sf to remove existing destination files
Axel Lin [Mon, 14 Oct 2013 13:21:30 +0000 (21:21 +0800)]
ncftp: specify ln -sf to remove existing destination files

This fixes below build error when executing "make ncftp-dirclean; make".

ln -s /usr/bin/ncftpbatch /opt/test/br-x86/buildroot/output/target/usr/bin/ncftpspooler
ln: failed to create symbolic link '/opt/test/br-x86/buildroot/output/target/usr/bin/ncftpspooler': File exists
make: *** [/opt/test/br-x86/buildroot/output/build/ncftp-3.2.5/.stamp_target_installed] Error 1

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage: fix 'local' site method for host packages
Thomas Petazzoni [Sat, 12 Oct 2013 10:15:08 +0000 (12:15 +0200)]
package: fix 'local' site method for host packages

Using the 'local' site method works just fine for target
packages. However, for host packages, when HOST_<pkg>_SITE is
automatically defined by the package infrastructure to be equal to
<pkg>_SITE, when defining the <pkg>_OVERRIDE_SRCDIR, the $($(2)_SITE)
is empty, due to a missing additional dollar sign.

This patch ensures that the <pkg>_OVERRIDE_SRCDIR gets the correct
value, regardless of whether the HOST_<pkg>_SITE variable has been
defined by the package itself, or inferred by the package
infrastructure using the <pkg>_SITE value.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reported-by: http://stackoverflow.com/questions/19311747/buildroot-cant-use-local-site-method-for-custom-host-packages
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoboost: Fix compilation of Boost.Variants move assignment
Luca Ceresoli [Fri, 11 Oct 2013 20:37:43 +0000 (22:37 +0200)]
boost: Fix compilation of Boost.Variants move assignment

Fix compilation of Boost.Variants move assignment for situations when one of the variant template classes has nothrow copy constructor and throwing move constructor (refs #8772)

Fixes compilation error:

.../output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/variant/variant.hpp: In member function 'void boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>::move_assigner::internal_visit(RhsT&, int) [with RhsT = boost::shared_ptr<void>, T0_ = boost::shared_ptr<void>, T1 = boost::signals2::detail::foreign_void_shared_ptr, T2 = boost::detail::variant::void_, ..., T18 = boost::detail::variant::void_, T19 = boost::detail::variant::void_]':
...
.../output/host/usr/arm-buildroot-linux-gnueabihf/sysroot/usr/include/boost/variant/variant.hpp:2058:13: error: no matching function for call to 'boost::variant<boost::shared_ptr<void>, boost::signals2::detail::foreign_void_shared_ptr>::move_assigner::assign_impl(boost::shared_ptr<void>&, nothrow_copy, nothrow_move_constructor, boost::variant<boost::shared_ptr<void>, boost::signals2::detail::foreign_void_shared_ptr>::has_fallback_type_)'

Reported here: https://svn.boost.org/trac/boost/ticket/8772

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Backported-from: https://svn.boost.org/trac/boost/changeset/85080
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoapr-util: bump to version 1.5.2
Jerzy Grzegorek [Fri, 11 Oct 2013 16:35:44 +0000 (18:35 +0200)]
apr-util: bump to version 1.5.2

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoapr: bump to version 1.4.8
Jerzy Grzegorek [Fri, 11 Oct 2013 16:32:38 +0000 (18:32 +0200)]
apr: bump to version 1.4.8

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agojpeg-turbo: bump to version 1.3.0
Jerzy Grzegorek [Fri, 11 Oct 2013 16:30:33 +0000 (18:30 +0200)]
jpeg-turbo: bump to version 1.3.0

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agojansson: bump to version 2.5
Jerzy Grzegorek [Fri, 11 Oct 2013 16:29:16 +0000 (18:29 +0200)]
jansson: bump to version 2.5

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolinux: bump 3.11.x stable version
Gustavo Zacarias [Mon, 14 Oct 2013 11:39:24 +0000 (08:39 -0300)]
linux: bump 3.11.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolinux-headers: bump 3.{0, 4, 10, 11}.x stable versions
Gustavo Zacarias [Mon, 14 Oct 2013 11:39:23 +0000 (08:39 -0300)]
linux-headers: bump 3.{0, 4, 10, 11}.x stable versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopoppler: needs thread support
Axel Lin [Mon, 14 Oct 2013 07:14:52 +0000 (15:14 +0800)]
poppler: needs thread support

Fix:
http://autobuild.buildroot.net/results/daa/daa18f112ddd08644b4149025899cea2b511a9da/

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibcue: add license info
Peter Korsgaard [Mon, 14 Oct 2013 11:31:14 +0000 (13:31 +0200)]
libcue: add license info

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: add a specific check to avoid Angstrom toolchains
Thomas Petazzoni [Sun, 13 Oct 2013 08:28:20 +0000 (10:28 +0200)]
toolchain-external: add a specific check to avoid Angstrom toolchains

The Angstrom toolchains available at
http://www.angstrom-distribution.org/toolchains/ are not usable as
external toolchains in Buildroot, because they are not pure toolchains
with just the C library, but instead complete SDKs with many
cross-compiled libraries (Gtk, Qt, glib, neon, sqlite, X.org, and many
more, approximately 200 MB of libraries).

Buildroot cannot use such toolchains, and while this is documented in
our manual, some users still try to do this. Today, one such user came
on the IRC channel, reporting a build problem, which we started
investigating, only to realize after a long time that he was using an
Angstrom toolchain.

To avoid this problem in the future, we explicitly check if the
toolchain is from Angstrom by looking at the vendor part of the tuple
exposed by the toolchain: as soon as it is
<something>-angstrom-<something-else>, we reject the toolchain with an
explanation.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopcsc-lite: bump to version 1.8.8
Axel Lin [Sat, 12 Oct 2013 02:15:25 +0000 (10:15 +0800)]
pcsc-lite: bump to version 1.8.8

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agofbgrab: bump to version 1.2
Jerzy Grzegorek [Fri, 11 Oct 2013 16:34:00 +0000 (18:34 +0200)]
fbgrab: bump to version 1.2

Patch:
- fbgrab-proper-Makefile-for-cross-compiling.patch
has been integrated in the new upstream version.

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoruby: fix 'pcrel too far' build problem on SuperH architectures
Thomas De Schampheleire [Sun, 13 Oct 2013 11:45:04 +0000 (13:45 +0200)]
ruby: fix 'pcrel too far' build problem on SuperH architectures

The 'pcrel too far' problem detected in the autobuild on SuperH
architectures, seems to be caused by the -Os optimization flag. Using
standard optimization fixes the problem.

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

Investigated-by: Lionel Orry <lionel.orry@gmail.com>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/rpi-userland: expose appropriate EGL version
Yann E. MORIN [Sat, 12 Oct 2013 22:46:16 +0000 (00:46 +0200)]
package/rpi-userland: expose appropriate EGL version

The egl.pc file installed exposes version 1.0, while it really is a
much higher version.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/rpi-userland: install all of our .pc files the same way
Yann E. MORIN [Sat, 12 Oct 2013 22:46:15 +0000 (00:46 +0200)]
package/rpi-userland: install all of our .pc files the same way

Install bcm_host the same way we install egl.pc and glesv2.pc, using
the cmake lists.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agomanual: rename section name of package lists
Thomas De Schampheleire [Mon, 14 Oct 2013 07:22:38 +0000 (09:22 +0200)]
manual: rename section name of package lists

The original titles did no longer correspond with the actual menu names.
Additionally, choose a name that better reflects the fact that this is a
list.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: "Samuel Martin" <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/weston: add RPi compositor
Yann E. MORIN [Thu, 10 Oct 2013 21:05:25 +0000 (23:05 +0200)]
package/weston: add RPi compositor

Procedure highly inspired by:
    http://wayland.freedesktop.org/raspberrypi.html

The resulting weston works almost flawlessly, but requires a bit
of love:
  - /boot/config.txt must include this line: dispmanx_offline=1
  - at least 128MiB of RAM must be allocated to the GPU
  - after 24-or-so terminal-clients are connected, the screen
    turns black. Exiting a client restores the screen

It seems increasing/decreasing the amount of memory allocated to
the GPU makes the clients limit to wobble above/below 24 clients
at a time. YMMV, as they say...

Without dispmanx_offline=1, the limit is much below 24, at around 13.
But changing the amount of memory allocated to the GPU does not change
this limit in this case. YMMV, again.

Anyway, there are not many different clients available, besides the
terminal client, since all other clients are EGL-based, and there
is (yet) no EGL support (for weston!) on the RPi. So the tests were
made only with the terminal client.

The system is rather smooth, but spwaning too many clients in a
rapid-fire is sure to exhibit some lag. Resizing windows is a bit
jerky, but moving them along is fine.

Note: the config option has a depends on THREADS due to rpi-userland,
even though weston itself already inherits the same dependency from
wayland. But better be clean and safe.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/rpi-userland: add patch to remove faulty assert()
Yann E. MORIN [Thu, 10 Oct 2013 21:05:24 +0000 (23:05 +0200)]
package/rpi-userland: add patch to remove faulty assert()

While porting wayland/weston to run on the RPi, I always tripped on
this assert.

Thinking there was an issue with weston, I poked the weston guys on
IRC about the issue. 'daniels' on irc.freenode.net/#wayland suggested
removing the assert altogether, as that's what they had pushed
upstream in their wayland pull-request:
    https://github.com/raspberrypi/userland/pull/92

Turns out they forgot to include this in their pull-request, but that
they were using a patched rpi-userland without that assert.

And indeed, without that assert, weston runs on the RPi. :-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/weston: introduce infrastructure to select other compositors
Yann E. MORIN [Thu, 10 Oct 2013 21:05:23 +0000 (23:05 +0200)]
package/weston: introduce infrastructure to select other compositors

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/weston: fix configure.ac for fbdev compositor
Yann E. MORIN [Thu, 10 Oct 2013 21:05:22 +0000 (23:05 +0200)]
package/weston: fix configure.ac for fbdev compositor

Apply patch from upstream.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/weston: fix configure.ac to check for wayland-scanner
Yann E. MORIN [Thu, 10 Oct 2013 21:05:21 +0000 (23:05 +0200)]
package/weston: fix configure.ac to check for wayland-scanner

configure whines while checking for wayland-scanner.

wayland-scanner is used to generate the protocol parser C files from
the protocol definition XML files.

weston has a hard-dependency on wayland-scanner, so it can regenerate
its shell/mouse/keyboard/... "handlers".

Since we're using a tarball, those protocol files are already generated
and up-to-date, but the check is hard-coded and unconditional. If
wayland-scanner is missing, configure fails.

We could well patch away this check, but we'd have to carry and maintain
it probably for ever.

Better to fix it: add a patch from upstream weston to fix configure
whining.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/wayland: install wayland-scanner to $(HOST)
Yann E. MORIN [Thu, 10 Oct 2013 21:05:20 +0000 (23:05 +0200)]
package/wayland: install wayland-scanner to $(HOST)

wayland-scanner is needed by weston.

[Peter: use $(INSTALL), fixup white space]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/weston: bump version
Yann E. MORIN [Thu, 10 Oct 2013 21:05:19 +0000 (23:05 +0200)]
package/weston: bump version

Even with EGL disabled, weston-1.2.2 still tries to build the
simple EGL clients, so they need to be explicitly disabled.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/wayland: bump version
Yann E. MORIN [Thu, 10 Oct 2013 21:05:18 +0000 (23:05 +0200)]
package/wayland: bump version

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/rpi-firmware: bump version
Yann E. MORIN [Thu, 10 Oct 2013 21:10:33 +0000 (23:10 +0200)]
package/rpi-firmware: bump version

Fixes for de-interlacing of /unusual/ MPEG streams.
Yes, some people seem to enjoy generating MPEG streams in
which interlacing is not constant. That's apparently 100%
valid, but yet very unusual, and at the very least, weird.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoccid: bump to version 1.4.13
Jerzy Grzegorek [Thu, 10 Oct 2013 15:59:43 +0000 (17:59 +0200)]
ccid: bump to version 1.4.13

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agogdk-pixbuf: bump to version 2.28.2
Jerzy Grzegorek [Thu, 10 Oct 2013 16:01:17 +0000 (18:01 +0200)]
gdk-pixbuf: bump to version 2.28.2

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agochrony: bump to version 1.29
Jerzy Grzegorek [Thu, 10 Oct 2013 15:58:27 +0000 (17:58 +0200)]
chrony: bump to version 1.29

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoboost: bump to version 1.54.0
Jerzy Grzegorek [Thu, 10 Oct 2013 15:56:58 +0000 (17:56 +0200)]
boost: bump to version 1.54.0

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoconfigs/qemu: bump relevant config versions
Gustavo Zacarias [Thu, 10 Oct 2013 14:14:17 +0000 (11:14 -0300)]
configs/qemu: bump relevant config versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoprotobuf: needs thread support
Axel Lin [Thu, 10 Oct 2013 07:23:18 +0000 (15:23 +0800)]
protobuf: needs thread support

Fix:
http://autobuild.buildroot.net/results/086/08661b6bd6796c9126bcbad3245323160b182ac8/

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agovde2: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:46 +0000 (18:30 -0300)]
vde2: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotransmission: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:45 +0000 (18:30 -0300)]
transmission: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoxl2tp: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:44 +0000 (18:30 -0300)]
xl2tp: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agonet-snmp: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:43 +0000 (18:30 -0300)]
net-snmp: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agooprofile: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:42 +0000 (18:30 -0300)]
oprofile: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agosamba: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:41 +0000 (18:30 -0300)]
samba: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agovtun: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:40 +0000 (18:30 -0300)]
vtun: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agortorrent: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:39 +0000 (18:30 -0300)]
rtorrent: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoqt5: remove configure options from module packages
Fatih Aşıcı [Fri, 20 Sep 2013 05:43:15 +0000 (08:43 +0300)]
qt5: remove configure options from module packages

These packages do not have configure scripts.

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/weston: requires host-pkgconf
Yann E. MORIN [Tue, 8 Oct 2013 22:09:49 +0000 (00:09 +0200)]
package/weston: requires host-pkgconf

weston's configure.ac uses PKG_CHECK_MODULES,
so it needs to depend on host-pkgconf.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/weston: fix variable name
Yann E. MORIN [Tue, 8 Oct 2013 22:09:48 +0000 (00:09 +0200)]
package/weston: fix variable name

The weston package uses the $(WAYLAND_VERSION) variable instead of
$(WESTON_VERSION).

This went unnoticed for now, as we were using the same version for
wayland and weston. But that's not always the case, since we have,
for example: wayland-1.2.1 and weston-1.2.2, and no wayland-1.2.2.

Fix this by using the correct variable.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/rpi-userland: rename patches
Yann E. MORIN [Tue, 8 Oct 2013 22:09:47 +0000 (00:09 +0200)]
package/rpi-userland: rename patches

Rename patches to follow standard naming scheme.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoopenpowerlink: new package
Romain Naour [Fri, 4 Oct 2013 20:18:22 +0000 (22:18 +0200)]
openpowerlink: new package

[Peter: fixup patch 2 corruption]
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agongircd: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 20:25:48 +0000 (17:25 -0300)]
ngircd: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agomrouted: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 20:25:47 +0000 (17:25 -0300)]
mrouted: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agomongoose: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 20:25:46 +0000 (17:25 -0300)]
mongoose: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolighttpd: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 20:25:45 +0000 (17:25 -0300)]
lighttpd: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agokismet: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 20:25:44 +0000 (17:25 -0300)]
kismet: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agocivetweb: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 20:25:43 +0000 (17:25 -0300)]
civetweb: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoudpcast: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 20:25:42 +0000 (17:25 -0300)]
udpcast: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoebtables: correct license GPLv2 -> GPLv2+
Thomas De Schampheleire [Tue, 8 Oct 2013 10:06:58 +0000 (12:06 +0200)]
ebtables: correct license GPLv2 -> GPLv2+

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoncftp: add license information
Thomas De Schampheleire [Tue, 8 Oct 2013 10:06:57 +0000 (12:06 +0200)]
ncftp: add license information

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibnfnetlink: add license information
Thomas De Schampheleire [Tue, 8 Oct 2013 10:06:56 +0000 (12:06 +0200)]
libnfnetlink: add license information

[Peter: license is GPLv2]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agovpnc: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 19:49:37 +0000 (16:49 -0300)]
vpnc: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agonetatalk: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 19:49:36 +0000 (16:49 -0300)]
netatalk: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibassuan: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 19:49:35 +0000 (16:49 -0300)]
libassuan: needs mmu

Also opkg needs mmu even without gpg verification so mark as well.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibgpg-error: bump to version 1.12
Gustavo Zacarias [Wed, 9 Oct 2013 19:49:34 +0000 (16:49 -0300)]
libgpg-error: bump to version 1.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agognupg: security bump to version 1.4.15
Gustavo Zacarias [Wed, 9 Oct 2013 19:49:33 +0000 (16:49 -0300)]
gnupg: security bump to version 1.4.15

Fixes CVE-2013-4402.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoredis: bump to version 2.6.16
Axel Lin [Wed, 9 Oct 2013 08:47:05 +0000 (16:47 +0800)]
redis: bump to version 2.6.16

The Redis project home page moved to redis.io, thus also update the download
url accordingly.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoi2c-tools: add license information
Thomas De Schampheleire [Wed, 9 Oct 2013 07:10:51 +0000 (09:10 +0200)]
i2c-tools: add license information

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopoppler: bump to version 0.24.2
Jerzy Grzegorek [Wed, 9 Oct 2013 07:02:04 +0000 (09:02 +0200)]
poppler: bump to version 0.24.2

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agonano: bump to version 2.3.2
Axel Lin [Wed, 9 Oct 2013 02:18:27 +0000 (10:18 +0800)]
nano: bump to version 2.3.2

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoccid: bump to version 1.4.12
Axel Lin [Wed, 9 Oct 2013 02:02:54 +0000 (10:02 +0800)]
ccid: bump to version 1.4.12

Bump version and also add license information.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibnetfilter_log: correct license GPLv2 -> GPLv2+
Thomas De Schampheleire [Wed, 9 Oct 2013 11:58:33 +0000 (13:58 +0200)]
libnetfilter_log: correct license GPLv2 -> GPLv2+

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibnetfilter_queue: correct license GPLv2 -> GPLv2+
Thomas De Schampheleire [Wed, 9 Oct 2013 11:58:32 +0000 (13:58 +0200)]
libnetfilter_queue: correct license GPLv2 -> GPLv2+

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibnetfilter_cttimeout: correct license GPLv2 -> GPLv2+
Thomas De Schampheleire [Wed, 9 Oct 2013 11:58:31 +0000 (13:58 +0200)]
libnetfilter_cttimeout: correct license GPLv2 -> GPLv2+

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibnetfilter_cthelper: correct license GPLv2 -> GPLv2+
Thomas De Schampheleire [Wed, 9 Oct 2013 11:58:30 +0000 (13:58 +0200)]
libnetfilter_cthelper: correct license GPLv2 -> GPLv2+

The main file of this package is src/libnetfilter_cthelper.c, which states
GPLv2+.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agocifs-utils: correct license GPLv3 -> GPLv3+
Thomas De Schampheleire [Wed, 9 Oct 2013 11:58:29 +0000 (13:58 +0200)]
cifs-utils: correct license GPLv3 -> GPLv3+

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agomediastreamer: requires toolchain with ipv6 support
Gustavo Zacarias [Wed, 9 Oct 2013 12:22:37 +0000 (09:22 -0300)]
mediastreamer: requires toolchain with ipv6 support

Fixes:
http://autobuild.buildroot.net/results/b16/b164b87fefac67074d45a6413386f53a8ee47843/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolinphone: fix build failure
Gustavo Zacarias [Wed, 9 Oct 2013 12:22:36 +0000 (09:22 -0300)]
linphone: fix build failure

The configure script is out of sync causing deplibs linking issues so
recreate it. Fixes:
http://autobuild.buildroot.net/results/006/00673f04d0ce6cb0c5828e68f236a4eb8d7920db/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolinphone: add license
Gustavo Zacarias [Wed, 9 Oct 2013 12:22:35 +0000 (09:22 -0300)]
linphone: add license

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-buildroot: fix s/Trigerring/Triggering/ typo
Peter Korsgaard [Wed, 9 Oct 2013 14:34:33 +0000 (16:34 +0200)]
toolchain-buildroot: fix s/Trigerring/Triggering/ typo

Reported-by: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: fix Linaro ARM toolchain support
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:15 +0000 (20:17 +0200)]
toolchain-external: fix Linaro ARM toolchain support

This commit fixes bug #6452 (eglibc from Linaro 2013.07 not copied to
target correctly) by:

 * Copying only the relevant library loader to the target on ARMhf
   (i.e ld-linux-armhf.so and not ld.so*). This is needed since Linaro
   toolchains provide two library loaders, one ARMv7 hf, and one ARMv4
   soft-float.

 * Making sure a $(TARGET_DIR)/lib/arm-linux-gnueabihf/ symbolic link
   to $(TARGET_DIR)/lib/ exists, since the dynamic loader of Linaro
   toolchains expects libraries to be found in
   $(TARGET_DIR)/lib/arm-linux-gnueabihf/.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: improve target library copy logic
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:14 +0000 (20:17 +0200)]
toolchain-external: improve target library copy logic

The copy_toolchain_lib_root function is responsible for copying a
given library (and its symbolic link) to the target filesystem. To do
so, it looks for the library in various locations, and then iterates
over the symbolic link all the way to the library, copying them as
needed to the target filesystem.

However, the latest Linaro toolchains bring an interesting use case:
the lib/ directory in the toolchain is organized as follows:

 - ld-linux.so.3 -> arm-linux-gnueabi/ld-2.17...so
 - ld-linux-armhf.so.3 -> arm-linux-gnueabihf/ld-2.17...so
 - arm-linux-gnueabi/
   - all ARMv4T soft float libraries
 - arm-linux-gnueabihf/
   - all ARMv7 hard float libraries

In order to match what we do with all other toolchains, we want all
those libraries and symbolic links to be copied directly under
$(TARGET_DIR)/lib. This commit does that by adjusting the copy logic.

This is part of the fix for bug #6452 (eglibc from Linaro 2013.07 not
copied to target correctly).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: update Linaro AArch64 toolchain
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:13 +0000 (20:17 +0200)]
toolchain-external: update Linaro AArch64 toolchain

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: update Linaro ARM toolchain
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:12 +0000 (20:17 +0200)]
toolchain-external: update Linaro ARM toolchain

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agobusybox: add patches to fix build with the musl C library
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:11 +0000 (20:17 +0200)]
busybox: add patches to fix build with the musl C library

Those patches have been submitted upstream.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: improve help text of some options
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:10 +0000 (20:17 +0200)]
toolchain-external: improve help text of some options

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: add support for musl C library
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:09 +0000 (20:17 +0200)]
toolchain-external: add support for musl C library

This commit adds support for external toolchains based on the musl C
library, as available from http://www.musl-libc.org.

Note that the pre-built musl toolchains available from
http://musl.codu.org/ are not working for the moment, since they lack
sysroot support. However, this problem has been reported to the
maintainer, who has already added sysroot support in his scripts at
https://bitbucket.org/GregorR/musl-cross, and therefore the next
version of the pre-built toolchains should work with Buildroot
out-of-the-box. In the mean time, the musl-cross script must be used
to build the toolchain.

[Peter: reword comment]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain: do not check largefile, wchar, IPv6 and locale for glibc toolchains
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:08 +0000 (20:17 +0200)]
toolchain: do not check largefile, wchar, IPv6 and locale for glibc toolchains

The check_glibc function contained checks to verify that the user had
properly enabled the largefile, IPv6, locale and wchar options, to
match how glibc is configured. This was useful when the support for
glibc external toolchains was introduced, but since then, we added the
BR2_TOOLCHAIN_USES_GLIBC symbol that automatically enables largefile,
IPv6, locale and wchar support when a glibc or eglibc external
toolchain is used. Therefore, many of the check_glibc checks are
useless now, so we can remove these.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain: fix the helpers.mk comment
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:07 +0000 (20:17 +0200)]
toolchain: fix the helpers.mk comment

This commit fixes various typos and mistakes in the comment at the top
of the helpers.mk file:

 * usefull -> useful

 * The optional stripping of libraries no longer exists, so there's no
   reason to mention it.

 * Indicate that the copy_toolchain_lib_root function is also used by
   the glibc package, not only by the external toolchain logic.

 * Separate more clearly the top comment introducing the entire file,
   from the comment introducing the first function.

[Peter: reword top comment, add missing 'by']
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain: modify the wildcard logic for shared libraries copying
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:06 +0000 (20:17 +0200)]
toolchain: modify the wildcard logic for shared libraries copying

Until now, the copy_toolchain_lib_root function took as argument the
base name of a library (e.g: libm.so), and was assuming that the usual
scheme libm.so.<x> being a symbolic link to the real library was used.

However, with musl based toolchains, the C library is named libc.so
directly, with no symbolic link at all. Therefore, this commit changes
the copy_toolchain_lib_root to move the responsibility of using a
wildcard or not after the library name the caller's responsibility.

So, all the existing LIB_EXTERNAL_LIBS values are modified to have a
.* at the end, so that the behavior is effectively unchanged.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: conditionalize the installation of libraries
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:05 +0000 (20:17 +0200)]
toolchain-external: conditionalize the installation of libraries

The external toolchain code makes the assumption that all C libraries
have a ld*.so, libc.so, libcrypt.so, libdl.so, libgcc_s.so, libm.so,
libnsl.so, libresolv.so, libutil.so, and when thread support is
enabled, libpthread.so, etc.

However, this is not the case with the musl C library, which
integrates all the functionalities in a single libc.so file. In
preparation of the support of the musl library, we make the current
value of LIB_EXTERNAL_LIBS conditional to glibc or uClibc.

The addition of additional libraries through
BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS is kept outside the condition, at
the end.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agodependencies: remove useless targets
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:04 +0000 (20:17 +0200)]
dependencies: remove useless targets

The dependencies-source, dependencies-clean and dependencies-dirclean
targets are not needed, as long as 'dependencies' is not used in the
<pkg>_DEPENDENCIES of a package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: convert to the package infrastructure
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:03 +0000 (20:17 +0200)]
toolchain-external: convert to the package infrastructure

This commit converts the 'toolchain-external' logic to the package
infrastructure.

The TOOLCHAIN_EXTERNAL_DIR variable (which points to where the
toolchain is located) is renamed to TOOLCHAIN_EXTERNAL_INSTALL_DIR,
because the former conflicts with the package infrastructure (which
defines the <pkg>_DIR variable for each package as pointing to its
build directory).

The new _EXTRA_DOWNLOADS mechanism is used for Blackfin toolchains.

The extract, configuration and installation steps are converted inside
the <pkg>_EXTRACT_CMDS, <pkg>_CONFIGURE_CMDS and
<pkg>_INSTALL_STAGING_CMDS.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>