buildroot.git
11 years agoAllow selection of individual Liberation font sets
Charles Manning [Sun, 2 Dec 2012 15:06:31 +0000 (15:06 +0000)]
Allow selection of individual Liberation font sets

We don't always want all the font sets on small systems.

[Peter: cleanup Config.in, ensure target dir gets created first]
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agowpa-supplicant: add options to enable the new DBus interface
Sven Neumann [Mon, 17 Dec 2012 21:52:46 +0000 (21:52 +0000)]
wpa-supplicant: add options to enable the new DBus interface

Allow to configure the DBus interfaces that the wpa_supplicant
binary should support (old or new or both). Also allow to
enable introspection support on the new DBus interface.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 (build-test with all features enabled)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux-fusion: don't override CFLAGS/LDFLAGS
Arnout Vandecappelle [Mon, 10 Dec 2012 07:06:59 +0000 (07:06 +0000)]
linux-fusion: don't override CFLAGS/LDFLAGS

Putting $(TARGET_CONFIGURE_OPTS) after $(MAKE) overrides the Makefile's
CFLAGS and LDFLAGS. Some of these flags are required, however. So
instead pass these things in the environment, which allows the Makefile
to append to the flags.

This removes the need for the patch, because now the correct -I options
are added.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoPass --static rather than -static in LDFLAGS when BR2_PREFER_STATIC_LIB
ANDY KENNEDY [Mon, 5 Nov 2012 06:55:26 +0000 (06:55 +0000)]
Pass --static rather than -static in LDFLAGS when BR2_PREFER_STATIC_LIB

The following changes LDFLAGS from -static to --static if building
with BR2_PREFER_STATIC_LIB so that various components actually build
statically.

