buildroot.git
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>
11 years agoperf: add kernel version checks
Thomas Petazzoni [Sun, 6 Jan 2013 05:22:47 +0000 (05:22 +0000)]
perf: add kernel version checks

perf is only available since kernel 2.6.31, so if we can't find
tools/perf/Makefile, error out and tell the user about this.

perf without libelf can only be built since kernel 3.7, so error out
and tell the user about this if he's trying to build perf from a < 3.7
kernel without libelf.

Unfortunately, those tests can only be build-time checks as we either
need to know the real kernel version (i.e, using LINUX_VERSION would
not be correct as it can be a Git commit ID, or Git tag), or have
access to the kernel sources themselves. So we can't prevent those
invalid situations at the configuration, we can only nicely tell the
user at build time.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoperf: allow build against libelf when available
Thomas Petazzoni [Sun, 6 Jan 2013 05:22:46 +0000 (05:22 +0000)]
perf: allow build against libelf when available

Now that libelf is available thanks to elfutils (for glibc only),
allow to build perf against it if available.

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

This patch adds a new package that allows to build the 'perf'
userspace tool that comes in the tools/perf directory of the kernel
sources.

It is an alternative proposal to the one done by Kaiwan Billimoria
<kaiwan.billimoria@gmail.com>, in that it creates the package in
package/perf/. It therefore properly integrates with the Buildroot
package infrastructure.

Of course, the package depends on the Linux kernel to be built by
Buildroot, in order to get Perf sources matching the version of the
kernel that will be executed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoelfutils: make it possible to only install the libraries
Thomas Petazzoni [Sun, 6 Jan 2013 05:22:44 +0000 (05:22 +0000)]
elfutils: make it possible to only install the libraries

Add and use a --{enable,disable}-progs configuration option to
selectively enable or disable the elfutils programs. Generally, on an
embedded system, the libraries are more useful than the programs, and
being able to not build the programs will make it easier to build the
elfutils libraries on uClibc.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoelfutils: new package
Stefan Fröberg [Sun, 6 Jan 2013 05:22:43 +0000 (05:22 +0000)]
elfutils: new package

This patch adds a a package for elfutils. For now, the package is
glibc specific, as adding uClibc support for this package is quite
tedious, and will therefore be done through followup patches.

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

Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodocs/manual: update to mention the multiple patches support
Thomas Petazzoni [Sun, 6 Jan 2013 05:22:42 +0000 (05:22 +0000)]
docs/manual: update to mention the multiple patches support

After the modification of the <pkg>_PATCH semantic, let's update the
documentation accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage: support multiple patches
Thomas Petazzoni [Sun, 6 Jan 2013 05:22:41 +0000 (05:22 +0000)]
package: support multiple patches

With this commit, we extend the behaviour of the <pkg>_PATCH variable
so that it now allows to list several patches to be downloaded and
applied, and no longer just one patch.

This will be useful for the elfutils package, and should anyway not
break the existing behaviour for packages using just one patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibnspr: only pass --{enable,disable}-thumb2 on ARM
Peter Korsgaard [Mon, 7 Jan 2013 08:11:44 +0000 (09:11 +0100)]
libnspr: only pass --{enable,disable}-thumb2 on ARM

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

libnspr adds -marm to CFLAGS when passed --disable-thumb2, which is only
recognized by ARM cross compilers, so only use when building for ARM.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agorpi-firmware: New package
Maxime Hadjinlian [Sun, 6 Jan 2013 10:56:22 +0000 (10:56 +0000)]
rpi-firmware: New package

Introducing a package to install pre-built binaries for the bootloader and
the GPU firmware for the RaspberryPi board.

