buildroot.git
12 years agoImprove external toolchain logic to support IA32 Sourcery CodeBench toolchain
Thomas Petazzoni [Sat, 31 Dec 2011 10:57:15 +0000 (11:57 +0100)]
Improve external toolchain logic to support IA32 Sourcery CodeBench toolchain

The IA32 Sourcery CodeBench toolchain has a relatively special
structure, with the following multilib variants:

 * Intel Pentium 4, 32 bits, the multilib variant is in ./ relative to
   the main sysroot, with the libraries in the lib/ directory.

 * Intel Xeon Nocona, 64 bits, the multilib variant is in ./ relative
   to the main sysroot, with the libraries in the lib64/ directory.

 * Intel Atom 32 bits, the multilib variant is in atom/ relative to
   the main sysroot, with the libraries in the lib/ directory.

 * Intel Core 2 64 bits, the multilib variant is in core2/ relative to
   the main sysroot, with the libraries in lib64/ directory.

So the first two variants are in the same sysroot, only the name of
the directory for the libraries is different.

Therefore, we introduce a new ARCH_LIB_DIR variable, which contains
either 'lib' or 'lib64'. This variable is defined according to the
location of the libc.a file for the selected multilib variant, and is
then used when copying the libraries to the target and to the staging
directory.

In addition to this, we no longer use the -print-multi-directory to
get the ARCH_SUBDIR, since in the case of the 64 bits variants of this
toolchain, it returns just '64' and not a real path. Instead, we
simply compute the difference between the arch-specific sysroot and
the main sysroot.

We also take that opportunity to expand the documentation on the
meaning of the different variables.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoAdd the Atom processor in the list of supported x86/x86_64 processors
Thomas Petazzoni [Sat, 31 Dec 2011 10:43:53 +0000 (11:43 +0100)]
Add the Atom processor in the list of supported x86/x86_64 processors

This allows to easily select the corresponding Atom multilib variant
in the Sourcery CodeBench toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoAdd x86_64 variants to BR2_GCC_TARGET_ARCH
Thomas Petazzoni [Sat, 31 Dec 2011 10:42:49 +0000 (11:42 +0100)]
Add x86_64 variants to BR2_GCC_TARGET_ARCH

With the Sourcery CodeBench IA32/AMD64 toolchain, the proper -march=
switch must be passed. So, on x86_64, we make sure that
BR2_GCC_TARGET_ARCH gets defined to the correct value, just as we do
on x86.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agokernel-headers: bump 3.0.x / 3.2.x stable versions
Peter Korsgaard [Thu, 1 Mar 2012 13:07:29 +0000 (14:07 +0100)]
kernel-headers: bump 3.0.x / 3.2.x stable versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoMerge branch 'next'
Peter Korsgaard [Thu, 1 Mar 2012 13:05:41 +0000 (14:05 +0100)]
Merge branch 'next'

12 years agoUpdate copyright year
Peter Korsgaard [Thu, 1 Mar 2012 13:04:54 +0000 (14:04 +0100)]
Update copyright year

We're in 2012 by now.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agokickoff 2012.05 development cycle
Peter Korsgaard [Thu, 1 Mar 2012 13:03:39 +0000 (14:03 +0100)]
kickoff 2012.05 development cycle

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agodocs/news.html: add 2012.02 announcement mail link
Peter Korsgaard [Thu, 1 Mar 2012 12:58:40 +0000 (13:58 +0100)]
docs/news.html: add 2012.02 announcement mail link

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoUpdate for 2012.02
Peter Korsgaard [Wed, 29 Feb 2012 22:19:47 +0000 (23:19 +0100)]
Update for 2012.02

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibecore: fix build of host-libecore when X11 not available
Thomas Petazzoni [Tue, 28 Feb 2012 22:35:48 +0000 (23:35 +0100)]
libecore: fix build of host-libecore when X11 not available

The host-libecore build tries to build the X11 backend. This works if
you have X11 headers/libraries installed on your build machine, but
fails if you don't, and Buildroot shouldn't depend on such things
being installed.