Libtool interpret -static as linking statically with libraries that will not
be installed to the libdir; you have to pass it -all-static to force static
linking.  Or, pass --static, which libtool passes on blindly to gcc.  gcc
and (GNU) ld both interpret --static the same as -static (although this
isn't documented).

Signed-off-by: Andy Kennedy <andy.kennedy@adtran.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoinfozip: new package
Jan Pedersen [Mon, 14 Jan 2013 03:30:00 +0000 (03:30 +0000)]
infozip: new package

This commit adds a package for infozip, compression and file
packaging/archive utility.

[Peter: fix trailing spaces in help, long line]
Signed-off-by: Jan Pedersen <jp@jp-embedded.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodocs/manual: mention the Eclipse integration
Thomas Petazzoni [Sun, 13 Jan 2013 04:52:14 +0000 (04:52 +0000)]
docs/manual: mention the Eclipse integration

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoIntegration with Buildroot Toolchain Eclipse plugin
Thomas Petazzoni [Sun, 13 Jan 2013 04:52:13 +0000 (04:52 +0000)]
Integration with Buildroot Toolchain Eclipse plugin

The Eclipse plugin at
https://github.com/mbats/eclipse-buildroot-toolchain-plugin allows
users of Eclipse to easily use the toolchain available in
Buildroot. To do so, this plugin reads
~/.buildroot-eclipse.toolchains, which contains the list of Buildroot
toolchains available on the system, and then offer those toolchains to
compile Eclipse projects.

In order to interface with this plugin, this commit adds an option
that allows the user to tell whether (s)he wants the Buildroot project
toolchain to be visible under this Eclipse plugin. It simply adds a
line in this ~/.buildroot-eclipse.toolchains file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibelementary: only use libethumb if libedbus is available.
Arnout Vandecappelle (Essensium/Mind) [Mon, 14 Jan 2013 03:45:05 +0000 (03:45 +0000)]
libelementary: only use libethumb if libedbus is available.

libelementary uses the ethumb_client library, but that one is only built
if libedbus is available. So fixup the --enable/disable-ethumb according
to the selection of BR2_PACKAGE_LIBEDBUS.

Fixes e.g.
http://autobuild.buildroot.net/results/14ef98da6b0632e24514fef696fae9a650c90c96

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogst-fsl-plugins: new package
Arnout Vandecappelle (Essensium/Mind) [Wed, 19 Dec 2012 13:37:36 +0000 (13:37 +0000)]
gst-fsl-plugins: new package

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibfslcodec: new package
Arnout Vandecappelle (Essensium/Mind) [Wed, 19 Dec 2012 13:37:35 +0000 (13:37 +0000)]
libfslcodec: new package

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibfslparser: new package
Arnout Vandecappelle (Essensium/Mind) [Wed, 19 Dec 2012 13:37:34 +0000 (13:37 +0000)]
libfslparser: new package

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agofirmware-imx: new package
Arnout Vandecappelle (Essensium/Mind) [Wed, 19 Dec 2012 13:37:33 +0000 (13:37 +0000)]
firmware-imx: new package

[Peter: ensure lib/firmware exists, move under 'Misc devices firmware']
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibfslvpuwrap: new package
Arnout Vandecappelle (Essensium/Mind) [Wed, 19 Dec 2012 13:37:32 +0000 (13:37 +0000)]
libfslvpuwrap: new package

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoimx-lib: new package
Arnout Vandecappelle (Essensium/Mind) [Wed, 19 Dec 2012 13:37:31 +0000 (13:37 +0000)]
imx-lib: new package

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogst-plugins-good: add wavpack + gdkpixbuf options
Peter Korsgaard [Mon, 14 Jan 2013 13:15:02 +0000 (14:15 +0100)]
gst-plugins-good: add wavpack + gdkpixbuf options

Based on patch by Bogdan Radulescu <bogdan_radulescu99@yahoo.com>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogst-plugins-bad: add faad option
Peter Korsgaard [Mon, 14 Jan 2013 13:14:29 +0000 (14:14 +0100)]
gst-plugins-bad: add faad option

Based on patch by Bogdan Radulescu <bogdan_radulescu99@yahoo.com>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogst-plugins-bad: sort suboptions alphabetically
Peter Korsgaard [Mon, 14 Jan 2013 13:07:45 +0000 (14:07 +0100)]
gst-plugins-bad: sort suboptions alphabetically

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinks: needs mmu
Gustavo Zacarias [Mon, 14 Jan 2013 01:12:20 +0000 (01:12 +0000)]
links: needs mmu

Fixes
http://autobuild.buildroot.net/results/1c1456b19d7483475430b390291240733dbbf21b

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agocairo: script backend needs png
Peter Korsgaard [Mon, 14 Jan 2013 10:17:22 +0000 (11:17 +0100)]
cairo: script backend needs png

Fixes http://autobuild.buildroot.org/results/7b21c60d7ba1a8df8910d104e21d4545cb37a4c6

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoMakefile: don't export O to the environment
Peter Korsgaard [Mon, 14 Jan 2013 09:02:29 +0000 (10:02 +0100)]
Makefile: don't export O to the environment

Several projects use the kernel style O=<dir> syntax to build out of tree,
and atleast uClibc doesn't check that it was explictly passed on the command
line, so setting it in the environment breaks the build.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain/crostool-ng: use newly-introduced BUILDROOT_CONFIG
Yann E. MORIN [Sun, 13 Jan 2013 11:52:23 +0000 (11:52 +0000)]
toolchain/crostool-ng: use newly-introduced BUILDROOT_CONFIG

No need to recreate a path we already have.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosupport/dependencies: use newly-introduced BUILDROOT_CONFIG
Yann E. MORIN [Sun, 13 Jan 2013 11:52:22 +0000 (11:52 +0000)]
support/dependencies: use newly-introduced BUILDROOT_CONFIG

No need to recreate a path we already have.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoMakefile: use newly-introduced BUILDROOT_CONFIG
Yann E. MORIN [Sun, 13 Jan 2013 11:52:21 +0000 (11:52 +0000)]
Makefile: use newly-introduced BUILDROOT_CONFIG

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoMakefile: export a few variables to help support scripts
Yann E. MORIN [Sun, 13 Jan 2013 11:52:20 +0000 (11:52 +0000)]
Makefile: export a few variables to help support scripts

Support scripts (in support/) may need to parse the .config file, so give
them an easy access to it, by exporting BUILDROOT_CONFIG with the fully-
qualified path to .config.

Also, post-build scripts may need to reference a few locations, so export
those, too.

Note: we export both O and BASE_DIR. Although they are the same, BASE_DIR
is used internally, while O is used on the command line, which makes it a
bit ambiguous to know which to use. As users use O= on the command line,
they will probably tend to use that in their post-build scripts.

Update doc accordingly.

[Peter: fixed typo]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqwt: bump version
Peter Korsgaard [Sun, 13 Jan 2013 21:43:23 +0000 (22:43 +0100)]
qwt: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibqwt: new package
Laurent GONZALEZ [Sat, 2 Jun 2012 06:14:00 +0000 (06:14 +0000)]
libqwt: new package

Patch initially written by Thomas Petazzoni, then reworked and updated
by Laurent Gonzalez, and finally cleaned up by Thomas again.

[Peter: generic-package, deps, download, rename to qwt, move under Qt]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agomcrypt: new package
Gustavo Zacarias [Mon, 7 Jan 2013 08:13:00 +0000 (08:13 +0000)]
mcrypt: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibmcrypt: new package
Gustavo Zacarias [Mon, 7 Jan 2013 18:12:59 +0000 (15:12 -0300)]
libmcrypt: new package

[Peter: Do libmcrypt-config fixup in single pass]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibmhash: new package
Gustavo Zacarias [Mon, 7 Jan 2013 08:12:58 +0000 (08:12 +0000)]
libmhash: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agomtd: add options to build flash_otp_unlock and flash_otp_write
Arnout Vandecappelle (Essensium/Mind) [Fri, 11 Jan 2013 00:43:53 +0000 (00:43 +0000)]
mtd: add options to build flash_otp_unlock and flash_otp_write

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agobarebox: add 2013.01.0, remove 2012.09
Fabio Porcedda [Fri, 11 Jan 2013 05:13:51 +0000 (05:13 +0000)]
barebox: add 2013.01.0, remove 2012.09

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agobarebox: needs host-lzop
Fabio Porcedda [Fri, 11 Jan 2013 05:13:50 +0000 (05:13 +0000)]
barebox: needs host-lzop

Add host-lzop dependency.
Use $(TARGET_MAKE_ENV) when calling $(MAKE)
to able to use binaries built for host.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolzop: add host build
Fabio Porcedda [Fri, 11 Jan 2013 05:13:49 +0000 (05:13 +0000)]
lzop: add host build

Barebox needs host-lzop.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodvbsnoop: new package dvbsnoop
Carsten Schoenert [Sun, 13 Jan 2013 03:00:03 +0000 (03:00 +0000)]
dvbsnoop: new package dvbsnoop

dvbsnoop is a DVB/MPEG stream analyzer. It's designed to debug, dump or
view the digital stream info available via

    satellite   -> DVB-S, DVB-S2
    cable       -> DVB-C, DVB-C2
    terrestrial -> DVB-T, DVB-T2

dvbsnoop can be used on any digital settopbox that running on linux and
provides the DVB APIv3. It's also usable on classical PCs that contains
a DVB hardware (PCI Card or USB Plug).

[Peter: needs largefile, fix help text]
Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/dvb-apps: bump version
Yann E. MORIN [Sat, 12 Jan 2013 13:50:33 +0000 (13:50 +0000)]
package/dvb-apps: bump version

The new version has new transponders data for CZ.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/dvb-apps: fix licensing terms when utils are enabled
Yann E. MORIN [Sat, 12 Jan 2013 13:50:32 +0000 (13:50 +0000)]
package/dvb-apps: fix licensing terms when utils are enabled

When the dvb-apps utilities are selected, the license is clearly a
mix of GPLv2, GPLv2+ and LGPLv2.1+; this, in addition to the initial
unknown license for the transponders data.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoNew package : GNU SASL Library - libgsasl
Sagaert Johan [Sun, 13 Jan 2013 08:58:43 +0000 (08:58 +0000)]
New package : GNU SASL Library - libgsasl

GNU SASL is an implementation of the Simple Authentication and Security
Layer framework and a few common SASL mechanisms.  SASL is used by network
servers (e.g., IMAP, SMTP) to request authentication from clients, and in
clients to authenticate against servers.

libgsasl will be used in future versions of libesmtp.

[Peter: Misc minor fixes]
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux, uboot, mxs-bootlets, barebox: avoid double slash in CUSTOM_TARBALL
Arnout Vandecappelle (Essensium/Mind) [Wed, 9 Jan 2013 12:12:44 +0000 (12:12 +0000)]
linux, uboot, mxs-bootlets, barebox: avoid double slash in CUSTOM_TARBALL

Closes #5846

The $(dir ...) function leaves a slash at the end, so that the LINUX_SITE
variable for a custom tarball ends in a slash. The DOWNLOAD macro adds
another slash between SITE and SOURCE, which results in a double slash in
the download URL.

Fix this by stripping off the final slash from the _SITE in all packages that
have a custom tarball.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agohiawatha: needs threads
Gustavo Zacarias [Sun, 13 Jan 2013 01:25:15 +0000 (01:25 +0000)]
hiawatha: needs threads

Fixes
http://autobuild.buildroot.net/results/9bb3bdb9de43fc6bab119674885df2a28e5559ee/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agocairo: bump version to 1.12.8
Sagaert Johan [Wed, 19 Dec 2012 12:42:22 +0000 (12:42 +0000)]
cairo: bump version to 1.12.8

Directfb patch no longer needed.

[Peter: Add options for script/xml backends, support for Xrender backend]
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoofono: bump version
Sagaert Johan [Sun, 13 Jan 2013 03:42:14 +0000 (03:42 +0000)]
ofono: bump version

Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopixman: bump version
Sagaert Johan [Sun, 13 Jan 2013 02:55:23 +0000 (02:55 +0000)]
pixman: bump version

Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt: bump version to latest 4.8.4
Sagaert Johan [Sun, 13 Jan 2013 02:47:40 +0000 (02:47 +0000)]
qt: bump version to latest 4.8.4

Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqextserialport: bump version
Sagaert Johan [Sun, 13 Jan 2013 02:46:08 +0000 (02:46 +0000)]
qextserialport: bump version

Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agowebkit: remove X.org server dependency
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:40 +0000 (11:29 +0000)]
webkit: remove X.org server dependency

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxvkbd: remove version from the patch file name
Thomas Petazzoni [Sun, 6 Jan 2013 21:29:39 +0000 (22:29 +0100)]
xvkbd: remove version from the patch file name

