buildroot.git
12 years agosam-ba: bump version to 2.12
Simon Dawson [Thu, 2 Aug 2012 08:09:53 +0000 (09:09 +0100)]
sam-ba: bump version to 2.12

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoempty: add license information
Simon Dawson [Thu, 2 Aug 2012 07:18:21 +0000 (08:18 +0100)]
empty: add license information

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agonanocom: add license information
Simon Dawson [Thu, 2 Aug 2012 07:09:12 +0000 (08:09 +0100)]
nanocom: add license information

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
12 years agomxml: add license information
Baruch Siach [Thu, 2 Aug 2012 03:59:37 +0000 (06:59 +0300)]
mxml: add license information

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
12 years agosudo: needs MMU support
Thomas Petazzoni [Wed, 1 Aug 2012 21:50:44 +0000 (23:50 +0200)]
sudo: needs MMU support

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external: microblaze toolchains are glibc-based
Thomas Petazzoni [Wed, 1 Aug 2012 21:47:04 +0000 (23:47 +0200)]
toolchain-external: microblaze toolchains are glibc-based

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agodocs: update links to the manual
Thomas Petazzoni [Thu, 2 Aug 2012 08:25:23 +0000 (10:25 +0200)]
docs: update links to the manual

In addition to the HTML version, also publish the PDF and Text
versions of our manual.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoUpdate for 2012.08-rc1
Thomas Petazzoni [Wed, 1 Aug 2012 18:46:31 +0000 (20:46 +0200)]
Update for 2012.08-rc1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agosysprof: add patch to fix PowerPC build problem
Thomas Petazzoni [Wed, 1 Aug 2012 18:37:49 +0000 (20:37 +0200)]
sysprof: add patch to fix PowerPC build problem

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agominicom: add license information
Simon Dawson [Wed, 1 Aug 2012 07:06:58 +0000 (08:06 +0100)]
minicom: add license information

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolcdproc: add license information
Simon Dawson [Wed, 1 Aug 2012 07:06:38 +0000 (08:06 +0100)]
lcdproc: add license information

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoebtables: add license information
Baruch Siach [Wed, 1 Aug 2012 04:48:59 +0000 (07:48 +0300)]
ebtables: add license information

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agopoco: add license information
Baruch Siach [Wed, 1 Aug 2012 04:48:57 +0000 (07:48 +0300)]
poco: add license information

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external: do not allow the user to select hard/soft float
Thomas Petazzoni [Wed, 1 Aug 2012 18:04:50 +0000 (20:04 +0200)]
toolchain-external: do not allow the user to select hard/soft float

Commit ba92d6ef68eeb37ba435648fcfbd1dbe13212e6d made hard float the
default when Cortex-A8 and Cortex-A9. The problem it was trying to fix
is that the newer Linaro toolchains (2012.05 and 2012.06) are
hard-float, so the default selection of soft-float enabled on ARM
doesn't work for those toolchains.

Unfortunately, not selecting soft-float causes problems with
the Crosstool-NG backend at the moment.

