buildroot.git
12 years agosocat: fix build failure due to ext2_fs.h header, bump version
Thomas Petazzoni [Thu, 17 May 2012 01:15:57 +0000 (01:15 +0000)]
socat: fix build failure due to ext2_fs.h header, bump version

In kernel >= 3.3, the ext2_fs.h can no longer be imported from
userspace. This has been fixed for internal toolchains by adding a
patch to kernel headers, but this doesn't work with toolchains
generated by Crosstool-NG, or potentially upcoming external
toolchains.

socat in fact has a test in its configure.in, but the configure was
generated too long ago, and the generated test relies on the
preprocessor result and not the compiler result (but warns that in the
future, the compiler result will be used instead of the preprocessor
result).

So, by running autoconf on this package, we fix the problem: it
properly checks whether ext2_fs is usable or not, and acts
accordingly. Of course, it means that with recent versions of the
kernel, ext2-specific features of socat are unavailable, and we'll
have to wait for the socat developers to adapt their code so that they
use the e2fsprogs headers.

We also bump the version, since a new minor version fixing a security
problem has been released.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoapr: requires shared library support
Thomas Petazzoni [Thu, 17 May 2012 09:26:45 +0000 (09:26 +0000)]
apr: requires shared library support

The apr library requires shared library support unconditionally, so
make it depend on !BR2_PREFER_STATIC_LIB, so that architectures that
support static libraries only do not make this package available.

Solves
http://autobuild.buildroot.org/results/f4cd9751e85e9ee7fde2e9479e0f01ab2be93e84/build-end.log.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoopencv: add zlib dependency
Thomas Petazzoni [Thu, 17 May 2012 05:11:22 +0000 (05:11 +0000)]
opencv: add zlib dependency

The opencv package selects zlib, but it does not depend on it. This
leads to cases where opencv gets built before zlib, and in this case,
opencv uses its internal version of zlib, which doesn't build properly
(it has some conditional code for ARM that is probably broken), see:

  http://autobuild.buildroot.org/results/45f4e195fe0cc5acace10287f5ff33aa953d5430/build-end.log

We fix this by properly adding the opencv dependency on zlib.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agotoolchain/crosstool-NG: disable decimal floats
Yann E. MORIN [Tue, 15 May 2012 11:15:50 +0000 (11:15 +0000)]
toolchain/crosstool-NG: disable decimal floats

Decimal floats were introduced circa gcc-4.2 or -4.3, and requires
the floating-point environement fenv.h in the C library.

The uClibc .config file used by crosstool-NG to build uClibc is the
same as used by the internal buildroot mechanism, and explcitly
disables fenv support.

The quick workaround is to simply disable decimal floats in all
crosstool-NG config files.

In the long run, it might be better to check this situation, and/or
add code and/or options in crosstool-NG to handle this (but it is
much more involved, and this workaround is sane).

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agodnsmasq: host-pkg-config is needed for lua support as well
Peter Korsgaard [Tue, 15 May 2012 20:57:32 +0000 (22:57 +0200)]
dnsmasq: host-pkg-config is needed for lua support as well

Fixes http://autobuild.buildroot.org/results/94d67f02c81639e1586d1c21a7e3b183a6ab50a2

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoext-tool.mk: fix SUPPORT_LIB_DIR calculation for toolchains without libstdc++
Peter Korsgaard [Tue, 15 May 2012 20:44:17 +0000 (22:44 +0200)]
ext-tool.mk: fix SUPPORT_LIB_DIR calculation for toolchains without libstdc++

SUPPORT_LIB_DIR would get resolved to the main buildroot directory for
external toolchains without C++ support, as:

 - gcc -print-file-name=<nonexisting-file> returns <nonexisting-file>
 - readlink -f <nonexisting-file> returns $PWD/<nonexisting-file>

So fix it by ensuring output of gcc -print-file-name actually exists
before using it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoRevert "directfb: add support for davinci gfx driver"
Peter Korsgaard [Tue, 15 May 2012 19:56:14 +0000 (21:56 +0200)]
Revert "directfb: add support for davinci gfx driver"