[Peter: rename to rpi-firmware, add link to http://elinux.org/RPiconfig]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agorpi-userland: new package
Maxime Hadjinlian [Sun, 6 Jan 2013 10:56:21 +0000 (10:56 +0000)]
rpi-userland: new package

Introducing a package to build the userland part of the Raspberry,
needed by anyone who would want to build a rootfs for a RaspberryPi.

[Peter: fixup Config.in (rename, move, arm dep, comment, white space)]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibcofi: new package
Maxime Hadjinlian [Sun, 6 Jan 2013 10:56:20 +0000 (10:56 +0000)]
libcofi: new package

replacement for memcpy and memset functionality
This package was originally found at : https://github.com/huceke/buildroot-rbp
By gimli <ebsi4711@gmail.com>

[Peter: wrap help text]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agonspr version update 4.9.2 old patch removed
Alexander Khryukin [Fri, 9 Nov 2012 02:49:02 +0000 (02:49 +0000)]
nspr version update 4.9.2 old patch removed

[Peter: upstream now provides nspr.pc]
Signed-off-by: Alexander Khryukin <alexander@mezon.ru>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agooprofile: bump to version 0.9.8
Jeremy Rosen [Fri, 14 Dec 2012 04:24:09 +0000 (04:24 +0000)]
oprofile: bump to version 0.9.8

Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/liburcu: Requires threads support
Maxime Ripard [Mon, 17 Dec 2012 01:32:02 +0000 (01:32 +0000)]
package/liburcu: Requires threads support

Fixes
http://autobuild.buildroot.org/results/eeb6a81588a12e5b572a4e5d27e001b3ae5eac49/build-end.log

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoinadyn: Needs MMU
Maxime Ripard [Mon, 17 Dec 2012 03:12:01 +0000 (03:12 +0000)]
inadyn: Needs MMU

Fixes
http://autobuild.buildroot.org/results/11d681a7f2c1d55a3d70573e9145aa231f6d4298/build-end.log

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibdvdnav: requires thread support in toolchain
Thomas Petazzoni [Wed, 19 Dec 2012 12:34:10 +0000 (12:34 +0000)]
libdvdnav: requires thread support in toolchain

libdvdnav requires thread support. The only package that depends on
libdvdnav is mplayer, and it is an optional dependency, only activated
when libdvdnav is enabled. So we don't have to push this thread
support dependency to any other package.

Fixes:

  http://autobuild.buildroot.org/results/54d6a737ae805ef1dbf77e5d11b4dd5366873ec0/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/dvb-apps: add option to install utilities
Yann E. MORIN [Sat, 5 Jan 2013 11:39:10 +0000 (11:39 +0000)]
package/dvb-apps: add option to install utilities

Previously, dvb-apps was a 'blind' package that would install
only the transponders data files for use by external packages
(namely tvheadend).

Now, we add an option to also install the DVB utilities.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosystem: simplify BR2_ROOTFS_SKELETON_DEFAULT handling
Peter Korsgaard [Sun, 6 Jan 2013 20:51:05 +0000 (21:51 +0100)]
system: simplify BR2_ROOTFS_SKELETON_DEFAULT handling

No functional change.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotarget: add different methods to encode passwords
Yann E. MORIN [Sat, 5 Jan 2013 04:52:03 +0000 (04:52 +0000)]
target: add different methods to encode passwords

Passwords can be encoded in different ways (from the weakest
to the strongest): des, md5, sha-256, sha-512

Add a choice entry to select the method, defaulting to 'md5'.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosystem: set root password only for default skeleton
Yann E. MORIN [Sat, 5 Jan 2013 04:52:02 +0000 (04:52 +0000)]
system: set root password only for default skeleton

In case one is using a custom skeleton, the root pasword might already be
set in this case, and should not be overriden.

Just ask for (and set) the root password only for the default skeleton.

Reported-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosam-ba: select BR2_HOSTARCH_NEEDS_IA32_LIBS
Thomas Petazzoni [Sat, 29 Dec 2012 06:14:51 +0000 (06:14 +0000)]
sam-ba: select BR2_HOSTARCH_NEEDS_IA32_LIBS

sam-ba is a pre-built binary tool built for x86 Linux, so on x86-64,
it requires the 32 bits compatibility libraries to be installed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain-external: use BR2_HOSTARCH_NEEDS_IA32_LIBS where needed
Thomas Petazzoni [Sat, 29 Dec 2012 06:14:50 +0000 (06:14 +0000)]
toolchain-external: use BR2_HOSTARCH_NEEDS_IA32_LIBS where needed

All supported pre-built external toolchains are built for x86 Linux,
so we add the BR2_HOSTARCH_NEEDS_IA32_LIBS select.

[Peter: microblaze toolchains are 64bit]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoInfrastructure to warn the user about missing 32 bits libraries
Thomas Petazzoni [Sat, 29 Dec 2012 06:14:49 +0000 (06:14 +0000)]
Infrastructure to warn the user about missing 32 bits libraries

Many users trying to use external toolchains on x86-64 machines get a
very confusing message:

  "Can't execute cross-compiler"

They get this message because they forgot to install the 32 bits
compatibility libraries that are needed to run binaries compiled for
x86 on x86-64 machines.

Since this is the case for both external toolchains and certain
binary-only tools like SAM-BA, we add a new Kconfig option
BR2_HOSTARCH_NEEDS_IA32_LIBS, that packages must select if they need
the 32 bits compatibility libraries. When this option is enabled,
dependencies.sh checks that the 32 bits dynamic library loader is
present on the system, and if not, it stops and shows an error.

The path and name of the 32 bits dynamic loader is hardcoded because
it is very unlikely to change, as it would break the ABI for all
binaries.

Also, it is worth noting that the check will be done even if we're
running on a 32 bits machine. This is harmless, as 32 bits machines
necessarily have the 32 bits dynamic loader installed, so the error
will never show up in this case.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain-external: add dependency on BR2_HOST_ARCH
Thomas Petazzoni [Sat, 29 Dec 2012 06:14:48 +0000 (06:14 +0000)]
toolchain-external: add dependency on BR2_HOST_ARCH

The pre-build external toolchains are all built for x86, so they are
only available if the build machine is a x86 or x86-64 machine.

[Peter: microblaze toolchains are 64bit]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopacakge/tvheadend: fix failures due to -Werror
Yann E. MORIN [Sat, 5 Jan 2013 12:40:33 +0000 (12:40 +0000)]
pacakge/tvheadend: fix failures due to -Werror

(Partially) apply upstream patch 1334869bf0ea668e58e1c72daa3c09c1a95b5d81
to properly protect code-paths depending on execinfo.h (for backtrace(3)).

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

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoefl/libevas: fix build of XCB backend
Thomas Petazzoni [Sun, 6 Jan 2013 07:27:06 +0000 (07:27 +0000)]
efl/libevas: fix build of XCB backend

Fixes:

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

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