As an intermediate solution, make the soft float option disappear when
using external toolchain: the toolchain will decide by itself whether
to generate hard float or soft float code.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoMention Device Tree feature in CHANGES
Thomas Petazzoni [Tue, 31 Jul 2012 21:47:31 +0000 (23:47 +0200)]
Mention Device Tree feature in CHANGES

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoqemu/x86: update to use kernel 3.4.7
Gustavo Zacarias [Tue, 31 Jul 2012 21:13:15 +0000 (18:13 -0300)]
qemu/x86: update to use kernel 3.4.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoqemu/x86_64: update to use kernel 3.4.7
Gustavo Zacarias [Tue, 31 Jul 2012 21:13:14 +0000 (18:13 -0300)]
qemu/x86_64: update to use kernel 3.4.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoqemu/microblaze: update to use kernel 3.4.7
Gustavo Zacarias [Tue, 31 Jul 2012 21:13:13 +0000 (18:13 -0300)]
qemu/microblaze: update to use kernel 3.4.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoqemu/mips-malta: update to use kernel 3.4.7
Gustavo Zacarias [Tue, 31 Jul 2012 21:13:12 +0000 (18:13 -0300)]
qemu/mips-malta: update to use kernel 3.4.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoqemu/mipsel-malta: update to use kernel 3.4.7
Gustavo Zacarias [Tue, 31 Jul 2012 21:13:11 +0000 (18:13 -0300)]
qemu/mipsel-malta: update to use kernel 3.4.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoqemu/arm-vexpress: update to use kernel 3.4.7
Gustavo Zacarias [Tue, 31 Jul 2012 21:13:10 +0000 (18:13 -0300)]
qemu/arm-vexpress: update to use kernel 3.4.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoqemu/sh4-r2d: update to use kernel 3.2.24
Gustavo Zacarias [Tue, 31 Jul 2012 21:13:09 +0000 (18:13 -0300)]
qemu/sh4-r2d: update to use kernel 3.2.24

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoqemu/sparc-ss10: update to use kernel 3.4.7
Gustavo Zacarias [Tue, 31 Jul 2012 21:13:08 +0000 (18:13 -0300)]
qemu/sparc-ss10: update to use kernel 3.4.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoqemu/ppc-mpc8544ds: update to use kernel 3.4.7
Gustavo Zacarias [Tue, 31 Jul 2012 21:13:07 +0000 (18:13 -0300)]
qemu/ppc-mpc8544ds: update to use kernel 3.4.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolinux: bump default to kernel version 3.4.7
Gustavo Zacarias [Tue, 31 Jul 2012 21:13:06 +0000 (18:13 -0300)]
linux: bump default to kernel version 3.4.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agokernel-headers: bump 3.4.x stable version
Gustavo Zacarias [Tue, 31 Jul 2012 21:13:05 +0000 (18:13 -0300)]
kernel-headers: bump 3.4.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoReflect recent changes in CHANGES file
Thomas Petazzoni [Tue, 31 Jul 2012 21:36:51 +0000 (23:36 +0200)]
Reflect recent changes in CHANGES file

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoUpdate qemu microblazebe default configuration
Maxime Ripard [Mon, 30 Jul 2012 13:55:56 +0000 (15:55 +0200)]
Update qemu microblazebe default configuration

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoUpdate qemu microblazeel default configuration
Maxime Ripard [Mon, 30 Jul 2012 13:55:55 +0000 (15:55 +0200)]
Update qemu microblazeel default configuration

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoUpdate s6lx9 microblaze default configuration
Maxime Ripard [Mon, 30 Jul 2012 12:32:49 +0000 (14:32 +0200)]
Update s6lx9 microblaze default configuration

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolinux: Add new image formats for PowerPC and Microblaze
Maxime Ripard [Mon, 30 Jul 2012 12:32:48 +0000 (14:32 +0200)]
linux: Add new image formats for PowerPC and Microblaze

Add the following Linux kernel image formats:

 * cuImage(powerpc)
 * simpleImage(microblaze)
 * linux.bin(microblaze)

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoAdd support for appended device tree blobs for arm
Maxime Ripard [Mon, 30 Jul 2012 12:32:47 +0000 (14:32 +0200)]
Add support for appended device tree blobs for arm

This patch adds support for the ARM-only appended device tree
mechanism present in the kernel.

This option allows to add at the end of the kernel image the
device tree blob so that we can still boot device tree enabled
kernels with old bootloaders.

This patch also adds the needed logic to genereate such an image
when building zImages or uImages, also adding the necessary parts
to rebuild the uImage.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoFactorize the u-boot images code
Maxime Ripard [Mon, 30 Jul 2012 12:32:46 +0000 (14:32 +0200)]
Factorize the u-boot images code