This reverts commit df39ffe7f437f62d7c0eb6d73bdb86b2d09a8c8a.

It's broken and Arnout no longer has the hardware to fix/test.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agouClibc: bump 0.9.33.x stable version
Peter Korsgaard [Tue, 15 May 2012 09:46:39 +0000 (11:46 +0200)]
uClibc: bump 0.9.33.x stable version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agondisc6: fix build when libintl is enabled
Peter Korsgaard [Tue, 15 May 2012 07:42:44 +0000 (09:42 +0200)]
ndisc6: fix build when libintl is enabled

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agogdb: not available on avr32
Thomas Petazzoni [Sun, 13 May 2012 21:50:57 +0000 (21:50 +0000)]
gdb: not available on avr32

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agodocs/header.html: freshmeat got renamed to freecode
Peter Korsgaard [Mon, 14 May 2012 20:13:43 +0000 (22:13 +0200)]
docs/header.html: freshmeat got renamed to freecode

As pointed out by Gustavoz on IRC.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/configs: update to use kernel 3.3.6
Gustavo Zacarias [Sun, 13 May 2012 01:25:14 +0000 (01:25 +0000)]
qemu/configs: update to use kernel 3.3.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/sh4-r2d: update to use kernel 3.2.17
Gustavo Zacarias [Sun, 13 May 2012 01:25:13 +0000 (01:25 +0000)]
qemu/sh4-r2d: update to use kernel 3.2.17

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agokernel-headers: bump 3.{2, 3}.x stable versions
Gustavo Zacarias [Sun, 13 May 2012 01:25:12 +0000 (01:25 +0000)]
kernel-headers: bump 3.{2, 3}.x stable versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolinux: bump default to kernel version 3.3.6
Gustavo Zacarias [Sun, 13 May 2012 01:25:11 +0000 (01:25 +0000)]
linux: bump default to kernel version 3.3.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoheirloom-mailx: run makeconfig in configure step
Arnout Vandecappelle [Sat, 12 May 2012 23:44:18 +0000 (23:44 +0000)]
heirloom-mailx: run makeconfig in configure step

The heirloom-mailx Makefile runs makeconfig if this has not been done
before.  In a parallel build, this means makeconfig may be run several
times in parallel because there are two targets that depend on makeconfig.
See for instance
http://autobuild.buildroot.net/results/d24854be69961f71db189f9d804d4bd2cfa078da

To avoid this, run makeconfig in the configure step, which is not parallel.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoopenssl: security bump to version 1.0.0j
Gustavo Zacarias [Fri, 11 May 2012 05:45:48 +0000 (05:45 +0000)]
openssl: security bump to version 1.0.0j