The version in xvkbd patch file name doesn't patch the version of the
package, so use the new convention that consists in not having the
package version in the patch file names.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxvkbd: turn into a generic-package
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:38 +0000 (11:29 +0000)]
xvkbd: turn into a generic-package

xvkbd was integrated has an autotools package, but it does not have a
./configure script. And to avoid executing the ./configure, the
xvkbd-2.8-makefile.patch was creating a dummy .stamp_configured stamp
file... Ugly.

So, make xvkbd a normal generic package, with BUILD_CMDS and
INSTALL_TARGET_CMDS, and get rid of the crappy part of the patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxvkbd: fix X.org dependencies
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:37 +0000 (11:29 +0000)]
xvkbd: fix X.org dependencies

xvkbd is a X.org client application, so there is no reason to depend
on the X.org server. Instead, depend on the X.org client libraries
that xvkbd actually links against.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotorsmo: fix X.org dependency
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:36 +0000 (11:29 +0000)]
torsmo: fix X.org dependency

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agorubix: fix X.org dependency
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:35 +0000 (11:29 +0000)]
rubix: fix X.org dependency

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agometacity: fix X.org dependencies
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:34 +0000 (11:29 +0000)]
metacity: fix X.org dependencies

Metacity is a X client application, so there is no reason to depend on
the X.org server. Instead, depend on the appropriate X libraries.