This patch introduces the BR2_LINUX_KERNEL_UBOOT_IMAGE boolean to
factorize more code that will be shared in the next patches that
introduces other uImage-like targets.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoRework support for the device tree
Maxime Ripard [Mon, 30 Jul 2012 12:32:45 +0000 (14:32 +0200)]
Rework support for the device tree

This patch introduces some support for device tree-enabled kernels.

It replaces the former BR2_LINUX_KERNEL_DTS_FILE option that was
microblaze-only, that was quite limited. This option was quite
limited, first obviously because it was restricted to microblaze,
but also because it targetted only external device tree source files,
and allowed only to build simpleImages using the custom image name
mechanism.

This patch adds a much more generic one, that can work on basically
every architecture that supports device tree. It allows to build
both device tree source file that comes with the kernel source or to
set the path to the device tree file to use so that one can use a
custom device tree.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoRevert "Microblaze: build kernel with device tree"
Maxime Ripard [Mon, 30 Jul 2012 12:32:44 +0000 (14:32 +0200)]
Revert "Microblaze: build kernel with device tree"

This is way too specific to microblaze-only. Remove this support to
introduce a more generic way to do support device tree kernels.

This reverts commit aaed42d15643e0cb64c96fa400a6097a19d19ef4.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoffmpeg: bump to 0.8.12
Luca Ceresoli [Tue, 31 Jul 2012 08:51:30 +0000 (10:51 +0200)]
ffmpeg: bump to 0.8.12

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoprotobuf: add license information
Simon Dawson [Tue, 31 Jul 2012 08:37:01 +0000 (09:37 +0100)]
protobuf: add license information

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agopkg-stats: ensure infratype is reset for every package
Thomas Petazzoni [Tue, 31 Jul 2012 19:38:16 +0000 (21:38 +0200)]
pkg-stats: ensure infratype is reset for every package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agopkg-stats: add license information, rework information displayed
Thomas Petazzoni [Tue, 31 Jul 2012 19:32:25 +0000 (21:32 +0200)]
pkg-stats: add license information, rework information displayed

Now that most packages have been converted over to package
infrastructures, keep only one column to show the package
infrastructures.

A new column, showing of the package has license information, has been
added. This will help in increasing the number of packages having
license metadata.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agosysprof: add patch to fix build failures related to NT_GNU_BUILD_ID
Thomas Petazzoni [Tue, 31 Jul 2012 18:30:04 +0000 (20:30 +0200)]
sysprof: add patch to fix build failures related to NT_GNU_BUILD_ID

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoSimplify x86 target architecture variant handling
Thomas Petazzoni [Wed, 25 Jul 2012 19:12:59 +0000 (21:12 +0200)]
Simplify x86 target architecture variant handling

Instead of having two separate list of choices for select the target
architecture variant for i386 and x86_64, with many CPU choices
duplicated (because all modern x86 CPUs can be both used as i386 or
x86_64), merge them into a single list. In the x86_64 case, all the
x86 CPUs that do not support the 64 bits instruction set are hidden.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agosysprof: New package.
Will Newton [Fri, 27 Jul 2012 15:26:23 +0000 (16:26 +0100)]
sysprof: New package.

[thomas.petazzoni@free-electrons.com:
 - add dependencies on the supported architectures to avoid build
   failures on ARM and other unsupported arches
 - add a patch that removes an useless warning about the kernel
   version. This patch is present upstream. However since it modifies
   configure.ac, we need to autoreconf the package.]

Signed-off-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agodoc: Update the documentation to mention the new PKG_INSTALL_INIT_ variables
Maxime Ripard [Sat, 28 Jul 2012 07:21:22 +0000 (09:21 +0200)]
doc: Update the documentation to mention the new PKG_INSTALL_INIT_ variables

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoAdd systemd unit for lighttpd
Maxime Ripard [Sat, 28 Jul 2012 07:21:21 +0000 (09:21 +0200)]
Add systemd unit for lighttpd

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoRework of the init system
Maxime Ripard [Sat, 28 Jul 2012 07:21:20 +0000 (09:21 +0200)]
Rework of the init system