Therefore, we force host-libecore to not build any of the graphical
backends (X, XCB or DirectFB).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibglib2: fix build with legacy uClibc versions
Peter Korsgaard [Tue, 28 Feb 2012 20:52:03 +0000 (21:52 +0100)]
libglib2: fix build with legacy uClibc versions

qsort_r was only added in uClibc 0.9.33, so only enable it when we're sure
it's available. For external/ctng toolchains we cannot easily know, so
simply disable it there.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoe2fsprogs: disable build of e4defrag unless explicitly enabled
Sven Neumann [Tue, 28 Feb 2012 11:22:33 +0000 (12:22 +0100)]
e2fsprogs: disable build of e4defrag unless explicitly enabled

The e2fsprogs configure script enables the build of the e4defrag
utility by default. Disable it unless BR2_PACKAGE_E2FSPROGS_E4DEFRAG
is selected.

Also the --disable-blkid option is not recognized by the configure
script. Use --disable-libblkid instead.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibsoup: update to version 2.36.1
Sven Neumann [Mon, 27 Feb 2012 12:38:57 +0000 (13:38 +0100)]
libsoup: update to version 2.36.1

Update to latest stable release. SSL support now depends on
glib-networking with gnutls support instead of using gnutls
directly.

Remove libsoup-CVE-2011-2054.patch, this is fixed upstream.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoglib-networking: new package
Sven Neumann [Mon, 27 Feb 2012 12:38:56 +0000 (13:38 +0100)]
glib-networking: new package

glib-networking provides network-related GIO modules for glib.
It is used by newer versions of libsoup to implement SSL/TLS
support.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibglib2: update to version 2.30.2
Sven Neumann [Mon, 27 Feb 2012 12:38:55 +0000 (13:38 +0100)]
libglib2: update to version 2.30.2

Update to latest stable release and add a dependency on libffi which
is needed by GObject.

[Peter: fixup build on uClibc]
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agogamin: fix compilation with glib 2.30
Sven Neumann [Mon, 27 Feb 2012 12:38:54 +0000 (13:38 +0100)]
gamin: fix compilation with glib 2.30

G_CONST_RETURN is deprecated in glib 2.30 so remove occurences
to avoid build failures.

Patch taken from http://patches.openembedded.org/patch/13079/

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoUpdate for 2012.02-rc3
Peter Korsgaard [Mon, 27 Feb 2012 15:29:50 +0000 (16:29 +0100)]
Update for 2012.02-rc3

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agovala: bump version
Peter Korsgaard [Mon, 27 Feb 2012 15:32:28 +0000 (16:32 +0100)]
vala: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agouClibc: rename 0.9.33 syscall_ncs patch
Peter Korsgaard [Mon, 27 Feb 2012 09:48:56 +0000 (10:48 +0100)]
uClibc: rename 0.9.33 syscall_ncs patch

No need for double dashes - Purely cosmetical.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/ppc-g3beige: update readme and use kernel 3.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:41 +0000 (16:30 -0300)]
qemu/ppc-g3beige: update readme and use kernel 3.2.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqt: fix build with gcc 4.6.x on arm
Peter Korsgaard [Sun, 26 Feb 2012 21:23:45 +0000 (22:23 +0100)]
qt: fix build with gcc 4.6.x on arm

As noted by Ismael Luceno. For details, see:
http://gcc.gnu.org/ml/gcc-patches/2010-11/msg02245.html

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqt: simplify arch handling
Ismael Luceno [Sun, 26 Feb 2012 12:13:06 +0000 (10:13 -0200)]
qt: simplify arch handling

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/sh4-r2d: update to use kernel 3.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:48 +0000 (16:30 -0300)]
qemu/sh4-r2d: update to use kernel 3.2.6

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.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:47 +0000 (16:30 -0300)]
qemu/sparc-ss10: update to use kernel 3.2.6

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.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:46 +0000 (16:30 -0300)]
qemu/mipsel-malta: update to use kernel 3.2.6

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.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:45 +0000 (16:30 -0300)]
qemu/mips-malta: update to use kernel 3.2.6

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.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:44 +0000 (16:30 -0300)]
qemu/x86_64: update to use kernel 3.2.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/x86: update to use kernel 3.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:43 +0000 (16:30 -0300)]
qemu/x86: update to use kernel 3.2.6

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.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:42 +0000 (16:30 -0300)]
qemu/arm-versatile: update to use kernel 3.2.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agocustomize: deprecate package
Peter Korsgaard [Sun, 26 Feb 2012 19:52:26 +0000 (20:52 +0100)]
customize: deprecate package

