buildroot.git
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>
11 years agogstreamer: provide necessary config value for AArch64
Thomas Petazzoni [Sun, 6 Jan 2013 06:14:02 +0000 (06:14 +0000)]
gstreamer: provide necessary config value for AArch64

Provide the as_cv_unaligned_access value for the AArch64 architecture.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/crosstool-ng: fix show-tuple stdout
Yann E. MORIN [Sun, 6 Jan 2013 03:06:28 +0000 (03:06 +0000)]
package/crosstool-ng: fix show-tuple stdout

Upstream changeset d8bd17248789.

Reported-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux: handle new dtb location since 3.8-rc1 for appended dtbs
Peter Korsgaard [Sun, 6 Jan 2013 15:47:05 +0000 (16:47 +0100)]
linux: handle new dtb location since 3.8-rc1 for appended dtbs

Similar to how we've done it for seperate dtbs (ef34705087b).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoFix installation of crosstool-ng libraries to target
Floris Bos [Sat, 5 Jan 2013 19:11:45 +0000 (19:11 +0000)]
Fix installation of crosstool-ng libraries to target

When using the crosstool-ng toolchain option, the libc libraries were not
installed to target.  Buildroot calls the show-tuple function to determine
the directory to copy from, and it seems that outputs the result to stderr
instead of stdout

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage: fixup after pthred-stubs rename
Peter Korsgaard [Sun, 6 Jan 2013 10:16:23 +0000 (11:16 +0100)]
package: fixup after pthred-stubs rename

Commit 5bd41d165 (pthread-stubs: rename to xlib_libpthread-stubs) renamed
the pthread-stubs package but forgot to update the select statements.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxorg-release: ignore some X.org packages
Thomas Petazzoni [Sat, 5 Jan 2013 09:26:45 +0000 (09:26 +0000)]
xorg-release: ignore some X.org packages

Following Gustavo's removal of two X.org drivers for old hardware
unlikely to be used in embedded contexts, the xorg-release script now
reports those two X.org packages as "to be added": they exist in
X.org, but not in Buildroot.

So, we add a small list, XORG_EXCEPTIONS, in our xorg-release script,
to list the X.org packages we don't want to hear about. Of course,
packages that exist in X.org, and that are not part of this exception
list, and are not packaged in Buildroot are still listed as "to be
added".

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agonew package: libfribidi
Mikhail Boiko [Tue, 25 Dec 2012 21:43:58 +0000 (21:43 +0000)]
new package: libfribidi

[Peter: moved under 'Text and terminal handling']
Signed-off-by: Mikhail Boiko <mikhailboiko85@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-sunffb: remove package
Gustavo Zacarias [Sat, 5 Jan 2013 02:57:09 +0000 (02:57 +0000)]
xdriver_xf86-video-sunffb: remove package

The FFB was an old SBUS video card used in Sun SPARC workstations
from the 90s.
Highly unlikely a target for buildroot.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-suncg6: remove package
Gustavo Zacarias [Sat, 5 Jan 2013 02:57:08 +0000 (02:57 +0000)]
xdriver_xf86-video-suncg6: remove package

The CG6 was an old SBUS video card used in Sun SPARC workstations from
the 90s.
Highly unlikely a target for buildroot.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosupport/scripts: add xorg-release.py script
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:55 +0000 (01:26 +0000)]
support/scripts: add xorg-release.py script

This script generates a report on the packaging status of X.org
releases in Buildroot. It does so by downloading the list of tarballs
that are part of a given X.org release, and compare that with the
packages that are available in Buildroot.