In addition to the X.org related dependencies, we also add the
host-libxml-parser-perl dependency, otherwise:

  checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
  make[1]: *** [/home/test/outputs/xorg/build/metacity-2.25.1/.stamp_configured] Error 1
  make: *** [all] Error 2

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopango: fix X.org dependencies
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:33 +0000 (11:29 +0000)]
pango: fix X.org dependencies

pango is a X client library, so it does not need to depend on the
X.org server. So, we replace the server dependency by dependencies on
the appropriate libraries.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoatk: remove unused host variant
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:32 +0000 (11:29 +0000)]
atk: remove unused host variant

The atk package is used as a dependency in the libglade and libgtk2
packages.

The libglade package has no host variant, and does not depend on
host-atk.

The libgtk2 package depends on atk, and has a host variant, but the
host variant of libgtk2 overrides HOST_LIBGTK2_DEPENDENCIES to limit
the number of dependencies, and host-atk is not amongst those
dependencies.

Therefore, host-atk is useless and can be removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoatk: remove useless configuration options
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:31 +0000 (11:29 +0000)]
atk: remove useless configuration options

ATK is not directly related to X11, and the --with-x, --x-includes,
--x-libraries and --without-x options do not exist.

The --disable-glibtest was duplicated, and is therefore still passed
to the configuration options.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibgtk2: add support for some optional X dependencies
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:30 +0000 (11:29 +0000)]
libgtk2: add support for some optional X dependencies