As described in the buildroot dev day report, using a post-build script
is nowadays the preferred way of adding stuff to the rootfs.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopkg-stats: update list of packages to be skipped
Luca Ceresoli [Sat, 11 Feb 2012 16:41:09 +0000 (17:41 +0100)]
pkg-stats: update list of packages to be skipped

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoMakefile.cmake.in: fix automatic host deps calculation
Peter Korsgaard [Sun, 26 Feb 2012 07:24:23 +0000 (08:24 +0100)]
Makefile.cmake.in: fix automatic host deps calculation

We need similar handling as in autotools because of the host-cmake addition.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoMakefile: move cmake toolchain file to $HOST_DIR/usr/share/buildroot
Peter Korsgaard [Sat, 25 Feb 2012 22:18:03 +0000 (23:18 +0100)]
Makefile: move cmake toolchain file to $HOST_DIR/usr/share/buildroot

To make it part of the SDK installation.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqt: bump version
Peter Korsgaard [Sat, 25 Feb 2012 21:52:02 +0000 (22:52 +0100)]
qt: bump version

Webkit support runs pkg-config at build time, so we need to ensure our
version gets picked up.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoffmpeg: security bump to version 0.8.10
Gustavo Zacarias [Wed, 22 Feb 2012 10:59:01 +0000 (07:59 -0300)]
ffmpeg: security bump to version 0.8.10

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agosdl_net: bump version, fix tarball name
Julien Boibessot [Wed, 22 Feb 2012 13:47:57 +0000 (14:47 +0100)]
sdl_net: bump version, fix tarball name

Bump version & cleanup variables setting while we are at it.

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibpng: security bump to version 1.4.9
Gustavo Zacarias [Wed, 22 Feb 2012 13:23:33 +0000 (10:23 -0300)]
libpng: security bump to version 1.4.9

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agokernel-headers: bump 3.0.x / 3.2.x stable versions
Peter Korsgaard [Fri, 24 Feb 2012 13:36:49 +0000 (14:36 +0100)]
kernel-headers: bump 3.0.x / 3.2.x stable versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agodropbear: bump version, fixes CVE-2012-0920
Peter Korsgaard [Fri, 24 Feb 2012 13:11:16 +0000 (14:11 +0100)]
dropbear: bump version, fixes CVE-2012-0920

From the release notes:

Security: Fix use-after-free bug that could be triggered if command="..."
authorized_keys restrictions are used.  Could allow arbitrary code
execution or bypass of the command="..." restriction to an authenticated
user.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibarchive: bump version
Peter Korsgaard [Thu, 23 Feb 2012 22:19:53 +0000 (23:19 +0100)]
libarchive: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoUpdate for 2012.02-rc2
Peter Korsgaard [Sun, 19 Feb 2012 22:16:50 +0000 (23:16 +0100)]
Update for 2012.02-rc2

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoAvoid the warnings about the redefinition of LUA_USE_DLOPEN, when BR2_PACKAGE_LUA_INT...
Francois Perrad [Fri, 17 Feb 2012 13:39:03 +0000 (10:39 -0300)]
Avoid the warnings about the redefinition of LUA_USE_DLOPEN, when BR2_PACKAGE_LUA_INTERPRETER_READLINE is set