Since we have now two uncompatible init systems, and we want only one of
them at the same time in use in the rootfs, we need to select a
particular init system. This patch also adds $(PKG)_INSTALL_INIT_SYSTEMD
and $(PKG)_INSTALL_INIT_SYSV hooks that are called when the matching
init systems are selected to install properly the init scripts of the
package.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolibusb: needs thread support
Gustavo Zacarias [Thu, 28 Jun 2012 01:35:25 +0000 (22:35 -0300)]
libusb: needs thread support

libusb needs thread support, and so do other packages that depend on it.

[thomas.petazzoni@free-electrons.com: adds threads dependency to
libnfc-llp, which selects libnfc.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agobash: add depends on MMU
Thomas Petazzoni [Mon, 30 Jul 2012 19:20:02 +0000 (21:20 +0200)]
bash: add depends on MMU

Fixes the build failure at

  http://autobuild.buildroot.org/results/0434d99b51f535ac73bfcf1968b1c2b81b44ba61/build-end.log.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoxorg-xserver: always enable forced outputs
Jonathan Liu [Fri, 27 Jul 2012 14:17:32 +0000 (00:17 +1000)]
xorg-xserver: always enable forced outputs

If the user has gone to the effort of manually enabling an output in
the configuration file assume that they know what they're doing.

X.org Bug 14611 <http://bugs.freedesktop.org/show_bug.cgi?id=14611>

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoudev: process udev events on startup in init.d script
Jonathan Liu [Fri, 27 Jul 2012 14:03:58 +0000 (00:03 +1000)]
udev: process udev events on startup in init.d script

udev rules are not processed for kernel events that occur before
the udev daemon is started. Call udevadm trigger to replay these
missed events.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoudev: use /dev if udev_root not defined in init.d script
Jonathan Liu [Fri, 27 Jul 2012 13:51:57 +0000 (23:51 +1000)]
udev: use /dev if udev_root not defined in init.d script

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoudev: fix stopping execution of udev events in init.d script
Jonathan Liu [Fri, 27 Jul 2012 13:51:56 +0000 (23:51 +1000)]
udev: fix stopping execution of udev events in init.d script

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoless: build after busybox
Gustavo Zacarias [Thu, 26 Jul 2012 19:18:37 +0000 (16:18 -0300)]
less: build after busybox

Build less after busybox if it's enabled, since we prefer the full-blown
version over the light one if it's enabled (and busybox would overwrite
the link when built afterwards).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agodhcp: security bump to version 4.1-ESV-R6
Gustavo Zacarias [Thu, 26 Jul 2012 20:10:00 +0000 (17:10 -0300)]
dhcp: security bump to version 4.1-ESV-R6

Fixes CVE-2012-3571 and CVE-2012-3954.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agokernel-headers: bump 3.2.x stable version
Gustavo Zacarias [Thu, 26 Jul 2012 17:48:03 +0000 (14:48 -0300)]
kernel-headers: bump 3.2.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolibnl: requires thread support
Gustavo Zacarias [Thu, 26 Jul 2012 17:46:42 +0000 (14:46 -0300)]
libnl: requires thread support

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

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolibpng: security bump to version 1.4.12
Gustavo Zacarias [Thu, 26 Jul 2012 17:19:41 +0000 (14:19 -0300)]
libpng: security bump to version 1.4.12

Fixes CVE-2012-3386

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agocrosstool-ng: bump to version 1.15.3
Jonathan Liu [Thu, 26 Jul 2012 14:19:35 +0000 (00:19 +1000)]
crosstool-ng: bump to version 1.15.3

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoconnman: bump to version 1.4
Jonathan Liu [Thu, 26 Jul 2012 01:38:05 +0000 (11:38 +1000)]
connman: bump to version 1.4

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agobind: security bump to version 9.6-ESV-R7-P2
Gustavo Zacarias [Fri, 27 Jul 2012 23:31:28 +0000 (20:31 -0300)]
bind: security bump to version 9.6-ESV-R7-P2