libgtk2 can optionally use a number of features from additional X
extensions, so we add support for those, to ensure that Gtk gets built
after those extensions if they have been enabled in the Buildroot
configuration.

The extensions are Xinerama, Xinput, Xrandr, Xcursor, Xfixes,
Xcomposite and Xdamage.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibgtk2: replace dependency on X.org server by dependency on libraries
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:29 +0000 (11:29 +0000)]
libgtk2: replace dependency on X.org server by dependency on libraries

libgtk2 is a X client library, so it doesn't make sense for it to
depend on the X.org server. Instead, it should depend on the X client
libraries.

This patch therefore replaces the dependency on the X server by a
dependency on libX11, libXext, libXrender and fontconfig, that are the
mandatory requirements to build the X backend of Gtk.

[Peter: don't add an empty line before gtk demo help text]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agofltk: replace dependency on X.org server with dependency on libraries
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:28 +0000 (11:29 +0000)]
fltk: replace dependency on X.org server with dependency on libraries

fltk is a X client library, so it doesn't make sense for it to depend
on the X.org server. Instead, it depends on libX11, libXext and libXt,
so we use those libraries as fltk dependencies.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodocker: depend on xlib_libX11 and not the X.org server
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:27 +0000 (11:29 +0000)]
docker: depend on xlib_libX11 and not the X.org server

docker is a X client application, so it doesn't make sense to depend
on the X.org server. An inspection of docker Makefile and source code
shows that it only needs the libX11 library, so we replace the X.org
server dependency by a libX11 dependency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agocairo: always enable XCB support when X backend is enabled
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:26 +0000 (11:29 +0000)]
cairo: always enable XCB support when X backend is enabled

cairo depends on xlib_libX11 for its Xlib backend. But xlib_libX11
depends on XCB, so the XCB support can always be built into Cairo.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agocairo: do not depend on xserver-xorg_server, but on the right library
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:25 +0000 (11:29 +0000)]
cairo: do not depend on xserver-xorg_server, but on the right library

cairo is a X client library, so there is no reason for it to build
depend on the X.org server. What Cairo needs is the xlib_libX11
library.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxserver_xorg-server: provide more options for SHA1 library
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:24 +0000 (11:29 +0000)]
xserver_xorg-server: provide more options for SHA1 library

Until now, the X.org server was forcefully selecting OpenSSL, just to
have a SHA1 implementation. However, in fact, the X.org server is
capable of using a SHA1 implementation from multiple libraries:
OpenSSL, libgcrypt and libsha1 amongst others.

So, this patch changes the X.org server package so that we use the
SHA1 functions from OpenSSL is OpenSSL is already available, or the
SHA1 functions from libgcrypt is libgcrypt is already available, or if
neither OpenSSL nor libgcrypt are enabled in the configuration, we
select the much smaller libsha1, that has been specifically written to
fulfill the X.org server requirements.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibsha1: new package
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:23 +0000 (11:29 +0000)]
libsha1: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxlib_libX11: split the DEPENDENCIES variable on multiple lines
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:22 +0000 (11:29 +0000)]
xlib_libX11: split the DEPENDENCIES variable on multiple lines

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxlib_libX11: do not depend on bigreqsproto nor xcmiscproto
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:21 +0000 (11:29 +0000)]
xlib_libX11: do not depend on bigreqsproto nor xcmiscproto

The BR2_PACKAGE_XPROTO_BIGREQSPROTO option was selected by
xlib_libX11, but xlib_libX11 does not have this protocol package in
its DEPENDENCIES. In some builds, it leads to xproto_bigreqsproto to
be built as the last package, with no other package depending on it,
which doesn't make sense.

xproto_xcmiscproto was selected and part of DEPENDENCIES, but an
inspection of libX11 configure.ac and libX11 source code shows that it
does not depend on xcmiscproto at all.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agox11r7: do not globally select libraries
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:20 +0000 (11:29 +0000)]
x11r7: do not globally select libraries