See src/luaconf.h lines 36-40

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoPrint a message before executing the post-build script
Luca Ceresoli [Fri, 17 Feb 2012 16:12:48 +0000 (17:12 +0100)]
Print a message before executing the post-build script

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolinux-firmware: add support for the atheros ar9271 firmware
Alexandre Pereira da Silva [Thu, 16 Feb 2012 02:38:00 +0000 (00:38 -0200)]
linux-firmware: add support for the atheros ar9271 firmware

Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/sh4-r2d: update to use kernel 3.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:48 +0000 (16:30 -0300)]
qemu/sh4-r2d: update to use kernel 3.2.6

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.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:47 +0000 (16:30 -0300)]
qemu/sparc-ss10: update to use kernel 3.2.6

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.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:46 +0000 (16:30 -0300)]
qemu/mipsel-malta: update to use kernel 3.2.6

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.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:45 +0000 (16:30 -0300)]
qemu/mips-malta: update to use kernel 3.2.6

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.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:44 +0000 (16:30 -0300)]
qemu/x86_64: update to use kernel 3.2.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/x86: update to use kernel 3.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:43 +0000 (16:30 -0300)]
qemu/x86: update to use kernel 3.2.6

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.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:42 +0000 (16:30 -0300)]
qemu/arm-versatile: update to use kernel 3.2.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoqemu/ppc-g3beige: update readme and use kernel 3.2.6
Gustavo Zacarias [Sat, 18 Feb 2012 19:30:41 +0000 (16:30 -0300)]
qemu/ppc-g3beige: update readme and use kernel 3.2.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoAdd documentation for makedev
Maxime Ripard [Fri, 17 Feb 2012 23:30:58 +0000 (15:30 -0800)]
Add documentation for makedev

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agodefconfigs: mx53loco_defconfig: misc tweaks
Peter Korsgaard [Sun, 19 Feb 2012 21:54:17 +0000 (22:54 +0100)]
defconfigs: mx53loco_defconfig: misc tweaks

- Use git:// URLs for freescale git trees
- Enable hard fpu for A8
- Board uses uSD cards, so enable ext2 filesystem

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoconfigs: Add Freescale MX53 support
Mathieu Briand [Mon, 13 Feb 2012 09:43:46 +0000 (10:43 +0100)]
configs: Add Freescale MX53 support

Buildroot config and Linux Kernel config.
Freescale binaries (xf86 video driver and multimedia codecs) not supported yet.

Signed-off-by: Mathieu Briand <mbriand@adeneo-embedded.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agogst-dsp: bump version for DSP_API=2 bugfix
Peter Korsgaard [Thu, 16 Feb 2012 21:11:27 +0000 (22:11 +0100)]
gst-dsp: bump version for DSP_API=2 bugfix

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agouClibc: add upstream 0.9.33 fixes
Peter Korsgaard [Thu, 16 Feb 2012 11:20:01 +0000 (12:20 +0100)]
uClibc: add upstream 0.9.33 fixes

Fixes build on E.G. powerpc.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibecore: tweak makekeys workaround for make 3.82
Peter Korsgaard [Wed, 15 Feb 2012 22:22:23 +0000 (23:22 +0100)]
libecore: tweak makekeys workaround for make 3.82

It seems that make 3.82 gets confused and considers makekeys
out of date when there isn't a makekeys.o, so ensure that we
create both makekeys and makekeys.o before building.

Also move the workaround to the extract step so we can build using
make's default rules rather than explicitly calling gcc.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoavahi: bump version
Peter Korsgaard [Wed, 15 Feb 2012 07:41:05 +0000 (08:41 +0100)]
avahi: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agomxml: Use correct paths when installing into staging.
Will Newton [Tue, 14 Feb 2012 18:04:50 +0000 (18:04 +0000)]
mxml: Use correct paths when installing into staging.

The DSTROOT option passed for the staging install would install
into the target directory, which is not what was intended.

Signed-off-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoMakefile: use /etc/os-release for version info rather than /etc/br-version
Peter Korsgaard [Tue, 14 Feb 2012 11:58:25 +0000 (12:58 +0100)]
Makefile: use /etc/os-release for version info rather than /etc/br-version

/etc/os-release is becoming a standard interface for distribution
name/version info, so let's use that instead of the nonstandard
/etc/br-version. Format of the file is something like:

NAME=Buildroot
VERSION=2012.02-rc1-00003-g2d10e81
ID=buildroot
VERSION_ID=2012.02-rc1
PRETTY_NAME="Buildroot 2012.02-rc1"