[Peter: drop .py suffix, make executable]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-xgixp: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:54 +0000 (01:26 +0000)]
xdriver_xf86-video-xgixp: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-xgi: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:53 +0000 (01:26 +0000)]
xdriver_xf86-video-xgi: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-tseng: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:52 +0000 (01:26 +0000)]
xdriver_xf86-video-tseng: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-suntcx: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:51 +0000 (01:26 +0000)]
xdriver_xf86-video-suntcx: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-sunleo: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:50 +0000 (01:26 +0000)]
xdriver_xf86-video-sunleo: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-suncg3: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:49 +0000 (01:26 +0000)]
xdriver_xf86-video-suncg3: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-suncg14: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:48 +0000 (01:26 +0000)]
xdriver_xf86-video-suncg14: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-sisusb: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:47 +0000 (01:26 +0000)]
xdriver_xf86-video-sisusb: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-s3virge: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:46 +0000 (01:26 +0000)]
xdriver_xf86-video-s3virge: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-s3: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:45 +0000 (01:26 +0000)]
xdriver_xf86-video-s3: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-rendition: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:44 +0000 (01:26 +0000)]
xdriver_xf86-video-rendition: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-i740: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:43 +0000 (01:26 +0000)]
xdriver_xf86-video-i740: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-chips: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:42 +0000 (01:26 +0000)]
xdriver_xf86-video-chips: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-apm: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:41 +0000 (01:26 +0000)]
xdriver_xf86-video-apm: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-input-aiptek: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:40 +0000 (01:26 +0000)]
xdriver_xf86-input-aiptek: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-input-acecad: remove package
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:39 +0000 (01:26 +0000)]
xdriver_xf86-input-acecad: remove package

This X.org driver has been removed from upstream X.org releases and is
related to a very specific type of hardware that isn't likely to be used
in a Buildroot context.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopthread-stubs: rename to xlib_libpthread-stubs
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:38 +0000 (01:26 +0000)]
pthread-stubs: rename to xlib_libpthread-stubs

In upstream X.org releases, pthread-stubs is named libpthread-stubs,
so for consistency reasons, we rename the Buildroot package
accordingly. Also, while we're at it, we add a xlib_ prefix to the
package to match other X.org libraries in Buildroot.

The necessary Config.in.legacy code is added to ensure that users
having .config files using the old configuration option name get a
warning.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogst-plugins-base: make alsa plug-in configurable
Sven Neumann [Thu, 20 Dec 2012 00:49:26 +0000 (00:49 +0000)]
gst-plugins-base: make alsa plug-in configurable

It may be desirable not to use the alsa sink for playback
even though alsa-lib is installed. So make this a configuration
option. This also takes care of selecting the proper options
for alsa-lib
(BR2_PACKAGE_ALSA_LIB_MIXER and BR2_PACKAGE_ALSA_LIB_PCM).

[Peter: fix indentation]
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoalsa-lib: fix build failures for nommu
Gustavo Zacarias [Sat, 5 Jan 2013 01:30:43 +0000 (01:30 +0000)]
alsa-lib: fix build failures for nommu

Disable the pcm_shm plugin (aserver) and alisp for nommu systems since
they use fork()
Fixes
http://autobuild.buildroot.net/results/7e59e73e516579045538e7cc0efbc22744a45d75

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoRevert "xlib_libXft: fix xft-config"
Peter Korsgaard [Fri, 4 Jan 2013 23:30:39 +0000 (00:30 +0100)]
Revert "xlib_libXft: fix xft-config"

This reverts commit 1a1009931f8f126087c0c4c013af63ca2037014a.

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

xlib_libXft hasn't provided an xft-config script since 2010.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxlib_libXft: fix xft-config
Stefan Fröberg [Thu, 3 Jan 2013 12:09:07 +0000 (12:09 +0000)]
xlib_libXft: fix xft-config

[Peter: use a single sed invocation]
Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibnspr: fix nspr-config
Stefan Fröberg [Thu, 3 Jan 2013 12:09:06 +0000 (12:09 +0000)]
libnspr: fix nspr-config

[Peter: use a single sed invocation]
Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoneon: fix neon-config
Stefan Fröberg [Thu, 3 Jan 2013 12:09:05 +0000 (12:09 +0000)]
neon: fix neon-config

[Peter: use a single sed invocation]
Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibgcrypt: fix libgcrypt-config
Stefan Fröberg [Thu, 3 Jan 2013 12:09:03 +0000 (12:09 +0000)]
libgcrypt: fix libgcrypt-config