Fixes CVE-2012-3817

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolibnfc: add license information
Simon Dawson [Mon, 30 Jul 2012 07:32:08 +0000 (08:32 +0100)]
libnfc: add license information

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agogpsd: PPS feature depends on NTPSHM feature
Simon Dawson [Mon, 30 Jul 2012 07:22:20 +0000 (08:22 +0100)]
gpsd: PPS feature depends on NTPSHM feature

The PPS feature of gpsd depends on the NTP shared memory time hinting feature.

This patch caused the NTPSHM feature to be enabled whenever the PPS feature
is enabled. This should fix build failures such as the following.

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

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agogpsd: fix Python 2.5 build failure
Simon Dawson [Mon, 30 Jul 2012 07:08:21 +0000 (08:08 +0100)]
gpsd: fix Python 2.5 build failure

The platform.linux_distribution method was introduced in Python 2.6. Some
of the Buildroot autobuilders still use Python 2.5, which is causing build
failures such as the following.

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

This patch removes the linux distribution check from the gpsd SConstruct file.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolibelf: fix typo
Thomas Petazzoni [Mon, 30 Jul 2012 17:10:31 +0000 (19:10 +0200)]
libelf: fix typo

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agogpsd: remove patch to handle ncurses5-config custom location
Thomas Petazzoni [Thu, 26 Jul 2012 07:25:37 +0000 (09:25 +0200)]
gpsd: remove patch to handle ncurses5-config custom location

Now that ncurses has been bumped to 5.9, it installs .pc files for
pkg-config, which allows gpsd to find it properly without the need to
specify a custom location for ncurses5-config.

Since gpsd now uses pkg-config to find the ncurses library, we also
add host-pkg-config in the dependencies.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoncurses: bump to 5.9
Thomas Petazzoni [Thu, 26 Jul 2012 07:21:12 +0000 (09:21 +0200)]
ncurses: bump to 5.9

Bumping to 5.9 has two nice side-effects:

 * It builds fine on noMMU architectures such as Blackfin, which will
   fix build failures like
   http://autobuild.buildroot.org/results/cf3e6a95c82b60d63da041293db576a8f21f9136/build-end.log.

 * It installs a pkg-config file, which will allow gpsd to find
   ncurses properly, without the need to use ncurses5-config, which
   means we can get rid of one of our gpsd patches. Thanks to Mike
   Frysinger for pointing the new --enable-pc-files option.

After this bump, I build tested a large number of the ncurses reverse
dependencies we have in Buildroot, and they all built fine.

Thanks to Gustavo Zacarias for the investigation on why ncurses 5.9
why segfaulting: it turned out to be caused by the
--enable-broken-linker configure option.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoncurses: get the post staging installation hook called properly
Thomas Petazzoni [Thu, 26 Jul 2012 07:20:24 +0000 (09:20 +0200)]
ncurses: get the post staging installation hook called properly

There was a typo in the name of the variable to register the hook,
which prevent the hook from actually being called.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoRemove unused TARGET_ABI values
Thomas Petazzoni [Wed, 25 Jul 2012 18:27:58 +0000 (20:27 +0200)]
Remove unused TARGET_ABI values

The BR2_mmix and BR2_arm_dunno configuration options do not exist, so
there is no chance for these values to be useful in any way.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agodbus: requires thread support
Thomas Petazzoni [Wed, 25 Jul 2012 09:29:58 +0000 (11:29 +0200)]
dbus: requires thread support

As can be seen on the build result at
http://autobuild.buildroot.org/results/20f1078ef7dc5f187b04c63ef70e8b43acf9bb3a/build-end.log,
D-Bus requires thread support in the toolchain.

This commit adjusts the Kconfig dependencies of D-Bus and all its
reverse dependencies to depend on thread support in the toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agognutls: requires WCHAR support
Thomas Petazzoni [Wed, 25 Jul 2012 07:46:34 +0000 (09:46 +0200)]
gnutls: requires WCHAR support