It doesn't make sense for BR2_PACKAGE_XORG7 to globally select
libraries such as libpng, zlib, expat or fontconfig. For example, if
you do a build with just xlib_libX11, then libpng gets built as the
last package, without anybody actually depending on it, even if it was
selected by BR2_PACKAGE_XORG7.

The individual x11r7 packages should select the libraries they need,
and add them in their DEPENDENCIES variable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxserver_xorg-server: add more explanations about the two variants
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:19 +0000 (11:29 +0000)]
xserver_xorg-server: add more explanations about the two variants

[Peter: adjust help text according to Arnout's comments]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain/crosstool-ng: be more explicit in the config file help
Yann E. MORIN [Wed, 9 Jan 2013 12:52:12 +0000 (12:52 +0000)]
toolchain/crosstool-ng: be more explicit in the config file help

Some users seem to interpret:
    make ctng-menuconfig

as being a value that can be fit for the ct-ng config file.

Clarify that it is a command to run, not a possible value.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibnl: bump to version 3.2.18
Gustavo Zacarias [Tue, 8 Jan 2013 07:45:06 +0000 (07:45 +0000)]
libnl: bump to version 3.2.18

Bump to version 3.2.18, fixing:
http://autobuild.buildroot.org/results/28f23910e2c2090e6f37e8d6a26cdb5adf9615c2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqemu: bump to version 1.3.0
Francois Perrad [Fri, 14 Dec 2012 05:40:49 +0000 (05:40 +0000)]
qemu: bump to version 1.3.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopython3: uses fork(), only available on MMU platforms
Maxime Ripard [Fri, 16 Nov 2012 22:38:59 +0000 (22:38 +0000)]
python3: uses fork(), only available on MMU platforms

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agohiawatha: bump to version 8.7
Gustavo Zacarias [Sat, 12 Jan 2013 01:37:54 +0000 (01:37 +0000)]
hiawatha: bump to version 8.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoarptables: bump to version 0.0.4
Gustavo Zacarias [Sat, 12 Jan 2013 02:18:44 +0000 (02:18 +0000)]
arptables: bump to version 0.0.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoempty: needs MMU
Simon Dawson [Thu, 10 Jan 2013 21:48:48 +0000 (21:48 +0000)]
empty: needs MMU

The empty package uses the fork() system call, and so requires MMU.

Fixed autobuilder failures such as the following.

  http://autobuild.buildroot.net/results/4ad23e07b1bfe7bfd622aed8d54fa243b72eed59/build-end.log

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibelementary: depends on libethumb
Arnout Vandecappelle (Essensium/Mind) [Fri, 11 Jan 2013 13:45:28 +0000 (13:45 +0000)]
libelementary: depends on libethumb

This was exposed because I still had an old libethumb in my staging
directory so it was detected by configure, but because of the missing
dependency it was still the (incompatible) version from before the
1.7.4 bump.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agowebsite: Announce the upcoming Buildroot Developers Meeting
Thomas Petazzoni [Sat, 12 Jan 2013 05:20:00 +0000 (05:20 +0000)]
website: Announce the upcoming Buildroot Developers Meeting

[Peter: fix typo]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/dvb-apps: requires iconv
Yann E. MORIN [Sat, 12 Jan 2013 02:53:35 +0000 (02:53 +0000)]
package/dvb-apps: requires iconv

Use libiconv if the toolchain does not have locales.

Fixes (for example):
    http://autobuild.buildroot.net/results/c5776c95ac128f7c7eadc2fe746ad89f8c1ef49a

[Peter: fixup LDFLAGS for BR2_ENABLE_LOCALE=y builds]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux: bump 3.7.x stable version
Gustavo Zacarias [Fri, 11 Jan 2013 14:04:24 +0000 (14:04 +0000)]
linux: bump 3.7.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agokernel-headers: bump 3.{0, 4, 7}.x stable versions
Gustavo Zacarias [Fri, 11 Jan 2013 14:04:23 +0000 (14:04 +0000)]
kernel-headers: bump 3.{0, 4, 7}.x stable versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/dvb-apps: requires largefiles
Yann E. MORIN [Tue, 8 Jan 2013 09:11:50 +0000 (09:11 +0000)]
package/dvb-apps: requires largefiles

Fixes (for example):
    http://autobuild.buildroot.net/results/5e12820c6537b176c49671a65afcbdb86c5154c9

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoMakefile: system.mk rootfs modifications should be done before target-finalize
Peter Korsgaard [Wed, 9 Jan 2013 12:20:05 +0000 (13:20 +0100)]
Makefile: system.mk rootfs modifications should be done before target-finalize

So they don't override E.G. changes done in post build scripts
(E.G. password settings).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoenlightenment: fix efl dependency
Peter Korsgaard [Wed, 9 Jan 2013 08:14:27 +0000 (09:14 +0100)]
enlightenment: fix efl dependency

The efl libraries depends on BR2_PACKAGE_EFL, so ensure enlightenment
selects it as well, otherwise kconfig complains.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agowavpack: fix the iconv breakage ghost
Gustavo Zacarias [Tue, 8 Jan 2013 08:04:31 +0000 (08:04 +0000)]
wavpack: fix the iconv breakage ghost

Fix missing comma in DEPENDENCIES, causing to pull in libiconv when it
wasn't necessary and causing other packages to go crazy on (e)glibc
toolchains which don't need it with libiconv being present. Fixes:
http://autobuild.buildroot.org/results/e0ce086a33a1db6fee77f43356e4e94ed6941f17

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxserver_xorg-server: option to build KDrive input drivers
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:18 +0000 (11:29 +0000)]
xserver_xorg-server: option to build KDrive input drivers