For more details, see:

http://0pointer.de/public/systemd-man/os-release.html

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoDOWNLOAD_WGET: use -O instead of -P to set output file
Arnout Vandecappelle (Essensium/Mind) [Tue, 14 Feb 2012 09:56:52 +0000 (10:56 +0100)]
DOWNLOAD_WGET: use -O instead of -P to set output file

Some URLs use url-encoded arguments to specify the file to download.
Wget will then use an output file name which includes all the ampersands
and such.  However, this is not what we see from buildroot.

E.g.:
FOO_SITE="http://git.foo.com/?p=foo.git;a=blob;f="
FOO_SOURCE="foo.tgz"

wget will download this into $(DL_DIR)/index.html?p=foo.git;a=blob;f=foo.tgz
buildroot thinks it's in $(DL_DIR)/foo.tgz

To make sure the view of wget and buildroot are consistent, specify
the output file explicitly.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agobusybox: bump 1.19.x stable version
Peter Korsgaard [Tue, 14 Feb 2012 09:51:12 +0000 (10:51 +0100)]
busybox: bump 1.19.x stable version

Identical to 1.19.3 + patches.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopython: workaround distutils issue with binary extensions
Peter Korsgaard [Tue, 14 Feb 2012 09:32:30 +0000 (10:32 +0100)]
python: workaround distutils issue with binary extensions

distutils adds -L$LIBDIR (/usr/lib), breaking build of binary extensions.
Seen with netifaces, but other extensions may be affected as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolinux: bump 3.2.x stable version
Peter Korsgaard [Mon, 13 Feb 2012 23:26:35 +0000 (00:26 +0100)]
linux: bump 3.2.x stable version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agokernel-headers: bump 3.0.x / 3.2.x stable versions
Peter Korsgaard [Mon, 13 Feb 2012 23:13:09 +0000 (00:13 +0100)]
kernel-headers: bump 3.0.x / 3.2.x stable versions

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoffmpeg: fix altivec typo
Peter Korsgaard [Mon, 13 Feb 2012 21:26:26 +0000 (22:26 +0100)]
ffmpeg: fix altivec typo

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibvncserver: ensure target libgcrypt-config is used
Peter Korsgaard [Mon, 13 Feb 2012 10:26:42 +0000 (11:26 +0100)]
libvncserver: ensure target libgcrypt-config is used

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agozlib: bump version
Peter Korsgaard [Mon, 13 Feb 2012 10:25:18 +0000 (11:25 +0100)]
zlib: bump version