[Peter: use a single sed invocation]
Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoimlib2: fix imlib2-config
Stefan Fröberg [Thu, 3 Jan 2013 12:09:02 +0000 (12:09 +0000)]
imlib2: fix imlib2-config

[Peter: use a single sed invocation]
Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogiblib: fix giblib-config
Stefan Fröberg [Thu, 3 Jan 2013 12:09:01 +0000 (12:09 +0000)]
giblib: fix giblib-config

[Peter: use a single sed invocation]
Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodivine: fix divine-config
Stefan Fröberg [Thu, 3 Jan 2013 12:09:00 +0000 (12:09 +0000)]
divine: fix divine-config

[Peter: use a single sed invocation]
Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqemu/sh4-r2d: update to use kernel 3.2.36
Gustavo Zacarias [Fri, 4 Jan 2013 02:17:44 +0000 (02:17 +0000)]
qemu/sh4-r2d: update to use kernel 3.2.36

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agokernel-headers: bmp 3.2.x stable version
Gustavo Zacarias [Fri, 4 Jan 2013 02:17:43 +0000 (02:17 +0000)]
kernel-headers: bmp 3.2.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoconfigs/at91rm9200df: update and fix
Gustavo Zacarias [Fri, 4 Jan 2013 05:13:46 +0000 (05:13 +0000)]
configs/at91rm9200df: update and fix

Update to the latest maxim.org.za kernel 2.6.38
Lock down headers version, otherwise we were building a toolchain with
3.7 headers for a 2.6.33 kernel - not too wise.
Also the AT91RM9200 is an ARM920T so enable that target.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogmp: bump to version 5.1.0
Gustavo Zacarias [Fri, 4 Jan 2013 07:12:47 +0000 (07:12 +0000)]
gmp: bump to version 5.1.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agompfr: bump to 3.1.1-p2
Gustavo Zacarias [Fri, 4 Jan 2013 07:12:46 +0000 (07:12 +0000)]
mpfr: bump to 3.1.1-p2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibnl: bump to version 3.2.17
Gustavo Zacarias [Fri, 4 Jan 2013 10:42:15 +0000 (10:42 +0000)]
libnl: bump to version 3.2.17

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosystem: TARGET_GENERIC_GETTY: allow it to be disabled
Peter Korsgaard [Fri, 4 Jan 2013 20:39:05 +0000 (21:39 +0100)]
system: TARGET_GENERIC_GETTY: allow it to be disabled

For some systems, you don't want to run any getty, so allow the option
to be disabled when the empty string is used.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqemu/arm-nuri: add new sample config
Gustavo Zacarias [Fri, 4 Jan 2013 09:27:57 +0000 (09:27 +0000)]
qemu/arm-nuri: add new sample config

Add the new arm-nuri sample qemu config.
Samsung Exynos4210 Cortex-A9 dual-core testing.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agouboot-tools: bump to version 2012.10
Gustavo Zacarias [Fri, 4 Jan 2013 10:22:47 +0000 (10:22 +0000)]
uboot-tools: bump to version 2012.10

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agozd1211-firmware: new package
Gustavo Zacarias [Fri, 4 Jan 2013 01:02:01 +0000 (01:02 +0000)]
zd1211-firmware: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoenlightenment: needs C++ support because of libevas-generic-loaders-svg
Peter Korsgaard [Fri, 4 Jan 2013 10:28:25 +0000 (11:28 +0100)]
enlightenment: needs C++ support because of libevas-generic-loaders-svg

Which pulls in pango.

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

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux-firmware: add options for DVB firmware files
Yann E. MORIN [Thu, 3 Jan 2013 11:18:59 +0000 (11:18 +0000)]
linux-firmware: add options for DVB firmware files

There are three firmware files that can be installed, each for
different devices.

For example, the DIB0700 firmware can be used by quite a few DVB
USB sticks based on this chipset (I know of at least two of them).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/linux-firmware: reorganise config menus
Yann E. MORIN [Thu, 3 Jan 2013 11:18:58 +0000 (11:18 +0000)]
package/linux-firmware: reorganise config menus