gnutls uses wctomb(), which is available only on C libraries with
wide-char support. This fixes the following build failure:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoqt: tune .pc files after installation in staging directory
Thomas Petazzoni [Tue, 24 Jul 2012 22:05:44 +0000 (00:05 +0200)]
qt: tune .pc files after installation in staging directory

The Qt configuration and installation process is a bit strange, and it
leads the .pc files to contain absolute paths to the staging
directory, while it should only contains paths relative to the staging
directory, because pkg-config already adds the path of the sysroot
automatically to the headers and libraries locations.

This allows the 'pkg-config --cflags' results for Qt libraries to be
correct.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agogpsd: disable Python support
Thomas Petazzoni [Wed, 25 Jul 2012 16:24:05 +0000 (18:24 +0200)]
gpsd: disable Python support

The Python support is not cross-compile friendly (uses host compiler,
installs in wrong location, etc.) and nobody needs it at the moment,
so leave that to the first person who will need Python support for
gpsd.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agogpsd: add patch to disable rpath
Thomas Petazzoni [Tue, 24 Jul 2012 22:04:21 +0000 (00:04 +0200)]
gpsd: add patch to disable rpath

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agogpsd: proper usage of prefix and DESTDIR
Thomas Petazzoni [Tue, 24 Jul 2012 22:01:55 +0000 (00:01 +0200)]
gpsd: proper usage of prefix and DESTDIR

prefix should always be /usr, and destdir must be passed as DESTDIR,
and in the environment, not as a scons argument. Finally, we pass the
sysroot= argument to scons so that it doesn't add -L/usr/lib
parameters when compiling.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoxserver_xorg-server: add upstream patches to fix build issue
Thomas Petazzoni [Mon, 23 Jul 2012 21:41:15 +0000 (23:41 +0200)]
xserver_xorg-server: add upstream patches to fix build issue

Fixes the following build issue with gcc 4.6:

  LINK  Xfbdev
.../host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/bin/ld: ../../../os/.libs/libos.a(backtrace.o): undefined reference to symbol 'dladdr@@GLIBC_2.4'
.../host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.6.1/../../../../arm-none-linux-gnueabi/bin/ld: note: 'dladdr@@GLIBC_2.4' is defined in DSO .../host/usr/arm-unknown-linux-gnueabi/sysroot/lib/libdl.so.2 so try adding it to the linker command line
.../host/usr/arm-unknown-linux-gnueabi/sysroot/lib/libdl.so.2: could not read symbols: Invalid operation

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agogpsd: remove option to enable latency measurement capabilities
Thomas Petazzoni [Tue, 24 Jul 2012 20:18:18 +0000 (22:18 +0200)]
gpsd: remove option to enable latency measurement capabilities

It currently fails to build with:

libgpsd_core.c: In function 'gpsd_poll':
libgpsd_core.c:881: error: 'const struct gps_type_t' has no member named 'min_cycle'
libgpsd_core.c:884: error: 'const struct gps_type_t' has no member named 'min_cycle'

and is probably not a very important feature for normal users of gpsd.

The build problem has been reported to the gpsd-users mailing list.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agogpsd: fix build issues
Thomas Petazzoni [Tue, 24 Jul 2012 19:43:59 +0000 (21:43 +0200)]
gpsd: fix build issues

The first patch gpsd-01-sconstruct-python-2.5-compat.patch is aimed at
fixing Python 2.5 compatibility issues such as:

 http://autobuild.buildroot.org/results/844a7f8698567688eba094f64dd2bf5157efd994/build-end.log

The second patch gpsd-02-sconstruct-ncurses-config-path.patch
implements a proper mechanism to specify the path to
ncurse5-config. It obsoletes the previous
gpsd-fix-acs_map-compile-errors patch, and solves build problems such
as:

 http://autobuild.buildroot.org/results/92ae3d53e8aa68d8b1a2eccad68c98f577cb6437/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Simon Dawson <spdawson@gmail.com>