Bump to version 1.0.0j to fix CVE-2012-2333

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agocrosstool-ng: depend on gperf
Arnout Vandecappelle [Sat, 12 May 2012 05:52:44 +0000 (05:52 +0000)]
crosstool-ng: depend on gperf

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

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoUpdate for 2012.05-rc1
Peter Korsgaard [Thu, 10 May 2012 17:07:20 +0000 (19:07 +0200)]
Update for 2012.05-rc1

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolinux: document and default to sensible value for BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION
Peter Korsgaard [Thu, 10 May 2012 13:59:46 +0000 (15:59 +0200)]
linux: document and default to sensible value for BR2_LINUX_KERNEL_CUSTOM_GIT_VERSION

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoCHANGES: update with recent changes
Peter Korsgaard [Wed, 9 May 2012 21:17:14 +0000 (23:17 +0200)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoFix installation for the lighttpd package
Maxime Ripard [Fri, 20 Apr 2012 04:04:20 +0000 (04:04 +0000)]
Fix installation for the lighttpd package

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agowpa_supplicant: install basic configuration file
Yegor Yefremov [Sun, 22 Apr 2012 20:55:54 +0000 (20:55 +0000)]
wpa_supplicant: install basic configuration file

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agotarget/arch: x86/prescott doesn't define BR2_ARCH, fix it
Gustavo Zacarias [Wed, 9 May 2012 06:19:04 +0000 (06:19 +0000)]
target/arch: x86/prescott doesn't define BR2_ARCH, fix it

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/configs: update to use kernel 3.3.5
Gustavo Zacarias [Wed, 9 May 2012 01:36:35 +0000 (01:36 +0000)]
qemu/configs: update to use kernel 3.3.5

Update the qemu samples configs that used kernel 3.3.4 to 3.3.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/microblazeel-mmu: update configuration
Gustavo Zacarias [Wed, 9 May 2012 01:36:34 +0000 (01:36 +0000)]
qemu/microblazeel-mmu: update configuration

Beautify and lock down kernel version to avoid future issues.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/microblazebe-mmu: update configuration
Gustavo Zacarias [Wed, 9 May 2012 01:36:33 +0000 (01:36 +0000)]
qemu/microblazebe-mmu: update configuration

Beautify and lock down kernel version to avoid future issues.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoopenswan: new package
Gustavo Zacarias [Wed, 28 Mar 2012 10:32:02 +0000 (10:32 +0000)]
openswan: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agocrosstool-ng: use uClibc 0.9.33.1 / NPTL by default
Peter Korsgaard [Wed, 9 May 2012 09:17:07 +0000 (11:17 +0200)]
crosstool-ng: use uClibc 0.9.33.1 / NPTL by default

So we're in sync with the internal toolchain.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopackage/crosstool-ng: bump version to 1.15.2, update config files
Yann E. MORIN [Tue, 8 May 2012 13:01:21 +0000 (13:01 +0000)]
package/crosstool-ng: bump version to 1.15.2, update config files

Update the version of crosstool-Ng used, bump to 1.15.2.
Also, update the bundled config files to match the new version.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agocrosstool-ng: fixup after copy_toolchain_lib_root api changes
Peter Korsgaard [Wed, 9 May 2012 09:13:18 +0000 (11:13 +0200)]
crosstool-ng: fixup after copy_toolchain_lib_root api changes

Commit 0729b544b3 (Improve external toolchain logic to support IA32
Sourcery CodeBench toolchain) and e1f0804cc (external-toolchain: add
support for recent Linaro toolchains) changed the interface of
copy_toolchain_lib_root, but ctng wasn't updated so libraries weren't
copied to the target.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agom4: not available on noMMU platforms
Thomas Petazzoni [Mon, 7 May 2012 23:27:22 +0000 (23:27 +0000)]
m4: not available on noMMU platforms

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agospeex: make it compilable in Thumb-2 mode
Thomas Petazzoni [Mon, 7 May 2012 23:27:21 +0000 (23:27 +0000)]
speex: make it compilable in Thumb-2 mode

This fixes build failures such as
http://autobuild.buildroot.org/results/901e8fe6df0e568624f1ceffc1979c5010e19328/build-end.log.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibffi: bump to 3.0.11 and add blackfin support
Thomas Petazzoni [Mon, 7 May 2012 23:27:20 +0000 (23:27 +0000)]
libffi: bump to 3.0.11 and add blackfin support

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoblackfin: adjust available ABIs
Thomas Petazzoni [Mon, 7 May 2012 23:27:19 +0000 (23:27 +0000)]
blackfin: adjust available ABIs

The FLAT (Separate Data) and FLAT Shared ABIs are rarely used, and the
FLAT Shared ABI requires the user to manually assign an unique ID to
each shared library, which we will never support in
Buildroot. Therefore, restrict ourselves to FLAT and FDPIC.

In addition to this, ensure that when FLAT is selected, only static
libraries are produced, because this is what FLAT supports. It will
fix problems such as
http://autobuild.buildroot.org/results/2d756d75162e8737e99df8189bde93ed1a09feef/build-end.log.

Moreover, we make FDPIC the default ABI, since if someone is using
Buildroot, it's most likely to generate a fairly elaborate embedded
Linux system, on which shared libraries are probably useful.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoAdd support to generate locale data
Thomas Petazzoni [Tue, 8 May 2012 04:39:22 +0000 (04:39 +0000)]
Add support to generate locale data

In order to use locale support on a Linux system, you need locale data
to be present:

 * on a (e)glibc based system, this data is typically in the
   /usr/lib/locale/locale-archive file, which can be created and
   extended using the localedef program

 * on an uClibc based system, the set of supported locales is defined
   at build time by an uClibc configuration option.

This patch implements generating locale data for the following cases:

 * Internal toolchain

 * External toolchain based on (e)glibc. uClibc external toolchains
   are not supported, because with uClibc, the set of supported
   locales is defined at build time. CodeSourcery and Linaro
   toolchains have been tested, Crosstool-NG toolchains are believed
   to work properly as well.

 * Toolchains built using the Crosstool-NG backend, but only (e)glibc
   toolchains.

This feature was runtime tested with internal uClibc toolchain,
CodeSourcery ARM toolchain and Linaro ARM toolchain, thanks to a
simple C program that shows the data and a gettext translated message.

Note that this option differs from the "purge locales" option, which
is responsible for removing translation files and other locale stuff
installed by packages. At some point in the future, we may want to
clarify the respective roles of those options.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolocaledef: new package
Thomas Petazzoni [Tue, 8 May 2012 04:39:21 +0000 (04:39 +0000)]
localedef: new package

This host only package allows to build the localedef program, which is
needed to generate locale data for (e)glibc-based systems. The source
code has been extracted from the eglibc sources and put inside a small
and nice tarball by the PTXdist developers, which makes it easy and
convenient to build for the host.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agocifs-utils: security bump to version 5.4
Gustavo Zacarias [Tue, 8 May 2012 01:51:18 +0000 (01:51 +0000)]
cifs-utils: security bump to version 5.4

Fixes CVE-2012-1586.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoscreen: enable terminfo and install screenrc
Gustavo Zacarias [Mon, 7 May 2012 00:33:37 +0000 (00:33 +0000)]
screen: enable terminfo and install screenrc

Closes #5198

Enable terminfo support as reported on bug #5198
Also install screenrc if it's not already present in the target.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoncurses: install screen terminfo file
Gustavo Zacarias [Mon, 7 May 2012 00:33:36 +0000 (00:33 +0000)]
ncurses: install screen terminfo file

Closes #5204

Install the terminfo file for screen.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/arm-vexpress: add new sample config
Gustavo Zacarias [Mon, 7 May 2012 04:06:03 +0000 (04:06 +0000)]
qemu/arm-vexpress: add new sample config

By popular demand!

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/ppc-mpc8544ds: add new sample config
Gustavo Zacarias [Mon, 7 May 2012 08:27:23 +0000 (08:27 +0000)]
qemu/ppc-mpc8544ds: add new sample config

Add new powerpc-mpc8544ds sample qemu config.
Useful for SPE ABI testing.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolinux: bump default to kernel version 3.3.5
Gustavo Zacarias [Mon, 7 May 2012 08:39:03 +0000 (08:39 +0000)]
linux: bump default to kernel version 3.3.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agokernel-headers: bump 3.{0, 3}.x stable versions
Gustavo Zacarias [Mon, 7 May 2012 08:39:02 +0000 (08:39 +0000)]
kernel-headers: bump 3.{0, 3}.x stable versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoBeagleBone: new board
Frank Hunleth [Mon, 7 May 2012 05:00:01 +0000 (05:00 +0000)]
BeagleBone: new board

This configuration provides a basic setup for using Buildroot
to create all of the images needed for a BeagleBone.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibplayer: add patch to fix build issue
Thomas Petazzoni [Mon, 7 May 2012 05:15:59 +0000 (05:15 +0000)]
libplayer: add patch to fix build issue

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agogdb: fix target gdb build when host-gawk is built before
Thomas Petazzoni [Mon, 7 May 2012 03:28:28 +0000 (03:28 +0000)]
gdb: fix target gdb build when host-gawk is built before

When the crosstool-ng backend is used, host-gawk is built as a
dependency of the crosstool-ng package, and therefore an host 'gawk'
binary is installed in $(HOST_DIR).

When the target gdb package is also selected, this unfortunately leads
to a build failure, as reported on
http://buildroot.humanoidz.org/results/f19c0499d08212d8b5100fa9434e1197092957db/build-end.log.

The problem is that the ./configure of gdb detects gawk in the PATH,
but at compile time, it fails to find gawk. This is due to the fact
that the gdb compilation process is started without the correct path.
This patch fixes this by passing $(TARGET_MAKE_ENV) in the environment
of the gdb compilation process.

A better fix would be to switch gdb to the AUTOTARGETS infrastructure
in the future.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibdvdnav: requires pkg-config
Thomas Petazzoni [Mon, 7 May 2012 02:08:12 +0000 (02:08 +0000)]
libdvdnav: requires pkg-config

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoexternal-toolchain: add support for Linaro 2012.04
Thomas Petazzoni [Mon, 7 May 2012 13:06:24 +0000 (15:06 +0200)]
external-toolchain: add support for Linaro 2012.04

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoexternal-toolchain: add support for recent Linaro toolchains
Thomas Petazzoni [Mon, 7 May 2012 13:02:19 +0000 (15:02 +0200)]
external-toolchain: add support for recent Linaro toolchains

Starting from 2012.03, the Linaro toolchains have separated the GCC
support libraries (libstdc++, libgcc_s) from the sysroot itself. So we
no longer have the case where all libraries are inside the sysroot, as
we had for all the previously supported toolchains.

Therefore, we add some logic to detect if such a separate directory is
used for GCC support libraries, and if it's the case, we make sure
that we take into account this directory when creating our own
sysroot, and when copying libraries to the target filesystem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agodnsmasq: bump to version 2.61 and enhance
Gustavo Zacarias [Fri, 4 May 2012 03:16:47 +0000 (03:16 +0000)]
dnsmasq: bump to version 2.61 and enhance

Bump to dnsmasq version 2.61.
Add new conntrack functionality: makes for more sturdy firewall setups.
Make IDN build without libintl, it's no longer needed and problematic
for other packages when there's no NLS support enabled.
Locale support does require IDN so just build it when IDN=y.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoconntrack-tools: new package
Gustavo Zacarias [Fri, 4 May 2012 03:16:46 +0000 (03:16 +0000)]
conntrack-tools: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibnetfilter_conntrack: new package
Gustavo Zacarias [Fri, 4 May 2012 03:16:45 +0000 (03:16 +0000)]
libnetfilter_conntrack: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibnfnetlink: new package
Gustavo Zacarias [Fri, 4 May 2012 03:16:44 +0000 (03:16 +0000)]
libnfnetlink: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agobusybox: add watchdog daemon startup script
Fabio Porcedda [Fri, 4 May 2012 02:02:13 +0000 (02:02 +0000)]
busybox: add watchdog daemon startup script

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agorsync: needs MMU
Gustavo Zacarias [Thu, 5 Apr 2012 04:17:06 +0000 (04:17 +0000)]
rsync: needs MMU

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoncftp: needs MMU
Gustavo Zacarias [Thu, 5 Apr 2012 04:17:05 +0000 (04:17 +0000)]
ncftp: needs MMU

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agowget: needs MMU
Gustavo Zacarias [Thu, 5 Apr 2012 04:17:04 +0000 (04:17 +0000)]
wget: needs MMU

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoopenntpd: needs MMU
Gustavo Zacarias [Thu, 5 Apr 2012 04:17:03 +0000 (04:17 +0000)]
openntpd: needs MMU

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agodhcp: needs MMU
Gustavo Zacarias [Thu, 5 Apr 2012 04:17:02 +0000 (04:17 +0000)]
dhcp: needs MMU

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agogettext: fix build on !thread toolchains
Thomas Petazzoni [Sun, 6 May 2012 05:33:56 +0000 (05:33 +0000)]
gettext: fix build on !thread toolchains

Fixes the build visible at
http://autobuild.buildroot.org/results/0a14bf7c4ae145a9731118d9565e52d0bf70732d/build-end.log.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibfcgi: fix build problem of libfcgi++
Thomas Petazzoni [Sun, 6 May 2012 04:56:10 +0000 (04:56 +0000)]
libfcgi: fix build problem of libfcgi++

Fix the way libfcgi++ is linked against libfcgi to solve the
http://autobuild.buildroot.org/results/f8e88e93f32e4e94ac9aef5a3f3f2826f1970453/build-end.log
build problem.

Since we're fixing Makefile.am, take that opportunity to add -lm where
needed, to avoid the need of using custom LDFLAGS in libfcgi.mk.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agovalgrind: fix build on PowerPC/uClibc
Thomas Petazzoni [Sat, 5 May 2012 23:39:20 +0000 (23:39 +0000)]
valgrind: fix build on PowerPC/uClibc

Fixes build failures like
http://autobuild.buildroot.org/results/112fa7c56e1e31c9a81d5f27394f58789e36bfec/build-end.log.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibmad: unbreak after 5d6f32878f7 (move audio libraries out)
Peter Korsgaard [Sun, 6 May 2012 09:39:05 +0000 (11:39 +0200)]
libmad: unbreak after 5d6f32878f7 (move audio libraries out)

libmad is no longer in package/multimeda, so adjust .pc handling to match.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoAdded the empty package
Simon Dawson [Sat, 5 May 2012 20:59:00 +0000 (20:59 +0000)]
Added the empty package

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopackage: add read-edid
Dimitry Golubovsky [Sat, 5 May 2012 16:05:18 +0000 (16:05 +0000)]
package: add read-edid

[Peter: fixup whitespace]
Signed-off-by: Dmitry <golubovsky@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopkg-download.mk: Add missing argument when downloading from primary mirror
Markos Chandras [Wed, 25 Apr 2012 01:45:16 +0000 (01:45 +0000)]
pkg-download.mk: Add missing argument when downloading from primary mirror

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoconfigs: add support for PandaBoard and PandaBoard ES
Nicolas Dechesne [Sun, 18 Mar 2012 22:04:52 +0000 (23:04 +0100)]
configs: add support for PandaBoard and PandaBoard ES

This is a default configuration for Panda and PandaES, tested on both
platforms.

DEVTMPFS is enabled, to use static dev configuration one would need
to update the generic dev table for ttyO driver.

Panda is well supported in mainline kernel with omap2plus_defconfig,
so this should be safe.

U-boot SPL support is enabled by default as x-loader is now
deprecated.

With OMAP platforms u-boot,img format is prefered now, so it's enabled
by default as well. Also, on PandaBoard, the name of SPL target file
is MLO.

Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agouboot: add a new binary format for u-boot.img
Nicolas Dechesne [Sun, 18 Mar 2012 22:04:51 +0000 (23:04 +0100)]
uboot: add a new binary format for u-boot.img

For some platforms like OMAP, a new binary format is now being used
for u-boot: u-boot.img. It is basically u-boot.bin which has been
processed with mkimage.

Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agouboot: Add support for U-Boot SPL
Nicolas Dechesne [Sun, 18 Mar 2012 22:04:50 +0000 (23:04 +0100)]
uboot: Add support for U-Boot SPL

SPL is a first stage bootloader. On pandaboard it supercedes x-loader,
and should now be used.

This patch ensures that either SPL or xloader can be selected.

A config variable has been added for the name of the SPL binary generated
during u-boot build. For most platform it is u-boot-spl.bin but not always.
It is MLO on OMAP for example.

Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopackage/multimedia: drop libraries, it's just applications now
Gustavo Zacarias [Mon, 30 Apr 2012 03:48:17 +0000 (03:48 +0000)]
package/multimedia: drop libraries, it's just applications now

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopackage/multimedia: move audio libraries out
Gustavo Zacarias [Mon, 30 Apr 2012 03:48:16 +0000 (03:48 +0000)]
package/multimedia: move audio libraries out

Move audio libraries out of the Audio and Video category into the
Libraries/Audio one.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopackage/multimedia: move multimedia libraries out
Gustavo Zacarias [Mon, 30 Apr 2012 03:48:15 +0000 (03:48 +0000)]
package/multimedia: move multimedia libraries out

Move multimedia libraries ouf of the Audio and Video category into the
Libraries/Multimedia one.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoconfig: make it possible to specify which config file to use for 'make defconfig'
Arnout Vandecappelle [Sat, 28 Apr 2012 07:14:50 +0000 (07:14 +0000)]
config: make it possible to specify which config file to use for 'make defconfig'

So that this works:

 % make defconfig BR2_DEFCONFIG=~/buildroot-defconfig

Right now we have to do:

 % cp ~/buildroot-defconfig configs/buildroot_defconfig
 % make buildroot_defconfig

That would dirty the buildroot tree and requires it to be writable.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/x86: update to use kernel 3.3.4
Gustavo Zacarias [Thu, 3 May 2012 15:08:39 +0000 (15:08 +0000)]
qemu/x86: update to use kernel 3.3.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/x86-64: update to use kernel 3.3.4
Gustavo Zacarias [Thu, 3 May 2012 15:08:38 +0000 (15:08 +0000)]
qemu/x86-64: update to use kernel 3.3.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/sparc-ss10: update to use kernel 3.3.4
Gustavo Zacarias [Thu, 3 May 2012 15:08:37 +0000 (15:08 +0000)]
qemu/sparc-ss10: update to use kernel 3.3.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/ppc-g3beige: update to use kernel 3.3.4
Gustavo Zacarias [Thu, 3 May 2012 15:08:36 +0000 (15:08 +0000)]
qemu/ppc-g3beige: update to use kernel 3.3.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/mips-malta: update to use kernel 3.3.4
Gustavo Zacarias [Thu, 3 May 2012 15:08:35 +0000 (15:08 +0000)]
qemu/mips-malta: update to use kernel 3.3.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/mipsel-malta: update to use kernel 3.3.4
Gustavo Zacarias [Thu, 3 May 2012 15:08:34 +0000 (15:08 +0000)]
qemu/mipsel-malta: update to use kernel 3.3.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/arm-versatile: update to use kernel 3.3.4
Gustavo Zacarias [Thu, 3 May 2012 15:08:33 +0000 (15:08 +0000)]
qemu/arm-versatile: update to use kernel 3.3.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/sh4-r2d: update to use kernel 3.2.16
Gustavo Zacarias [Thu, 3 May 2012 15:08:32 +0000 (15:08 +0000)]
qemu/sh4-r2d: update to use kernel 3.2.16

Bump to use kernel version 3.2.16
Still keep sh4-r2d qemu sample config on 3.2 series since the sh-sci
driver from 3.3 uses unimplemented functionality (as of qemu 1.0.1)

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibaio: use alternative upstream URL
Thomas Petazzoni [Sat, 5 May 2012 06:26:06 +0000 (06:26 +0000)]
libaio: use alternative upstream URL

Since the kernel.org security problem and reinstallation, libaio is no
longer available from this site. Use snapshot.debian.net as an
alternative source.

[Peter: Add spaces around '=' while we're at it]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibaio: make available only on supported architectures
Thomas Petazzoni [Sat, 5 May 2012 06:26:05 +0000 (06:26 +0000)]
libaio: make available only on supported architectures

libaio has some architecture-specific code, and isn't available for
all architectures that Buildroot support.

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibmpeg2: fix build breakage on lower ARM cores
Gustavo Zacarias [Sat, 5 May 2012 00:31:38 +0000 (00:31 +0000)]
libmpeg2: fix build breakage on lower ARM cores

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoopenssl: switch to the ocf-linux package
Gustavo Zacarias [Sat, 5 May 2012 03:30:24 +0000 (03:30 +0000)]
openssl: switch to the ocf-linux package

Remove builtin OCF support from the openssl package into a new package.
Even though ocf support is just a header file we'd rather have it in a
separate package because of unrelated version bumps and to fetch it from
source.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoocf-linux: new package
Gustavo Zacarias [Sat, 5 May 2012 03:30:23 +0000 (03:30 +0000)]
ocf-linux: new package

Add the ocf-linux package and linux kernel extension.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolinux: improve the 'make linux-*' special commands
Thomas Petazzoni [Fri, 4 May 2012 05:40:53 +0000 (05:40 +0000)]
linux: improve the 'make linux-*' special commands

This patch improves two things:

 * It makes sure that the linux-menuconfig and al. commands can be
   executed even if the user hasn't executed 'make' before. Until now,
   the commands were depending on the .configured stamp, which is not
   sufficient since the linux package has been converted to the
   GENTARGETS infrastructure. Instead, depend on the linux-configure
   phony target.

 * It makes sure that those commands are not available when the Linux
   package is not selected, just like we do for Barebox.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agostress: new package
Arnout Vandecappelle [Fri, 4 May 2012 11:32:56 +0000 (11:32 +0000)]
stress: new package

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoAdd new package apr-util
Rico Bachmann [Thu, 3 May 2012 12:22:36 +0000 (14:22 +0200)]
Add new package apr-util

[Peter: BR2_PACKAGE_NEON not LIBNEON]
Signed-off-by: Rico Bachmann <bachmann@tofwerk.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoCHANGES: GDB 4.7.1, not GCC
Peter Korsgaard [Thu, 3 May 2012 21:29:08 +0000 (23:29 +0200)]
CHANGES: GDB 4.7.1, not GCC

Thanks to Gustavoz noticing on IRC.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoCHANGES: update with recent changes
Peter Korsgaard [Thu, 3 May 2012 20:52:27 +0000 (22:52 +0200)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibmbus: patch out bcopy to fix build breakage
Gustavo Zacarias [Thu, 3 May 2012 01:59:03 +0000 (01:59 +0000)]
libmbus: patch out bcopy to fix build breakage

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoushare: needs libintl if NLS is enabled
Gustavo Zacarias [Thu, 3 May 2012 03:25:37 +0000 (03:25 +0000)]
ushare: needs libintl if NLS is enabled

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agomrouted: fix bcopy patch oops
Gustavo Zacarias [Thu, 3 May 2012 01:46:49 +0000 (01:46 +0000)]
mrouted: fix bcopy patch oops

The bcopy patch just changes bcopy for memmove which is incorrect since
bcopy and memmove use reversed src and dest parameters between them.
Oops!

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agobuildroot: fix BR2_GCC_TARGET_ABI for MIPS n64
Kevin Cernekee [Tue, 17 May 2011 21:29:26 +0000 (14:29 -0700)]
buildroot: fix BR2_GCC_TARGET_ABI for MIPS n64

gcc 4.3/4.4/4.5 accept the following arguments for --with-abi=

"" | 32 | o64 | n32 | 64 | eabi)

So, the "n64" argument coming from buildroot should be changed to "64"
so that gcc's ./configure step does not error out.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agouemacs: clear ixon termios flag at initialization
Peter Korsgaard [Thu, 3 May 2012 15:40:28 +0000 (17:40 +0200)]
uemacs: clear ixon termios flag at initialization

Closes #5144

Patch by Grant Edwards <grant.b.edwards@gmail.com>

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agotoolchain/uClibc: enable 0.9.33.1 for sh
Gustavo Zacarias [Wed, 2 May 2012 15:24:16 +0000 (15:24 +0000)]
toolchain/uClibc: enable 0.9.33.1 for sh

Enable uClibc 0.9.33.1 for the SH architecture.
Builds and works fine with the qemu sample config.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agotoolchain/uClibc: enable UCLIBC_SUPPORT_AI_ADDRCONFIG
Gustavo Zacarias [Wed, 2 May 2012 03:33:27 +0000 (03:33 +0000)]
toolchain/uClibc: enable UCLIBC_SUPPORT_AI_ADDRCONFIG

Enable AI_ADDRCONFIG support in uClibc otherwise we don't get the
ifaddrs.h header installed and thus lack getifaddrs support.
Quite useful for samba for example so we can use interfaces=eth0 statements in
the configuration file rather than klunkier
interfaces=192.168.1.1/255.255.255.0 ones.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopolarssl: security bump to version 1.1.3
Gustavo Zacarias [Wed, 2 May 2012 08:28:56 +0000 (08:28 +0000)]
polarssl: security bump to version 1.1.3

Fix for CVE-2012-2130

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