Reorganise the sub-menus for the linux-firmware package, so it is easier
to add new categories of firmwares to install (coming in a future patch).

Remove the per-chipco sub-menus, as all entries have the chipco name in
its prompt (except for TI, which is added).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agofirmwares: add a new package category to locate all firmwares
Yann E. MORIN [Thu, 3 Jan 2013 11:18:57 +0000 (11:18 +0000)]
firmwares: add a new package category to locate all firmwares

We have quite a few packages that are dedicated to providing firmwares
for miscellanous devices. Those package are spread out in the big
"Hradware handling" menu, so are a bit hard to find.

Move all those packages to their own sub-menu:
    Package Selection for the target  --->
        Hardware handling  --->
            Firmwares  --->
                [ ] b43-firware
                [ ] linux-firmware
                [ ] ux500-firmware

Hopefully, this will make it nicer, when new firmware-providing packages
are added in the future (eg. in the pipe: firmware for the RPI GPU).

Fix a typo in the 'b43-firmware' prompt (missing 'm').

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodocs: 2012.11.1 is out
Peter Korsgaard [Thu, 3 Jan 2013 21:02:10 +0000 (22:02 +0100)]
docs: 2012.11.1 is out

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agofluxbox: fix build against imlib2
Samuel Martin [Sun, 30 Dec 2012 11:33:26 +0000 (11:33 +0000)]
fluxbox: fix build against imlib2

* fix configure.in to take care of the given imlib2-prefix
* disable imlib2 support if imlib2 is not part of the selection

[Peter: imlib2 needs to be built with X support]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agograph-depends: add to exclusion list
Yann E. MORIN [Wed, 2 Jan 2013 10:36:03 +0000 (10:36 +0000)]
graph-depends: add to exclusion list

Add the root-password internal target to the exclusion list.

Fixes failures like:
    Getting dependencies for [... 'target-root-passwd' ...]
    Error getting dependencies [... 'target-root-passwd' ...]