12 years agogpsd: disallow profiling support with uClibc toolchain
Simon Dawson [Tue, 24 Jul 2012 12:34:32 +0000 (13:34 +0100)]
gpsd: disallow profiling support with uClibc toolchain

The following problem was reported by Thomas Petazzoni.

If BR2_PACKAGE_GPSD_PROFILING is enabled with a uClibc-based toolchain, then
gpsd fails to build. See the following for details.

  http://autobuild.buildroot.org/results/be707893f4bf0e7e964d183e4a655c5bb72d1889/build-end.log
  http://autobuild.buildroot.org/results/be707893f4bf0e7e964d183e4a655c5bb72d1889/defconfig.

The issue is that uClibc lacks the necessary infrastructure to support
profiling. This patch disallows selection of the gpsd profiling feature when
a uClibc-based toolchain is selected.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agomediastreamer: fix build with libX11 and sdl without x11 support
Peter Korsgaard [Mon, 23 Jul 2012 09:49:19 +0000 (11:49 +0200)]
mediastreamer: fix build with libX11 and sdl without x11 support

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

Mediastreamer assumes SDL has X11 support if SDL and libX11 are found,
which is not necessarily true in BR.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agopkg-generic: fix SUBDIR handling
Thomas Petazzoni [Tue, 24 Jul 2012 07:17:56 +0000 (09:17 +0200)]
pkg-generic: fix SUBDIR handling

Commit 9ba9bfb9a02706fa414bcf4c6dcceac1b68a5c9a inverted the logic to
define $(2)_SUBDIR, breaking the build of things using the _SUBDIR
feature, like the tcl package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoBump gpsd from version 2.95 to version 3.7
Simon Dawson [Mon, 23 Jul 2012 19:29:36 +0000 (20:29 +0100)]
Bump gpsd from version 2.95 to version 3.7

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoscons: expose SCONS variable, pointing to host scons
Thomas Petazzoni [Mon, 23 Jul 2012 21:22:26 +0000 (23:22 +0200)]
scons: expose SCONS variable, pointing to host scons

Just like we have AUTOMAKE, AUTOCONF or QT_QMAKE, let the scons
package provide a SCONS variable that points to the scons host binary.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agophp: security bump to version 5.3.15
Gustavo Zacarias [Mon, 23 Jul 2012 17:21:56 +0000 (14:21 -0300)]
php: security bump to version 5.3.15

Fix for CVE-2012-2688 (potential overflow in _php_stream_scandir),
CVE-2012-3365 (SQLite open_basedir bypass) and other misc bugfixes.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoradvd: fix high jobcount build failure
Gustavo Zacarias [Mon, 23 Jul 2012 12:42:38 +0000 (09:42 -0300)]
radvd: fix high jobcount build failure

Fix build failure:
http://autobuild.buildroot.org/results/48aabbc41dff2e4196dfd6e1e942cf6dbe050deb/build-end.log
because of a typo/missed update in the Makefile

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external: make preinstall the default for custom toolchains
Thomas Petazzoni [Sun, 22 Jul 2012 18:57:26 +0000 (20:57 +0200)]
toolchain-external: make preinstall the default for custom toolchains

All the defconfig files used by the autobuilders that use
pre-installed external toolchains are making the assumption that the
default for a custom external toolchain is "pre-installed". We keep
this default for now, since changing it breaks the autobuilders.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotar: fix build with glibc >=2.16
Samuel Martin [Sun, 22 Jul 2012 13:28:38 +0000 (15:28 +0200)]
tar: fix build with glibc >=2.16

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
 create mode 100644 package/tar/tar-1.26-no-gets.patch
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agom4: fix build with glibc >=2.16
Samuel Martin [Sun, 22 Jul 2012 13:28:37 +0000 (15:28 +0200)]
m4: fix build with glibc >=2.16

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
 create mode 100644 package/m4/m4-1.4.16-no-gets.patch
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoelftosb: use HOST_CONFIGURE_OPTS instead of HOST_MAKE_ENV
Thomas Petazzoni [Sun, 22 Jul 2012 18:29:50 +0000 (20:29 +0200)]
elftosb: use HOST_CONFIGURE_OPTS instead of HOST_MAKE_ENV

