buildroot.git
11 years agopackage/exfat{,-utils}: license is GPLv3+
Yann E. MORIN [Tue, 26 Feb 2013 08:01:59 +0000 (08:01 +0000)]
package/exfat{,-utils}: license is GPLv3+

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agowireshark: new package
Baruch Siach [Sun, 17 Feb 2013 20:18:11 +0000 (20:18 +0000)]
wireshark: new package

This is only the bare minimum needed to build the textual tshark utility.
Support for more options, including the wireshark GUI, can be added later.

[Peter: point includedir at staging to workaround host/target headers issue]
Cc: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agobump json-c to 0.10
Andreas Wetzel [Tue, 19 Feb 2013 02:07:33 +0000 (02:07 +0000)]
bump json-c to 0.10

this patch bumps json-c to version 0.10 and adapts the no-reentrant patch
to the new version.

Signed-off-by: Andreas Wetzel <andreas.wetzel@nanotronic.ch>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agonmap: new package
Gustavo Zacarias [Mon, 25 Feb 2013 04:39:51 +0000 (04:39 +0000)]
nmap: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agof2fs-tools: new package
Gustavo Zacarias [Mon, 25 Feb 2013 08:47:36 +0000 (08:47 +0000)]
f2fs-tools: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain-external: add new Microblaze toolchains
Thomas Petazzoni [Mon, 4 Feb 2013 22:37:29 +0000 (22:37 +0000)]
toolchain-external: add new Microblaze toolchains

The existing Microblaze toolchains that we have have the annoying
property of being based on a very old glibc version: 2.3.6. Xilinx
provides newer toolchains with glibc 2.14, generated by Crosstool-NG,
but they are only available as part of a huge Git repository that
contains the gcc, Linux, binutils, glibc sources unpacked (4.4 GB
total), which makes is very unpractical.

I contacted the Xilinx person who did those toolchains, but they
apparently didn't intend to change that anytime soon.

So, we have created a tarball for those toolchains, adding a
README.txt file in the tarball that points back to the original
location that contains the source code for them. Those tarballs are
hosted on sources.buildroot.net.

This commit then adds support for those two new external toolchains,
one for little endian Microblaze, another one for big endian
Microblaze.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoexfat-utils: new package
Gustavo Zacarias [Tue, 5 Feb 2013 00:48:04 +0000 (00:48 +0000)]
exfat-utils: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoexfat: new package
Gustavo Zacarias [Tue, 5 Feb 2013 00:48:03 +0000 (00:48 +0000)]
exfat: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/connman: bump version to 1.11
Yann E. MORIN [Sun, 17 Feb 2013 13:22:32 +0000 (13:22 +0000)]
package/connman: bump version to 1.11

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/vtun: update to 3.0.3
Yann E. MORIN [Sun, 17 Feb 2013 13:22:31 +0000 (13:22 +0000)]
package/vtun: update to 3.0.3

Against all odds, vtun had a new release sometime last year.

Still, the code needs patching:
  - the existing patch to fix installation has been refreshed
  - the existing patch to fix blowfish header location has been
    replaced (see below)
  - configure looks in hard-coded, host paths (eg. /usr/include)
    without any consideration for scross-compilation
    --> new patch
  - configure.in does not even pass an autoreconf without a
    bit of love first (it's written in an ancient dialect that
    autoreconf does no longer recognise)
    --> new patch

Remove obsolete, unused, bit-rotting scripts and warning.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/vtun: add missing 'depends on' zlib
Yann E. MORIN [Sun, 17 Feb 2013 13:22:30 +0000 (13:22 +0000)]
package/vtun: add missing 'depends on' zlib

The dependency on zlib is correctly expresed in vtun.mk,
but was missing from the Config.in.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/tvheadend: update to v3.5
Yann E. MORIN [Sun, 17 Feb 2013 13:22:28 +0000 (13:22 +0000)]
package/tvheadend: update to v3.5

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoluajit: bump to version 2.0.1
Francois Perrad [Tue, 19 Feb 2013 22:29:29 +0000 (22:29 +0000)]
luajit: bump to version 2.0.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinenoise: patch was merged on upstream
Francois Perrad [Tue, 19 Feb 2013 22:29:00 +0000 (22:29 +0000)]
linenoise: patch was merged on upstream

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoKickoff 2013.05 cycle
Peter Korsgaard [Sun, 10 Feb 2013 12:49:23 +0000 (13:49 +0100)]
Kickoff 2013.05 cycle

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoUpdate for 2013.02-rc1
Peter Korsgaard [Sun, 10 Feb 2013 10:07:12 +0000 (11:07 +0100)]
Update for 2013.02-rc1

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodocs/news.html: announce dev meeting report
Peter Korsgaard [Sun, 10 Feb 2013 09:58:14 +0000 (10:58 +0100)]
docs/news.html: announce dev meeting report

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agomplayer: not supported on sh2/sh2a
gilles.talis@gmail.com [Sat, 9 Feb 2013 08:20:00 +0000 (08:20 +0000)]
mplayer: not supported on sh2/sh2a