Which is easily singled out with:
    $ make target-root-passwd-show-depends
    make[1]: *** No rule to make target `target-root-passwd-show-depends'.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxapp_xman: replace := by =
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:37 +0000 (01:26 +0000)]
xapp_xman: replace := by =

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxapp_xinput-calibrator: rename directory to match .mk name
Thomas Petazzoni [Wed, 2 Jan 2013 01:26:36 +0000 (01:26 +0000)]
xapp_xinput-calibrator: rename directory to match .mk name

The directory was named xapp_xinput_calibrator, but the .mk file was
named xapp_xinput-calibrator.mk, which isn't consistent. Rename the
directory to xapp_xinput-calibrator to be consistent with the naming
of the .mk file and the other x11r7 directories.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agograph-depends: remove support for "unknown" packages
Thomas Petazzoni [Wed, 2 Jan 2013 07:08:53 +0000 (07:08 +0000)]
graph-depends: remove support for "unknown" packages

The "unknown" packages mechanism was used to render packages that did
not implement the make <pkg>-show-depends target, i.e the packages
that were not yet converted to one of the package infrastructures.

Since now all packages have been converted, we can remove this
"unknown" packages feature.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agograph-depends: update copyright
Thomas Petazzoni [Wed, 2 Jan 2013 07:08:52 +0000 (07:08 +0000)]
graph-depends: update copyright

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agograph-depends: fix comment
Thomas Petazzoni [Wed, 2 Jan 2013 07:08:51 +0000 (07:08 +0000)]
graph-depends: fix comment

Since 9bc7b1d4ae694b818f941410d1ff59316a2bba6e, all X.org .mk files
are parsed unconditionally, even if BR2_PACKAGE_XORG7 is disabled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agograph-depends: optimize execution speed
Thomas Petazzoni [Wed, 2 Jan 2013 07:08:50 +0000 (07:08 +0000)]
graph-depends: optimize execution speed

Until now, graph-depends was calling "make <pkg>-show-depends"
individually for eack package, which was very slow. Now, it calls
"make <pkg1>-show-depends <pkg2>-show-depends ... <pkgN>-show-depends"
for all packages it knows, and then does that recursively. It reduces
the number of make invocations to the deepest dependency chain in the
current configuration, instead of having a number of make invocations
equal to the number of enabled packages.

For a configuration with xvkbd enabled (which brings a significant
number of X.org dependencies) and a tar root filesystem, the time to
execute graph-depends was:

real 5m14.944s
user 4m53.590s
sys 0m14.069s

After our optimizations, it is now:

real 0m33.096s
user 0m30.878s
sys 0m1.472s

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agograph-depends: use a separate TARGET_EXCEPTIONS variable
Thomas Petazzoni [Wed, 2 Jan 2013 07:08:49 +0000 (07:08 +0000)]
graph-depends: use a separate TARGET_EXCEPTIONS variable

In preparation for more graph-depends improvements, use a
TARGET_EXCEPTIONS list to list all the targets that should be ignored
while building the dependency graph.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agograph-depends: remove redundant dependencies
Thomas Petazzoni [Wed, 2 Jan 2013 07:08:48 +0000 (07:08 +0000)]
graph-depends: remove redundant dependencies

When doing a full graph of the dependencies, graph-depends starts by
doing a "make show-targets", which lists all the packages registered
in the $(TARGETS) variable. This variable contains all packages that
are enabled according to the .config file. Then, for each of those
packages, we used to create a "all" -> "package" dependency, even if
in fact most of some packages are already dependencies of other
packages. This creates a needlessly complex dependency graph.

This patch modifies graph-depends so that it filters out the unneeded
"all" -> "package" dependencies when "package" is already the
dependency of another package.

For example, if you have a configuration with libpng (which selects
zlib), "make show-targets" displays "libpng zlib", so graph-depends
used to create the following dependencies: (all -> libpng, all ->
zlib, libpng -> zlib). However, the (all -> zlib) dependency is not
really needed, as zlib is already the dependency of libpng. Those
dependencies are now filtered out.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agognutls: handle libidn properly
Gustavo Zacarias [Wed, 2 Jan 2013 04:50:10 +0000 (04:50 +0000)]
gnutls: handle libidn properly

Add it to the dependencies when it's available.
But disable crywrap when it's a nommu system since it uses fork()

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agognutls: fix build failure related to pthreads
Gustavo Zacarias [Wed, 2 Jan 2013 04:50:09 +0000 (04:50 +0000)]
gnutls: fix build failure related to pthreads

The pthreads autodetection poisons the linkpath thus making other
distribution libraries to take precedence over the cross ones.
Leading to failures such as:
http://autobuild.buildroot.net/results/tmp/3f979d4e2186ee31012c332fedec9591890b0b77

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqemu/sparc-ss10: switch to v8 optimization
Gustavo Zacarias [Wed, 2 Jan 2013 03:54:33 +0000 (03:54 +0000)]
qemu/sparc-ss10: switch to v8 optimization

Switch to generic V8 optimization for gcc since we dropped the explicit
supersparc one and works just the same.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoarch/sparc: drop old SUN-specific variants
Gustavo Zacarias [Wed, 2 Jan 2013 03:54:32 +0000 (03:54 +0000)]
arch/sparc: drop old SUN-specific variants

Drop the old Sun-specific variants used in old workstations (pre-1997)
and other useless ones.

The V7 ISA is a very old cpu only used in the first Sun workstations,
the toolchain support is broken: the cpu doesn't do hardware div and
it's not handled elsewhere.

The sparclite is also a very old Fujitsu cpu only used in early 90s Sun
machines (includes f930 & f934).

The sparclet (tsc701) was a microcontroller-variant.

The supersparc and hypersparc are just V8 variants also used in old Sun
workstations/servers.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agognupg: security bump to version 1.4.13
Gustavo Zacarias [Wed, 2 Jan 2013 03:47:02 +0000 (03:47 +0000)]
gnupg: security bump to version 1.4.13

Fixes CVE-2012-6085.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>