HOST_CONFIGURE_OPTS allows to pass the correct CC, CXX, CFLAGS,
CXXFLAGS, etc. For example, it allows the elftosb build process to
properly use ccache when available.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoelftosb: remove version number of patch filenames
Thomas Petazzoni [Sun, 22 Jul 2012 18:24:18 +0000 (20:24 +0200)]
elftosb: remove version number of patch filenames

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoelftosb: fix build forcing g++ compiler
Samuel Martin [Sun, 22 Jul 2012 13:28:32 +0000 (15:28 +0200)]
elftosb: fix build forcing g++ compiler

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agopkg-*targets.mk: factorize and fix $(PKG)_SRCDIR and $(PKG)_BUILDDIR declaration
Samuel Martin [Sun, 22 Jul 2012 13:28:34 +0000 (15:28 +0200)]
pkg-*targets.mk: factorize and fix $(PKG)_SRCDIR and $(PKG)_BUILDDIR declaration

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agopkg-utils.mk: fix/clean indentation
Samuel Martin [Sun, 22 Jul 2012 13:28:33 +0000 (15:28 +0200)]
pkg-utils.mk: fix/clean indentation

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agocleanup trailing white space
Samuel Martin [Sun, 22 Jul 2012 13:28:31 +0000 (15:28 +0200)]
cleanup trailing white space

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolighttpd: add simple startup script
Thomas Petazzoni [Sun, 22 Jul 2012 17:17:48 +0000 (19:17 +0200)]
lighttpd: add simple startup script

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolighttpd: use standard web root directory
Simon Dawson [Sat, 21 Jul 2012 18:47:51 +0000 (19:47 +0100)]
lighttpd: use standard web root directory

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Acked-By: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agodocs: announce the upcoming Buildroot developer meeting
Thomas Petazzoni [Sun, 22 Jul 2012 16:41:13 +0000 (18:41 +0200)]
docs: announce the upcoming Buildroot developer meeting

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoPackage downloads: allow restricting to primary site only
Thomas De Schampheleire [Fri, 22 Jun 2012 05:37:03 +0000 (07:37 +0200)]
Package downloads: allow restricting to primary site only

This patch adds a new config option BR2_PRIMARY_SITE_ONLY that, when set,
restricts package downloads to the specified BR2_PRIMARY_SITE. If the package
is not present on the primary site, the download fails.

This is useful for project developers who want to ensure that the project can
be built even if the upstream tarball locations disappear.

[thomas.petazzoni@free-electrons.com:
 Extend config option help message with more details coming from the
 commit log. Added a dependency on the fact that a primary site has
 been defined. Without any primary site (the default configuration),
 this new option does not make any sense.]

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external: add Sourcery CodeBench MIPS 2011.09
Thomas Petazzoni [Sun, 3 Jun 2012 14:04:40 +0000 (16:04 +0200)]
toolchain-external: add Sourcery CodeBench MIPS 2011.09

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external: add Blackfin toolchain 2012R1-BETA1
Thomas Petazzoni [Sun, 3 Jun 2012 14:04:39 +0000 (16:04 +0200)]
toolchain-external: add Blackfin toolchain 2012R1-BETA1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external: remove ARM CodeSourcery 2009q3
Thomas Petazzoni [Sun, 22 Jul 2012 14:54:43 +0000 (16:54 +0200)]
toolchain-external: remove ARM CodeSourcery 2009q3

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external: remove Linaro 2012.01
Thomas Petazzoni [Sun, 22 Jul 2012 14:54:18 +0000 (16:54 +0200)]
toolchain-external: remove Linaro 2012.01

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>