When the Kdrive variant of the X server is selected, the drivers are
directly built into the X server. The X server therefore provides
options to enable or disable certain drivers, especially input
drivers.

This patch adds options to be able to enable or disable the evdev, kbd
and mouse drivers of Kdrive.

[Peter: fix Config.in indentation as pointed out by Arnout]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxserver_xorg-server: rename server-style configuration options
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:17 +0000 (11:29 +0000)]
xserver_xorg-server: rename server-style configuration options

The BR2_PACKAGE_XSERVER_xorg and BR2_PACKAGE_XSERVER_tinyx options
used to select the style of X.org server to use are not named
consistently with the rest of the Buildroot options (in capital
letters and prefixed with the package name).

Therefore, we rename those options, and we take care to add the old
option names in the BR2_LEGACY infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxserver-xorg_server: Mention that TinyX is also known as Kdrive
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:16 +0000 (11:29 +0000)]
xserver-xorg_server: Mention that TinyX is also known as Kdrive

Since several years, the TinyX name has been somewhat deprecated in
favor of Kdrive, so mention the "Kdrive" wording in our configuration
interface.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agox11r7: fix indentation
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:15 +0000 (11:29 +0000)]
x11r7: fix indentation

Fixup the indentation when including the X.org server Config.in to
match all the other inclusions in x11r7/Config.in.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agox11r7: remove useless depends on of X.org drivers
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:14 +0000 (11:29 +0000)]
x11r7: remove useless depends on of X.org drivers

All X.org server drivers are already enclosed in a if
BR2_PACKAGE_XSERVER_xorg .. endif block. Now that this option is only
set if a X.org server is enabled, there is no need for each individual
driver to depend on BR2_PACKAGE_XSERVER_XORG.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agox11r7: move X.org server style option
Thomas Petazzoni [Sun, 6 Jan 2013 11:29:13 +0000 (11:29 +0000)]
x11r7: move X.org server style option

The selection between "modular" server and "Kdrive" server really
belongs as a sub-option of the X.org server itself, rather than as a
global x11r7 option. So we move it under the X.org server option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux: fix appended dtb handling of pre/post v3.8-rc1
Arnout Vandecappelle (Essensium/Mind) [Tue, 8 Jan 2013 11:23:56 +0000 (11:23 +0000)]
linux: fix appended dtb handling of pre/post v3.8-rc1

The $(wildcard ) doesn't work for LINUX_APPEND_DTB, because the .dtb
doesn't exist yet at that point.

Also factor the common part out.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage: add green end sftp server
Peter Korsgaard [Tue, 8 Jan 2013 16:11:50 +0000 (17:11 +0100)]
package: add green end sftp server