mplayer configure script says that sh2a is not supported.

Fixes:
http://autobuild.buildroot.org/results/0e530fd99c4b37782208ee0549be500220643999/

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoCHANGES: update with recent changes
Peter Korsgaard [Sat, 9 Feb 2013 15:03:29 +0000 (16:03 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoimagemagick: fix CONFIG_SCRIPTS handling when C++ isn't available
Peter Korsgaard [Sat, 9 Feb 2013 11:13:59 +0000 (12:13 +0100)]
imagemagick: fix CONFIG_SCRIPTS handling when C++ isn't available

Fixes http://autobuild.buildroot.org/results/0b35567af8a41a14c9c33f3be5299978c5847e03

Magick++-config only gets installed when C++ support is detected.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoboost: Pass staging dir to --with-icu option.
Ignacy Gawedzki [Thu, 7 Feb 2013 03:48:35 +0000 (03:48 +0000)]
boost: Pass staging dir to --with-icu option.

When using the --with-icu option without specifying the directory, boost's
bootstrap.sh script will look at "common" locations (lines 289-294):

    COMMON_ICU_PATHS="/usr /usr/local /sw"
    for p in $COMMON_ICU_PATHS; do
      if test -r $p/include/unicode/utypes.h; then
        ICU_ROOT=$p
      fi
    done

With buildroot it may surely become problematic at some point.

Signed-off-by: Ignacy Gawędzki <i@lri.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibgpg-error: use <pkg>_CONFIG_SCRIPTS
Thomas Petazzoni [Thu, 7 Feb 2013 12:35:07 +0000 (12:35 +0000)]
libgpg-error: use <pkg>_CONFIG_SCRIPTS

libgpg-error installs a gpg-error-config script, but it wasn't fixed
up properly. Use the <pkg>_CONFIG_SCRIPTS to handle this.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Samuel Martin" <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage: use <pkg>_CONFIG_SCRIPTS in packages that used special handling
Thomas Petazzoni [Thu, 7 Feb 2013 12:35:06 +0000 (12:35 +0000)]
package: use <pkg>_CONFIG_SCRIPTS in packages that used special handling

The packages changed by this commit were not only changing prefix= and
exec_prefix= during their <foo>-config fixups, they were also changing
includedir= and/or libdir=. So, they could not be directly converted
to the new <pkg>_CONFIG_SCRIPTS infrastructure.

However, a careful analysis of their default <foo>-config shows that
includedir= and libdir= is defined relatively to either ${prefix} and
${exec_prefix}. Therefore, the manual fixing of includedir= and
libdir= is useless, and fixing prefix= and exec_prefix=, as done by
the <pkg>_CONFIG_SCRIPTS mechanism is sufficient.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Samuel Martin" <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage: use <pkg>_CONFIG_SCRIPTS wherever possible
Thomas Petazzoni [Thu, 7 Feb 2013 12:35:05 +0000 (12:35 +0000)]
package: use <pkg>_CONFIG_SCRIPTS wherever possible

Use the <pkg>_CONFIG_SCRIPTS mechanism in all packages for which it
does all what the package was doing. A few packages, like libxslt, are
for now left out, since they need some additional fixup (for example a
fixup of includedir).

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 agopackage: remove scripts listed in <pkg>_CONFIG_SCRIPTS from target
Thomas Petazzoni [Thu, 7 Feb 2013 12:35:04 +0000 (12:35 +0000)]
package: remove scripts listed in <pkg>_CONFIG_SCRIPTS from target

The <foo>-config scripts are useless on the target, since they are
only needed for development, so we remove them automatically.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: "Samuel Martin" <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage: rename <pkg>_CONFIG_FIXUP to <pkg>_CONFIG_SCRIPTS
Thomas Petazzoni [Thu, 7 Feb 2013 12:35:03 +0000 (12:35 +0000)]
package: rename <pkg>_CONFIG_FIXUP to <pkg>_CONFIG_SCRIPTS

This commit renames the newly introduced <pkg>_CONFIG_FIXUP variable
to <pkg>_CONFIG_SCRIPTS, for two reasons:

 * <pkg>_CONFIG_SCRIPTS will not only "fixup" the scripts in
   $(STAGING_DIR)/usr/bin, but also remove them from
   $(TARGET_DIR)/usr/bin. So it is not only about doing a "fixup".

 * On the principle, it is strange that the variable carries an
   indication of the action that will take place on those files. It
   should rather be named to say "Here are the <foo>-config scripts",
   and let the package infrastructure decide if it should fix them up,
   remove them, etc.

This commit also updates the documentation accordingly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: "Samuel Martin" <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibffi: add patch to fix library installation location
Thomas Petazzoni [Thu, 7 Feb 2013 11:59:09 +0000 (11:59 +0000)]
libffi: add patch to fix library installation location

The libffi library was installed in a wrong directory when using the
non-default variant of a multilib toolchain. We fix this by patching
the libffi Makefile.am to install its library in a normal
location. The patch has been submitted upstream.

Fixes:

 http://autobuild.buildroot.org/results/471b1d1547c8d726999ba9a865b87fd75429dcab/build-end.log (dbus-glib)
 http://autobuild.buildroot.org/results/eda3ae14eea61e777511fca561f8d43dc7f4a2a5/build-end.log (shared-mime-info)
 http://autobuild.buildroot.org/results/9c86692ae3485d5ae371c695bfbb4a9b67aa2368/build-end.log (librsvg)
 http://autobuild.buildroot.org/results/affd7f20c95f1019d040e2911877694300e3c876/build-end.log (bustle)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoconfig/kb9202_defconfig: update to latest at91 kernel and lock headers
Gustavo Zacarias [Fri, 8 Feb 2013 01:36:05 +0000 (01:36 +0000)]
config/kb9202_defconfig: update to latest at91 kernel and lock headers

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoconfigs/at91sam9g20dfc_defconfig: lock down kernel headers vesion
Gustavo Zacarias [Fri, 8 Feb 2013 01:36:04 +0000 (01:36 +0000)]
configs/at91sam9g20dfc_defconfig: lock down kernel headers vesion

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoconfigs/armadeus_apf9328_defconfig: lock down kernel headers version
Gustavo Zacarias [Fri, 8 Feb 2013 01:36:03 +0000 (01:36 +0000)]
configs/armadeus_apf9328_defconfig: lock down kernel headers version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoconfigs/mini2440_defconfig: lock down kernel headers version
Gustavo Zacarias [Fri, 8 Feb 2013 01:36:02 +0000 (01:36 +0000)]
configs/mini2440_defconfig: lock down kernel headers version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoconfigs/sheevaplug_defconfig: lock down kernel headers version
Gustavo Zacarias [Fri, 8 Feb 2013 01:36:01 +0000 (01:36 +0000)]
configs/sheevaplug_defconfig: lock down kernel headers version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agorootfs-overlay: also exclude .empty files
Arnout Vandecappelle (Essensium/Mind) [Thu, 7 Feb 2013 11:58:10 +0000 (11:58 +0000)]
rootfs-overlay: also exclude .empty files

This makes it possible to put empty directories in the overlay.
Thanks to Aras Vaichas for pointing that out.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoAdjust prompt for the post-build scripts option
Thomas Petazzoni [Thu, 7 Feb 2013 11:58:48 +0000 (11:58 +0000)]
Adjust prompt for the post-build scripts option

Since the post-image config option uses the plural for "Custom
scripts", do the same for the post-build config option, for
consistency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodocs/manual: slightly reword the solutions to customize rootfs
Thomas Petazzoni [Thu, 7 Feb 2013 11:58:47 +0000 (11:58 +0000)]
docs/manual: slightly reword the solutions to customize rootfs

The order of the solutions to customize the root filesystem is
changed: we now mention the post-build script mechanism *before* the
custom root filesystem skeleton mechanism, because the former is
preferred over the latter.

In addition to this, we give a few more details about direct
customization of the root filesystem in output/target, and about the
custom target skeleton solution.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodocs/manual: no longer mention the package/customize thing
Thomas Petazzoni [Thu, 7 Feb 2013 11:58:46 +0000 (11:58 +0000)]
docs/manual: no longer mention the package/customize thing

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: "Samuel Martin" <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/customize: remove
Thomas Petazzoni [Thu, 7 Feb 2013 11:58:45 +0000 (11:58 +0000)]
package/customize: remove

This mechanism of root filesystem customization has been deprecated
since a long time, so let's remove it now.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: "Samuel Martin" <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodocs/manual: mention the new post-image mechanism
Thomas Petazzoni [Thu, 7 Feb 2013 11:58:44 +0000 (11:58 +0000)]
docs/manual: mention the new post-image mechanism

[Peter: fix minor typos]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoAdd a post-image script mechanism
Thomas Petazzoni [Thu, 7 Feb 2013 11:58:43 +0000 (11:58 +0000)]
Add a post-image script mechanism

Just like we have a post-build script mechanism that gets executed
after the build of all packages but before the creation of the
filesystem images, let's introduce a post-image script mechanism, that
gets executed once all filesystem images have been generated.

This can for example be used to call a tool building a firmware image
from different images generated by Buildroot, or automatically extract
the tarball root filesystem image into some location exported by NFS,
or any other custom action.

[Peter: fix image script check]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoconfigs/beaglebone_defconfig: lock down kernel headers version
Gustavo Zacarias [Fri, 8 Feb 2013 02:46:49 +0000 (02:46 +0000)]
configs/beaglebone_defconfig: lock down kernel headers version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agofbset: define license
Luca Ceresoli [Wed, 6 Feb 2013 06:24:12 +0000 (06:24 +0000)]
fbset: define license

[Peter: license is GPLv2 like Linux]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoarch/arm: fix-up the ARM Kconfig warning
Yann E. MORIN [Thu, 7 Feb 2013 09:04:48 +0000 (09:04 +0000)]
arch/arm: fix-up the ARM Kconfig warning

Kconfig does not accepts that a symbol that is part of a choice
be affected a default value.

Fix this by introducing a dummy EABI symbol, and make the real
EABI symbol a prompt-less option that depends on !OABI.

[Peter: drop arm dependency, rename to EABI_CHOICE]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoproxychains-ng: needs threads
Peter Korsgaard [Thu, 7 Feb 2013 18:20:30 +0000 (19:20 +0100)]
proxychains-ng: needs threads

Also capitalize help text while we're at it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoproxychains-ng: ensure cross compiler is used
Peter Korsgaard [Thu, 7 Feb 2013 18:09:38 +0000 (19:09 +0100)]
proxychains-ng: ensure cross compiler is used

Fixes http://autobuild.buildroot.org/results/e184fcb1c100e9d8aa3d9f18a8caee8c0839e207

Contrary to what the .mk file states, proxychains-ng doesn't use autotools.
Instead it uses a handwritten configure script, so convert it to
generic-package.

This handwritten configure script generates config.mak which is then
included by the Makefile. Unfortunately config.mak does:

CC ?= $(TARGET_CC)

But as make sets CC to 'cc' by default, this never does anything - So
it ends up using the host compiler (and target CFLAGS), breaking the build.

Fix it by passing the correct CC setting at build time as well.

While we're at it, also cleanup the package by using 'make install-config'
to install the configuration file.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoconfigs/{ea3250, fdi3250, phy3250}: lock down kernel headers version
Gustavo Zacarias [Wed, 6 Feb 2013 10:21:53 +0000 (10:21 +0000)]
configs/{ea3250, fdi3250, phy3250}: lock down kernel headers version

Update {ea3250,fdi3250,phy3250}_defconfig to lock down kernel headers to
an appropiate version.
Otherwise the target is building with, at the moment of this writing,
version 3.7 headers and a 2.6.34 kernel which usually isn't wise.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agobarebox: add 2013.02.0, remove 2012.10
Fabio Porcedda [Thu, 7 Feb 2013 02:59:22 +0000 (02:59 +0000)]
barebox: add 2013.02.0, remove 2012.10

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agocoreutils: needs mmu
Gustavo Zacarias [Thu, 7 Feb 2013 00:37:52 +0000 (00:37 +0000)]
coreutils: needs mmu

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

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoConfig.in: move BR2_DEFCONFIG to Build options menu.
Arnout Vandecappelle (Essensium/Mind) [Wed, 6 Feb 2013 21:50:57 +0000 (21:50 +0000)]
Config.in: move BR2_DEFCONFIG to Build options menu.

As suggested by gustavoz.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoarm: deprecate OABI
Arnout Vandecappelle (Essensium/Mind) [Wed, 6 Feb 2013 13:51:24 +0000 (13:51 +0000)]
arm: deprecate OABI

The BR2_ARM_EABI config symbol is still kept in order to minimize
the impact.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoconfigs/qemu: update to use latest kernels
Gustavo Zacarias [Wed, 6 Feb 2013 08:49:39 +0000 (08:49 +0000)]
configs/qemu: update to use latest kernels

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoser2net: add license information
Gustavo Zacarias [Wed, 6 Feb 2013 06:37:31 +0000 (06:37 +0000)]
ser2net: add license information

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain/kernel-headers: not just 2.6 for manual version
Gustavo Zacarias [Wed, 6 Feb 2013 08:43:25 +0000 (08:43 +0000)]
toolchain/kernel-headers: not just 2.6 for manual version

The manual linux headers option may specify versions other than the 2.6
series, so drop the "2.6"

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agouClibc: mark 0.9.31 as deprecated
Peter Korsgaard [Wed, 6 Feb 2013 21:18:53 +0000 (22:18 +0100)]
uClibc: mark 0.9.31 as deprecated

0.9.31 is old and doesn't actually build with modern kernel headers,
so mark it as deprecated.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agokernel-headers: bump 3.2.x stable version
Gustavo Zacarias [Wed, 6 Feb 2013 03:39:21 +0000 (03:39 +0000)]
kernel-headers: bump 3.2.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agomdadm: use BR2_KERNEL_MIRROR for SITE
Gustavo Zacarias [Wed, 6 Feb 2013 03:36:57 +0000 (03:36 +0000)]
mdadm: use BR2_KERNEL_MIRROR for SITE

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoiw: use BR2_KERNEL_MIRROR for SITE
Gustavo Zacarias [Wed, 6 Feb 2013 03:36:56 +0000 (03:36 +0000)]
iw: use BR2_KERNEL_MIRROR for SITE

As pointed by Arnout Vandecappelle.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibatasmart: fix host/build flags confusion with strpool
Peter Korsgaard [Wed, 6 Feb 2013 13:20:27 +0000 (14:20 +0100)]
libatasmart: fix host/build flags confusion with strpool

Fixes http://autobuild.buildroot.org/results/3fbdcd1db0272232231a2a5546925ef30e93bf9a

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibatasmart: move under libraries->hardware handling
Peter Korsgaard [Wed, 6 Feb 2013 08:19:02 +0000 (09:19 +0100)]
libatasmart: move under libraries->hardware handling

It is a library, so it should go under libraries.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoiftop: needs threads support
Peter Korsgaard [Wed, 6 Feb 2013 08:14:08 +0000 (09:14 +0100)]
iftop: needs threads support

Fixes http://autobuild.buildroot.org/results/f2cb6113c360b8dbf63bafe5ae425921babdf636

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosdl: use default autotools target-install
Peter Korsgaard [Tue, 5 Feb 2013 22:28:51 +0000 (23:28 +0100)]
sdl: use default autotools target-install

Fixes http://autobuild.buildroot.org/results/c950d7920d384cb0d37403cbe8344691d4231a1a

The normal 'make install' is perfectly fine, and it also works for static
builds.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibvncserver: gnutls support needs gcrypt as well
Peter Korsgaard [Tue, 5 Feb 2013 22:09:44 +0000 (23:09 +0100)]
libvncserver: gnutls support needs gcrypt as well

Fixes http://autobuild.buildroot.org/results/3b479b8cf751cc0c075ab942b56aad36f79ada71

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibsndfile: Add dependency on BR2_LARGEFILE
Ryan Mallon [Tue, 5 Feb 2013 07:00:05 +0000 (07:00 +0000)]
libsndfile: Add dependency on BR2_LARGEFILE

libsndfile requires sizeof(sf_count_t) == 8, where sf_count_t is a
typedef alias for off_t. This is not true by default for all
tool-chains, which leads to a runtime assert failure in binaries
compiled against libsndfile. See:

  http://permalink.gmane.org/gmane.comp.audio.libsndfile.devel/229

Add a dependency on BR2_LARGEFILE for libsndfile, and a comment if
BR2_LARGEFILE is not selected.

[Thomas: rebased patch, added more propagation of the new
BR2_LARGEFILE dependency to gst-plugins-good and mpd.]

Signed-off-by: Ryan Mallon <rmallon@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agodhcp: bump to version 4.1-ESV-R8
Gustavo Zacarias [Tue, 5 Feb 2013 09:29:51 +0000 (09:29 +0000)]
dhcp: bump to version 4.1-ESV-R8

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosquid: bump to version 3.2.7
Gustavo Zacarias [Tue, 5 Feb 2013 09:29:50 +0000 (09:29 +0000)]
squid: bump to version 3.2.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoMake savedefconfig save to a configured file.
Arnout Vandecappelle (Essensium/Mind) [Tue, 5 Feb 2013 07:16:02 +0000 (07:16 +0000)]
Make savedefconfig save to a configured file.

Store BR2_DEFCONFIG in .config, and use it to update the original input
defconfig file after updating the configuration.  When a config is
created by using the BR2_DEFCONFIG=... option, this is saved in the
.config file; later runs of savedefconfig will update that same location.
It is also possible to configure this place in the interactive
configuration.

The BR2_DEFCONFIG value itself is not saved into the generated
defconfig, since Kconfig considers it at its default. This is
intentional, to avoid hard-coding an absolute path in the defconfig.
It will anyway be set again when the defconfig is used with the
'make BR2_DEFCONFIG=... defconfig' command.

As a side-effect of this change, the *config options have been moved out
of the BR2_HAVE_DOT_CONFIG condition.  This doesn't make any functional
difference, because the .config is still not read for the *config targets.
However, the defconfig and savedefconfig targets do need to include
.config now, which makes them slightly slower.

[Peter: slightly tweak help text]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agobusybox: busybox-update-config should depend on busybox-configure
Arnout Vandecappelle (Essensium/Mind) [Tue, 5 Feb 2013 07:16:01 +0000 (07:16 +0000)]
busybox: busybox-update-config should depend on busybox-configure

Before the config file can be copied, it has to exist.  The
other xxx-update-config targets do this as well.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotarget/generic: add filesystem overlay option
Arnout Vandecappelle (Essensium/Mind) [Tue, 5 Feb 2013 07:16:00 +0000 (07:16 +0000)]
target/generic: add filesystem overlay option

The filesystem overlay is a tree that is copied over the target fs
after building everything - which is currently usually done in the
post-build script.

[Peter: don't ignore missing directories]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agomanual: add section about storing the configuration.
Arnout Vandecappelle (Essensium/Mind) [Tue, 5 Feb 2013 07:15:59 +0000 (07:15 +0000)]
manual: add section about storing the configuration.

Reuse part of board-support.txt, and remove that one because it
was unused.

[Peter: minor tweaks to text]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoLegacy: order the options reverse-chronologically.
Arnout Vandecappelle (Essensium/Mind) [Tue, 5 Feb 2013 05:34:33 +0000 (05:34 +0000)]
Legacy: order the options reverse-chronologically.

This makes sure that the most interesting ones are at the top.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoLegacy: make the menu a normal menu.
Arnout Vandecappelle (Essensium/Mind) [Tue, 5 Feb 2013 05:34:32 +0000 (05:34 +0000)]
Legacy: make the menu a normal menu.

The help text is moved to comments.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoCHANGES: ARMv8 64bit arch is called AArch64
Peter Korsgaard [Tue, 5 Feb 2013 18:28:09 +0000 (19:28 +0100)]
CHANGES: ARMv8 64bit arch is called AArch64

Thanks to Thomas for noticing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoopenssl: security bump to version 1.0.1d
Gustavo Zacarias [Tue, 5 Feb 2013 15:06:53 +0000 (12:06 -0300)]
openssl: security bump to version 1.0.1d

Fixes CVE-2013-0169, CVE-2012-2686 and CVE-2013-0166.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibffi: switch to using a Git version, brings Microblaze and Xtensa support
Thomas Petazzoni [Mon, 4 Feb 2013 12:52:09 +0000 (12:52 +0000)]
libffi: switch to using a Git version, brings Microblaze and Xtensa support

We already had backported patches for the Blackfin and AArch64
support, and now we would have needed to also backport the Xtensa
support and the Microblaze support. This starts to get crazy.

Let's switch to using a Git version from Github, until libffi finally
releases a new stable version.

In order to achieve this, we also need to:

 * autoreconf the package, so that a libffi.pc file gets generated

 * manually install the libffi.pc file, because it doesn't get
   installed by libffi Makefile, for some reason

 * remove the part of the target post install hook that was messing
   with libffi.pc, since it was modifying the one in STAGING_DIR
   (which is odd for a target post install hook), and the libffi.pc
   file is anyway not installed to the target anymore.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoutil-linux: add support for Xtensa
Chris Zankel [Mon, 4 Feb 2013 12:52:08 +0000 (12:52 +0000)]
util-linux: add support for Xtensa

[Thomas Petazzoni: rename patch to not have the package version in the
patch file name, adjust the commit title.]

Signed-off-by: Chris Zankel <chris@zankel.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoutil-linux: add numbers to patches
Thomas Petazzoni [Mon, 4 Feb 2013 12:52:07 +0000 (12:52 +0000)]
util-linux: add numbers to patches

As we are going to add an Xtensa related patch that needs to be
applied *after* the AArch64 patch, let's first add a number to each
util-linux patch file name, so that we know they will be applied in
the right order.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoMake external toolchain relocatable
Arnout Vandecappelle [Sun, 15 Jul 2012 01:12:05 +0000 (01:12 +0000)]
Make external toolchain relocatable

The external toolchain wrapper sets sysroot etc. to an absolute path.
By changing this to a relative path, it is possible to move the host
directory to a different location and still have a working build
system.

This only works for a downloaded external toolchain.  For a pre-installed
external toolchain, it is possible to move the host directory to a
different location, but not the external toolchain directory (it does work
if the external toolchain directory lies within the host directory).  For
an internal or crosstool-ng toolchain, there is no wrapper so updating the
sysroot path should be done in a different way.

See http://lists.busybox.net/pipermail/buildroot/2012-February/050371.html
for information about others things to do to make the host directory
relocatable.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agognutls: tools require the package
Gustavo Zacarias [Tue, 5 Feb 2013 03:49:54 +0000 (03:49 +0000)]
gnutls: tools require the package

[Peter: remove the unneeded BR2_USE_WCHAR dependency]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agobusybox: add mdev patch for 1.21.0
Gustavo Zacarias [Tue, 5 Feb 2013 01:38:19 +0000 (01:38 +0000)]
busybox: add mdev patch for 1.21.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosamba: security bump to version 3.6.12
Gustavo Zacarias [Tue, 5 Feb 2013 00:22:58 +0000 (00:22 +0000)]
samba: security bump to version 3.6.12

Fixes CVE-2013-0213

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoCHANGES: fix Aarch64 typo
Peter Korsgaard [Tue, 5 Feb 2013 11:10:13 +0000 (12:10 +0100)]
CHANGES: fix Aarch64 typo

Thanks to WIll Newton to noticing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoRevert "gnutls: make it non-wchar friendly"
Peter Korsgaard [Tue, 5 Feb 2013 10:45:28 +0000 (11:45 +0100)]
Revert "gnutls: make it non-wchar friendly"

This reverts commit f1b86cef9884894df26ed25efaabe254f8f0754b

While the fix makes gnutls build without wchar, it doesn't actually work as
there's no rpl_wctomb implementation so the .so ends up with an undefined
reference to wctomb:

./host/usr/bin/arm-linux-nm -D staging/usr/lib/libgnutls.so.28|grep wctomb
         U wctomb

Causing linker errors for packages trying to use it:

  CCLD   msmtp
host/usr/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libgnutls.so:
undefined reference to `wctomb'
collect2: ld returned 1 exit status

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agognutls: bump version
Peter Korsgaard [Tue, 5 Feb 2013 09:39:17 +0000 (10:39 +0100)]
gnutls: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibupnp: security bump to version 1.6.18
Gustavo Zacarias [Mon, 4 Feb 2013 16:13:10 +0000 (16:13 +0000)]
libupnp: security bump to version 1.6.18

Fixes CVE-2012-5958, CVE-2012-5959, CVE-2012-5960, CVE-2012-5961,
CVE-2012-5962, CVE-2012-5963, CVE-2012-5964 and CVE-2012-5965.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoRevert "gawk: bump to version 4.0.2"
Peter Korsgaard [Tue, 5 Feb 2013 08:36:50 +0000 (09:36 +0100)]
Revert "gawk: bump to version 4.0.2"

This reverts commit 6b307de4f9d6ae806b7cbbf8bc1d412d139d75cf (version part).

Fixes http://autobuild.buildroot.org/results/46828cef48bc1267583ba8174c0e8ee993fac865

As discussed on the list, let's revert this for the 2013.02 release
and then bring it up wiith gawk upstream / try to fix for 2013.05+

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolvm2: uses fork()
Peter Korsgaard [Tue, 5 Feb 2013 08:00:22 +0000 (09:00 +0100)]
lvm2: uses fork()

Fixes http://autobuild.buildroot.org/results/cbc74e2fb5eaefac1fe17ada1dc46a5c906cc1c9

Also propagate BR2_USE_MMU to lvm2's reverse dependencies.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoliboping: fix legal-info
Peter Korsgaard [Tue, 5 Feb 2013 07:45:02 +0000 (08:45 +0100)]
liboping: fix legal-info

Fixes http://autobuild.buildroot.org/results/c0bfc03389382235782474b278ca4afd1d283d60

The included (LGPL) license file is called COPYING.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/qemu: bump version to 1.3.1
Yann E. MORIN [Sun, 3 Feb 2013 04:06:38 +0000 (04:06 +0000)]
package/qemu: bump version to 1.3.1

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage/usbredir: update to version 0.6
Yann E. MORIN [Mon, 4 Feb 2013 06:01:14 +0000 (06:01 +0000)]
package/usbredir: update to version 0.6

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogdb: fixing gdb 7.4.1 build with eglibc-2_16
Carsten Schoenert [Mon, 4 Feb 2013 10:50:28 +0000 (10:50 +0000)]
gdb: fixing gdb 7.4.1 build with eglibc-2_16

gdb 7.4.1 fails with the following error
  gdb-7.4.1/gdb/linux-nat.h:79:18: error: field 'siginfo' has incomplete type
because gdb use 'struct siginfo' instead of 'struct siginfo_t'.
Crosstool-NG allready use the patches to prevent this error so use this
patches for buildroot too.

see also http://permalink.gmane.org/gmane.comp.gcc.cross-compiling/15305

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

Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoliboping: add license information
Gustavo Zacarias [Tue, 29 Jan 2013 08:23:57 +0000 (08:23 +0000)]
liboping: add license information

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibpcap: fixup pcap-config
Baruch Siach [Sat, 2 Feb 2013 20:04:15 +0000 (20:04 +0000)]
libpcap: fixup pcap-config

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopkg-infra: add <pkg>_CONFIG_FIXUP to fix *-config files
Stefan Fröberg [Wed, 30 Jan 2013 02:46:40 +0000 (02:46 +0000)]
pkg-infra: add <pkg>_CONFIG_FIXUP to fix *-config files

This patch will add <pkg>_CONFIG_FIXUP variable to buildroot infra.

It's purpose is to inform buildroot that the package in question
contains some $(STAGING_DIR)/usr/bin/*-config files and that we
want to automatically fix prefixes of such files.

It is often the case that many packages call these
files during their configuration step to determine 3rd party
library package locations and any flags needed to link against them.

For example:
Some package might try to check the existense and linking flags
of NSPR package by calling $(STAGING_DIR)/usr/bin/nspr-config --prefix.
Without this fix. NSPR would return /usr/ as it's prefix which is
wrong when cross-compiling.
Correct would be $(STAGING_DIR)/usr.

All packages that have <pkg>_INSTALL_STAGING = YES defined and
also install some config file(s) into $(STAGING_DIR)/usr/bin must
hereafter also define <pkg>_CONFIG_FIXUP with the correspondig
filename(s).

For example:

DIVINE_CONFIG_FIXUP = divine-config

or for multiple files:

IMAGEMAGICK_CONFIG_FIXUP = Magick-config Wand-config

Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogdb: build gdbserver with TARGET_MAKE_ENV
Thomas Petazzoni [Sun, 3 Feb 2013 02:30:22 +0000 (02:30 +0000)]
gdb: build gdbserver with TARGET_MAKE_ENV

This commit fixes the exact same problem than
21a0c11a90f9ff19c78a5f32e0a2e9064fd28054, but for the gdbserver
build. The problem is that when you use the Crosstool-NG toolchain
backend, gawk gets built as a dependency of Crosstool-NG. So the gdb
configure scripts detects it, and assumes it is in the PATH (because
the gdb configure step gets run with TARGET_MAKE_ENV).

But then, the build fails, because it tries to run gawk, but gawk
isn't in the PATH, because we forget to use this TARGET_MAKE_ENV
variable when building gdbserver.

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotvheadend: disable on avr32
Thomas Petazzoni [Sun, 3 Feb 2013 02:15:28 +0000 (02:15 +0000)]
tvheadend: disable on avr32

tvheadend requires an atomic_add operation. Either you have a gcc >=
4.3 toolchain and it uses the gcc intrinsics, or it has special code
for x86, x86-64, PPC and ARM. So in the context of Buildroot, the only
really problematic architecture is avr32, which uses gcc 4.2.

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotvheadend: get rid of trailing spaces/tabs
Thomas Petazzoni [Sun, 3 Feb 2013 02:15:27 +0000 (02:15 +0000)]
tvheadend: get rid of trailing spaces/tabs

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopolarssl: security bump to version 1.2.5
Gustavo Zacarias [Mon, 4 Feb 2013 02:51:03 +0000 (02:51 +0000)]
polarssl: security bump to version 1.2.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agouboot-tools: also bump to 2013.01.01
Gustavo Zacarias [Mon, 4 Feb 2013 02:25:17 +0000 (02:25 +0000)]
uboot-tools: also bump to 2013.01.01

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoiw: switch upstream site
Gustavo Zacarias [Mon, 4 Feb 2013 02:20:30 +0000 (02:20 +0000)]
iw: switch upstream site

It's moved from wireless.kernel.org to generic kernel.org

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux: bump 3.7.x stable version
Gustavo Zacarias [Mon, 4 Feb 2013 00:50:15 +0000 (00:50 +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 [Mon, 4 Feb 2013 00:50:14 +0000 (00:50 +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>