Patch is now upstream.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agonews.html: add 2012.02-rc1 announcement link
Peter Korsgaard [Sun, 12 Feb 2012 22:58:45 +0000 (23:58 +0100)]
news.html: add 2012.02-rc1 announcement link

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoUpdate for 2012.02-rc1
Peter Korsgaard [Sun, 12 Feb 2012 22:22:29 +0000 (23:22 +0100)]
Update for 2012.02-rc1

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoCHANGES: update with recent changes
Peter Korsgaard [Sun, 12 Feb 2012 21:56:15 +0000 (22:56 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agomplayer: fix libtheora linking issue
Peter Korsgaard [Sun, 12 Feb 2012 21:05:43 +0000 (22:05 +0100)]
mplayer: fix libtheora linking issue

We cannot (easily) move to a newer upstream version where this is fixed
as ffmpeg moved to git / is no longer bundled, so instead this fix
is backported (upstream r34498 + r34503).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibecore: fix build error when X support is disabled but host has X headers
Peter Korsgaard [Sun, 12 Feb 2012 19:52:05 +0000 (20:52 +0100)]
libecore: fix build error when X support is disabled but host has X headers

Forcibly disable imf-xim as it requires the X support.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibecore: add optional tslib/glib/openssl/gnutls/curl support
Peter Korsgaard [Sun, 12 Feb 2012 19:31:09 +0000 (20:31 +0100)]
libecore: add optional tslib/glib/openssl/gnutls/curl support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibecore: fix directfb dependency
Peter Korsgaard [Sun, 12 Feb 2012 19:29:50 +0000 (20:29 +0100)]
libecore: fix directfb dependency

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agogst-plugins-base: add missing orc dependency
Felipe Contreras [Sat, 11 Feb 2012 00:02:45 +0000 (02:02 +0200)]
gst-plugins-base: add missing orc dependency

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agogst-dsp: add dependency to pkg-config
Felipe Contreras [Sat, 11 Feb 2012 00:04:34 +0000 (02:04 +0200)]
gst-dsp: add dependency to pkg-config

It's used in the Makefile.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agopackage: add libvncserver
Peter Korsgaard [Fri, 10 Feb 2012 15:00:07 +0000 (16:00 +0100)]
package: add libvncserver

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoipsec-tools: get rid of explicit ipv6 handling
Peter Korsgaard [Fri, 10 Feb 2012 13:02:20 +0000 (14:02 +0100)]
ipsec-tools: get rid of explicit ipv6 handling

This is taken care of by autotargets.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoipsec-tools: cleanup: remove trailing . after option text
Peter Korsgaard [Fri, 10 Feb 2012 12:58:19 +0000 (13:58 +0100)]
ipsec-tools: cleanup: remove trailing . after option text

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoipsec-tools: add option for dead peer detection support
Peter Korsgaard [Fri, 10 Feb 2012 12:57:27 +0000 (13:57 +0100)]
ipsec-tools: add option for dead peer detection support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agofreetype: add optional bzip2 dependency
Peter Korsgaard [Fri, 10 Feb 2012 10:41:52 +0000 (11:41 +0100)]
freetype: add optional bzip2 dependency

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolinux: drop LZMA environment variable
Peter Korsgaard [Fri, 10 Feb 2012 09:44:47 +0000 (10:44 +0100)]
linux: drop LZMA environment variable

Not used anymore.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agobzip2: add so.1 link
Trevor Woerner [Thu, 9 Feb 2012 22:25:13 +0000 (17:25 -0500)]
bzip2: add so.1 link

In addition to the .so link add a .so.1 link for the target rootfs.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agodocs: customize-toolchain: fix typo
Peter Korsgaard [Thu, 9 Feb 2012 22:32:02 +0000 (23:32 +0100)]
docs: customize-toolchain: fix typo

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agodocs: Add customizing toolchain section
Samuel MARTIN [Wed, 8 Feb 2012 22:20:54 +0000 (23:20 +0100)]
docs: Add customizing toolchain section

Signed-off-by: Samuel MARTIN <s.martin49@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agodependencies: build a host-tar if no suitable tar can be found
Thomas De Schampheleire [Wed, 8 Feb 2012 16:22:20 +0000 (17:22 +0100)]
dependencies: build a host-tar if no suitable tar can be found

Some toolchains, like the one built with buildroot itself, use hardlinks (for
example to link between the c++ and g++ binary). Unpacking such a toolchain
with the --strip-components options does not work correctly if the system tar
is too old (<1.17). Even recent releases of RedHat/CentOS still ship with
tar 1.15.

This patch checks for a suitable tar version (tar 1.17+) on the host system,
and adds host-tar to the host dependencies if none can be found.

host-tar is download and extracted as cpio.gz instead of tar.gz, to prevent
chicken-egg problem.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
v4 Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agodependencies: add function suitable-host-package
Thomas De Schampheleire [Wed, 8 Feb 2012 16:22:18 +0000 (17:22 +0100)]
dependencies: add function suitable-host-package

Sometimes, buildroot needs a certain host tool to do its job, e.g. tar. In
many cases, we expect this tool to be present on the host system, but this is
not always the case. Or maybe, the version on the host system is not
suitable, and we need a more recent one.

In some of these cases, instead of bailing out, buildroot could build the
package first (but only if the existing system package is not suitable).

To aid in detecting if a host package is suitable or not, this patch adds a
function suitable-host-package. When called with parameter foo, it will
execute check-host-foo.sh. This script should return either the path to the
suitable host package, or the empty string if no suitable package can be found.
The rules to determine whether something is suitable or not is left to
check-host-foo.sh and depends on foo.

An example usage of suitable-host-package is:
DEPENDENCIES_HOST_PREREQ += $(if $(call suitable-host-package,foo),,host-foo)

To avoid cluttering the existing dependencies.mk file, it includes any
check-host-foo.mk file. These files can be used to hold appropriate
dependency-related actions for foo.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
v1 Reviewed-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 agotoolchain/crosstool-ng: update to 1.13.4
Yann E. MORIN [Thu, 9 Feb 2012 21:31:55 +0000 (22:31 +0100)]
toolchain/crosstool-ng: update to 1.13.4

Update to fix downloads from sourceforge (the 'mesh' network
no longer works).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoMakefile: fix old make check thinko
Peter Korsgaard [Thu, 9 Feb 2012 21:58:05 +0000 (22:58 +0100)]
Makefile: fix old make check thinko

So it doesn't fail with 3.81.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoMakefile: change order of dirs and dependencies
Thomas De Schampheleire [Wed, 8 Feb 2012 16:22:19 +0000 (17:22 +0100)]
Makefile: change order of dirs and dependencies

If during the dependencies step, a package needs to be downloaded, the
download directory already has to be present. If not, the file will be
downloaded under the name 'dl' instead of in the directory 'dl'.

This patch changes the order of dirs and dependencies in the world target to
fix this.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agodependencies: check minimal make version early on
Thomas De Schampheleire [Wed, 8 Feb 2012 16:22:17 +0000 (17:22 +0100)]
dependencies: check minimal make version early on

Although support/dependencies/dependencies.sh checks for the version of make,
this script doesn't get a chance to run if make encounters a syntax error as a
result of being too old.

For example, the following syntax is only supported from make 3.81 onwards:

ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
include toolchain/toolchain-buildroot.mk
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
include toolchain/toolchain-external.mk
else ifeq ($(BR2_TOOLCHAIN_CTNG),y)
include toolchain/toolchain-crosstool-ng.mk
endif

This patch adds a check for the version of make very early in the Makefile, so
that old make versions are handled gracefully.

[Peter: simplify check]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agodependencies: move from toolchain/ to support/
Thomas De Schampheleire [Wed, 8 Feb 2012 16:22:16 +0000 (17:22 +0100)]
dependencies: move from toolchain/ to support/

As suggested by Arnout Vandecappelle, move toolchain/dependencies to
support/dependencies, as it really is not toolchain-specific anymore.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-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>
12 years agoqt: needs host-pkg-config
Frederik Pasch [Thu, 9 Feb 2012 20:20:12 +0000 (21:20 +0100)]
qt: needs host-pkg-config

Closes #4760

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolibevas: X OpenGL backends needs modular X.org (for mesa)
Peter Korsgaard [Thu, 9 Feb 2012 10:20:35 +0000 (11:20 +0100)]
libevas: X OpenGL backends needs modular X.org (for mesa)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agolinux: bump 3.2.x stable version
Peter Korsgaard [Thu, 9 Feb 2012 07:52:32 +0000 (08:52 +0100)]
linux: bump 3.2.x stable version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agokernel-headers: bump 3.2.x stable version
Peter Korsgaard [Thu, 9 Feb 2012 07:51:36 +0000 (08:51 +0100)]
kernel-headers: bump 3.2.x stable version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agoiptables: fix build with 3.2 kernel headers
Peter Korsgaard [Wed, 8 Feb 2012 23:40:45 +0000 (00:40 +0100)]
iptables: fix build with 3.2 kernel headers

Based on upstream post-1.14.12.2 change.

linux/if_packet.h changed to use the newly introduced __aligned_u64
type in 3.2, which iptables' embedded linux/types.h doesn't provide.
Fix it by updating linux/types.h.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
12 years agodependencies.sh: fix host g++ check when ccache is used
Peter Korsgaard [Wed, 8 Feb 2012 22:40:20 +0000 (23:40 +0100)]
dependencies.sh: fix host g++ check when ccache is used

Similar to how we do it for gcc.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>