For sftp support in Dropbear or as an alternative for the built in
sftp support in openssh (or to use standalone).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux: fix double LINUX_APPEND_DTB
Peter Korsgaard [Tue, 8 Jan 2013 09:12:02 +0000 (10:12 +0100)]
linux: fix double LINUX_APPEND_DTB

Introduced by 5b33e0b6a (linux: handle new dtb location since 3.8-rc1 for
appended dtbs).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoelfutils: needs wchar
Peter Korsgaard [Mon, 7 Jan 2013 20:59:56 +0000 (21:59 +0100)]
elfutils: needs wchar

elfutils contains a call to wmempcpy, which is only available when the
toolchain has wchar support, so add the dependency.

Also display a comment if the toolchain dependencies are not met.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoelfutils: make available on uClibc toolchains
Thomas Petazzoni [Sun, 6 Jan 2013 05:22:55 +0000 (05:22 +0000)]
elfutils: make available on uClibc toolchains

We finally have all the pieces needed to allow the build of elfutils
on uClibc. Only the libraries can be built, the programs remain
available only for glibc/eglibc toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoelfutils: towards uClibc support: disable po build
Thomas Petazzoni [Sun, 6 Jan 2013 05:22:54 +0000 (05:22 +0000)]
elfutils: towards uClibc support: disable po build

Building the po/ directory complains that the scripts in there have
been generated with gettext 0.17, while we use gettext 0.18 in
Buildroot. Since we don't care that much about po files anyway, just
disable the build of this directory.

Heavily based from work done by Stefan Fröberg, but with many further
modifications by Thomas Petazzoni.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoelfutils: towards uClibc support: FTS functions
Thomas Petazzoni [Sun, 6 Jan 2013 05:22:53 +0000 (05:22 +0000)]
elfutils: towards uClibc support: FTS functions

The fts_*() functions are optional in uClibc, and not compiled in our
default configuration. The best option would be to migrate this
elfutils code to the nftw family of functions, but it requires quite
some work.

So we have several options here:

 *) Enable fts_*() functions in our default uClibc configuration. Not
    nice since only one package needs them (the help text of uClibc
    for fts_*() functions explicitly mention that they have been added
    to be able to build elfutils).

 *) Use gnulib, but it is quite heavy to setup, requires modifications
    to configure.ac, and other things.

 *) Copy the fts function from uClibc into elfutils source code. This
    is the solution used below. uClibc is LGPL, and elfutils is
    LGPL/GPL, so there should not be any licensing issue.

Of course, the fts_*() functions are only built if they are not
already provided by the C library.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoelfutils: towards uClibc support: gettext
Thomas Petazzoni [Sun, 6 Jan 2013 05:22:52 +0000 (05:22 +0000)]
elfutils: towards uClibc support: gettext

elfutils is annoying: it needs gettext even if locale support is
disabled...

Heavily based from work done by Stefan Fröberg, but with many further
modifications by Thomas Petazzoni.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoelfutils: towards uClibc support: requires largefile
Thomas Petazzoni [Sun, 6 Jan 2013 05:22:51 +0000 (05:22 +0000)]
elfutils: towards uClibc support: requires largefile

elfutils unconditionally uses off64_t for example, so largefile is
needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoelfutils: towards uClibc support: solve memcpy problem
Thomas Petazzoni [Sun, 6 Jan 2013 05:22:50 +0000 (05:22 +0000)]
elfutils: towards uClibc support: solve memcpy problem

elfutils uses some strange internal alias of memcpy in glibc, so
workaround this when building with uClibc.

Heavily based from work done by Stefan Fröberg, but with many further
modifications by Thomas Petazzoni.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoelfutils: towards uClibc support: argp-standalone usage
Thomas Petazzoni [Sun, 6 Jan 2013 05:22:49 +0000 (05:22 +0000)]
elfutils: towards uClibc support: argp-standalone usage

elfutils uses the argp family of functions, that isn't available in
uClibc. So, we add a dependency on argp-standalone if building with
uClibc, and modify elfutils source code to link against argp if
needed.

Heavily based from work done by Stefan Fröberg, but with many further
modifications by Thomas Petazzoni.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoargp-standlone: build position independent code
Thomas Petazzoni [Sun, 6 Jan 2013 05:22:48 +0000 (05:22 +0000)]
argp-standlone: build position independent code

Even though argp-standalone is built as a static library, it might get
linked in a shared library, so we must built it as
position-independent code.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>