buildroot.git
10 years agojpeg-turbo: fix "jpegtran" spelling in target-install hook
Danomi Manchego [Tue, 11 Feb 2014 02:07:38 +0000 (21:07 -0500)]
jpeg-turbo: fix "jpegtran" spelling in target-install hook

Use correct bin name so that JPEG_TURBO_REMOVE_USELESS_TOOLS fixup
actually removes it.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibjpeg: fix "jpegtran" spelling in target-install hook
Danomi Manchego [Tue, 11 Feb 2014 02:07:14 +0000 (21:07 -0500)]
libjpeg: fix "jpegtran" spelling in target-install hook

Use correct bin name so that LIBJPEG_REMOVE_USELESS_TOOLS fixup
actually removes it.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoCHANGES: update with recent changes
Peter Korsgaard [Mon, 10 Feb 2014 21:29:44 +0000 (22:29 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconfigs/raspberrypi: remove packages not strictly required
Yann E. MORIN [Mon, 10 Feb 2014 20:53:25 +0000 (21:53 +0100)]
configs/raspberrypi: remove packages not strictly required

rpi-userland and libcoffi are not strictly required to boot up the
Raspberry Pi, so remove them from the defconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconfigs/raspberrypi: bump kernel version
Yann E. MORIN [Mon, 10 Feb 2014 20:53:24 +0000 (21:53 +0100)]
configs/raspberrypi: bump kernel version

Bump from rpi-3.10.27 to rpi-3.10.29.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocpanminus: remove it
Francois Perrad [Mon, 10 Feb 2014 12:23:15 +0000 (13:23 +0100)]
cpanminus: remove it

cpanminus was marked as broken, now it becomes useless with the Perl infrastructure.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoperl: remove useless patch
Francois Perrad [Mon, 10 Feb 2014 12:23:13 +0000 (13:23 +0100)]
perl: remove useless patch

The Perl infrastructure uses a host version of Module-Build
(see previous commit "host-perl-module-build: new package").
The target version is never used, so no need to patch it.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohost-perl: export and rename PERL5LIB
Francois Perrad [Mon, 10 Feb 2014 12:23:08 +0000 (13:23 +0100)]
host-perl: export and rename PERL5LIB

The official Perl documentation refers only to PERL5LIB.
PERLLIB is obsolete, we don't need to be compatible with Perl4.

PERL5LIB is used in all environment, so it is simpler to just export it.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobeaglebone: change to zImage
Anders Darander [Mon, 10 Feb 2014 08:40:00 +0000 (09:40 +0100)]
beaglebone: change to zImage

The default U-Boot configuration is now to use a zImage instead of uImage.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobeaglebone: update to latest U-Boot
Anders Darander [Mon, 10 Feb 2014 08:39:59 +0000 (09:39 +0100)]
beaglebone: update to latest U-Boot

Update to the default version of U-Boot, at this time 2013.10.

Tested with an old uEnv.txt (i.e. using uImage) and with the
currently prefered zImage.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoam33x-cm3: update to latest version
Anders Darander [Mon, 10 Feb 2014 08:39:58 +0000 (09:39 +0100)]
am33x-cm3: update to latest version

This goes hand-in-hand with the kernel update.
The version is taken from meta-ti.

The new kernel version, 3.12, requires a newer PM FW.

This should correspond to v05.00.00.02, though that tag
has not been pushed...

Signed-off-by: Anders Darander <anders@chargestorm.se>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobeaglebone: update to TI 3.12 kernel
Anders Darander [Mon, 10 Feb 2014 08:39:57 +0000 (09:39 +0100)]
beaglebone: update to TI 3.12 kernel

Git repo version is taken from meta-ti.
It's a 3.12.10 kernel with TI's own patches on top.

The defconfig has been kept rather close to our old defconfig.
The kernel has been boot-tested using an NFS-root.

Apart from the kernel change, the linux headers has also been
updated from 3.8.12 to 3.12.10.

[Peter: drop UEVENT_HELPER_PATH setting]
Signed-off-by: Anders Darander <anders@chargestorm.se>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomadplay: fixes build when toolchain has locale support
Julien Boibessot [Mon, 10 Feb 2014 10:17:48 +0000 (11:17 +0100)]
madplay: fixes build when toolchain has locale support

Otherwise build fails in intl/relocatable.c with:
./relocatable.c: In function 'libintl_relocate':
./relocatable.c:402:40: error: 'INSTALLPREFIX' undeclared (first use in this function)
./relocatable.c:402:40: note: each undeclared identifier is reported only once for each function it appears in

[Peter: drop redundant 'else' part]
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibtorrent: disable on ARC arch
Anton Kolesov [Mon, 10 Feb 2014 14:09:41 +0000 (18:09 +0400)]
libtorrent: disable on ARC arch

Libtorrent has dependencies on atomic operations. However ARC GCC doesn't
implement those at the moment so package should be disabled. Rtorrent
depends on libtorrent.

This fixes:
http://autobuild.buildroot.net/results/51414e22c8ea47c38df20d864526a370c5a895d7/

Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobarebox: bump to version 2014.02.0
Fabio Porcedda [Mon, 10 Feb 2014 08:19:36 +0000 (09:19 +0100)]
barebox: bump to version 2014.02.0

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodocs/news.html: add report from FOSDEM meeting
Peter Korsgaard [Sun, 9 Feb 2014 22:12:43 +0000 (23:12 +0100)]
docs/news.html: add report from FOSDEM meeting

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux: don't automatically set uevent_helper with mdev /dev management
Thomas De Schampheleire [Fri, 7 Feb 2014 08:20:59 +0000 (09:20 +0100)]
linux: don't automatically set uevent_helper with mdev /dev management

When mdev /dev management is chosen in the buildroot configuration, the
Linux configuration is updated automatically to set option
CONFIG_UEVENT_HELPER_PATH to "/sbin/mdev". However, the help text of this
option explicitly recommends not setting this option due to large
performance impact during boot (experienced first hand by the reporter ánd
author).

The mdev startup script S10mdev already sets the helper during userspace
boot, which will make sure mdev is working correctly.

Fixes bug #6596: https://bugs.busybox.net/show_bug.cgi?id=6596

Reported-by: Andreas Koop <andreas.koop@zf.com>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoCHANGES: update with recent changes
Peter Korsgaard [Sun, 9 Feb 2014 21:46:26 +0000 (22:46 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: replace BUILDROOT_CONFIG with BR2_CONFIG
Arnout Vandecappelle [Tue, 4 Feb 2014 15:18:52 +0000 (16:18 +0100)]
infra: replace BUILDROOT_CONFIG with BR2_CONFIG

To make the naming consistent (all user-visible options should be
prefixed with BR2_).

An entry is added to Makefile.legacy to warn users who have set
BUILDROOT_CONFIG but not BR2_CONFIG.

Still export BUILDROOT_CONFIG but pointing to some phony value, to
make sure that scripts that still use it fail in a predictable way.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: fix typo when setting VLC_CONF_ENV
Samuel Martin [Sun, 9 Feb 2014 12:47:12 +0000 (13:47 +0100)]
vlc: fix typo when setting VLC_CONF_ENV

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

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: fix glx support
Samuel Martin [Sun, 9 Feb 2014 12:47:11 +0000 (13:47 +0100)]
vlc: fix glx support

glx support is provided by the mesa3d package; so, enable it only when
mesa3d is part of the package selection.

Fixes:
  http://autobuild.buildroot.org/results/9b4/9b46021ea0064850ce8f1adcb5455d6da5bff459/build-end.log

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokexec: fix build failure
Samuel Martin [Sun, 9 Feb 2014 12:47:10 +0000 (13:47 +0100)]
kexec: fix build failure

Add patch retrived from upstream and fixing undefined bzImage_support_efi_boot
build failure.

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

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokexec: rename patch to add sequence number
Samuel Martin [Sun, 9 Feb 2014 12:47:09 +0000 (13:47 +0100)]
kexec: rename patch to add sequence number

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotrace-cmd: needs mmu
Romain Naour [Sun, 9 Feb 2014 13:04:27 +0000 (14:04 +0100)]
trace-cmd: needs mmu

Fixes:
http://autobuild.buildroot.net/results/0b7/0b73c684b3d7edcd818cb113fda534e552028d58/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotrace-cmd: disable on avr32
Romain Naour [Sun, 9 Feb 2014 10:46:55 +0000 (11:46 +0100)]
trace-cmd: disable on avr32

AVR32 does not have TLS support.

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

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: replace BUILDROOT_DL_DIR with BR2_DL_DIR.
Arnout Vandecappelle [Tue, 4 Feb 2014 15:18:51 +0000 (16:18 +0100)]
infra: replace BUILDROOT_DL_DIR with BR2_DL_DIR.

To make the naming consistent (all user-visible options should be
prefixed BR2_).

An entry is added to Makefile.legacy to warn users who have set
BUILDROOT_DL_DIR but not BR2_DL_DIR.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokmod: really pass --disable-manpages
Peter Korsgaard [Sun, 9 Feb 2014 08:34:17 +0000 (09:34 +0100)]
kmod: really pass --disable-manpages

The line below overwrites KMOD_CONF_OPT, so move the --disable-manpages
options below.

Fixes http://autobuild.buildroot.net/results/842/842131307c171e1bc5a1e918996d53b00ddb1be3/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopkg-autotools: fixup pkg_CONFIGURE_CMDS after DISABLE_DOCUMENTATION removal
Peter Korsgaard [Sun, 9 Feb 2014 00:00:22 +0000 (01:00 +0100)]
pkg-autotools: fixup pkg_CONFIGURE_CMDS after DISABLE_DOCUMENTATION removal

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: remove separate definition of DISABLE_DOCUMENTATION
Thomas De Schampheleire [Wed, 5 Feb 2014 13:51:00 +0000 (14:51 +0100)]
infra: remove separate definition of DISABLE_DOCUMENTATION

Since we now always disable documentation on target, there is no need to
have a separate variable DISABLE_DOCUMENTATION anymore.

Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokernel-headers: remove deprecated versions 3.1, 3.3, 3.5
Thomas De Schampheleire [Wed, 5 Feb 2014 13:50:59 +0000 (14:50 +0100)]
kernel-headers: remove deprecated versions 3.1, 3.3, 3.5

The Linux kernel headers versions 3.1, 3.3, and 3.5 have been deprecated
since 2013.02 and thus can be removed in 2014.02.
For legacy handling, we automatically select versions 3.2, 3.4, and 3.6,
respectively.

Additionally, this patch removes the now unused symbol
BR2_DEPRECATED_SINCE_2013_02.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogdb: remove deprecated versions 7.2.x and 7.3.x
Thomas De Schampheleire [Wed, 5 Feb 2014 13:50:58 +0000 (14:50 +0100)]
gdb: remove deprecated versions 7.2.x and 7.3.x

Gdb versions 7.2.x and 7.3.x have been deprecated since 2013.02 and thus can
be removed in 2014.02.
For legacy handling, version 7.5.x is automatically selected.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoccache: remove deprecated target package
Thomas De Schampheleire [Wed, 5 Feb 2014 13:50:57 +0000 (14:50 +0100)]
ccache: remove deprecated target package

The ccache target package has been deprecated since 2013.02 and thus can be
removed in 2014.02. This does not change anything about host ccache (used
for speeding up builds).

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackages: remove support for documentation on target
Thomas De Schampheleire [Wed, 5 Feb 2014 13:50:56 +0000 (14:50 +0100)]
packages: remove support for documentation on target

This patch removes deprecated symbol BR2_HAVE_DOCUMENTATION and all its
usage. Additionally, it removes the now unused BR2_DEPRECATED_SINCE_2012_11.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoautomake: remove deprecated target package
Thomas De Schampheleire [Wed, 5 Feb 2014 13:50:55 +0000 (14:50 +0100)]
automake: remove deprecated target package

The automake support on target has been deprecated for more than four
buildroot releases and thus can be removed. This doesn't change anything
about the host automake support.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoautoconf: remove deprecated target package
Thomas De Schampheleire [Wed, 5 Feb 2014 13:50:54 +0000 (14:50 +0100)]
autoconf: remove deprecated target package

The autoconf support on target has been deprecated for more than four
buildroot releases and thus can be removed. This doesn't change anything
about the host autoconf support.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxstroke: remove deprecated package
Thomas De Schampheleire [Wed, 5 Feb 2014 13:50:53 +0000 (14:50 +0100)]
xstroke: remove deprecated package

xstroke has been deprecated since 2013.02 and thus can be removed in
2014.02.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/squashfs: add selection for the host variant
Yann E. MORIN [Fri, 3 Jan 2014 17:19:34 +0000 (18:19 +0100)]
package/squashfs: add selection for the host variant

If any of the post-image scripts wants to handle squashfs filesystems,
we need to expose an option for squashfs-tools to be user-selectable.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ryan Barnett <rjbarnet@rockwellcollins.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokexec: bump to 2.0.5
Baruch Siach [Thu, 6 Feb 2014 06:17:56 +0000 (08:17 +0200)]
kexec: bump to 2.0.5

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogdb: move version selection from gdb.mk to Config.in.host
Arnout Vandecappelle [Wed, 29 Jan 2014 21:44:41 +0000 (22:44 +0100)]
gdb: move version selection from gdb.mk to Config.in.host

This avoids duplication of the version selection between these two files.

Cc: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosnmppp: bump to version 3.3.3
Axel Lin [Thu, 6 Feb 2014 12:06:27 +0000 (20:06 +0800)]
snmppp: bump to version 3.3.3

Changes snmp++v3.3.3

====================

- Fixed: [APP-30] SNMP++ cannot BER decode Oids starting with 2 and
  with second sub-identifier >39 correctly.
- Fixed: [APP-31] SNMP++ does not encode Oids starting with 2 and
  second sub-ID greater than 47 correctly.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosysstat: bump to version 10.2.1
Axel Lin [Thu, 6 Feb 2014 12:01:37 +0000 (20:01 +0800)]
sysstat: bump to version 10.2.1

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofs/ubi: add option to use custom ubinize config file
Danomi Manchego [Wed, 29 Jan 2014 04:54:00 +0000 (23:54 -0500)]
fs/ubi: add option to use custom ubinize config file

By default, the UBI FS target creates a ubinize configuration
file on-the-fly, for a single volume.  Add an option to specify
a custom config file.

E.g., one might want to deploy a system with a volume for the
built ubifs image, a volume for a future upgrade image, and a
volume for user data.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogpsd: disable for microblaze arch
Ryan Barnett [Thu, 6 Feb 2014 22:56:57 +0000 (23:56 +0100)]
gpsd: disable for microblaze arch

gpsd will fail on an internal compiler error for the microblaze
architecture so disabling it on that architecture.

Fixes:
  http://autobuild.buildroot.org/results/42d/42da870722f24e4202d8265597771a0449e74cfd

[Peter: add comment explaining why]
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodmraid: disable on ARC arch
Ryan Barnett [Thu, 6 Feb 2014 22:56:56 +0000 (23:56 +0100)]
dmraid: disable on ARC arch

The ARC compiler has an internal failure while compiling this package
so disable this package for this architecture.

Fixes:
  http://autobuild.buildroot.net/results/ef6/ef6a0e2d382ae202bb8f0e9fc9f5e48c90119faf

[Peter: add comment explaining why]
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoRevert "util-linux: add nsenter option"
Peter Korsgaard [Sat, 8 Feb 2014 21:40:18 +0000 (22:40 +0100)]
Revert "util-linux: add nsenter option"

This reverts commit 9f91d79601da42516752318beecfd080dc05aac9.

Not all toolchains have setns(), and the configure script automatically
enables nsenter if it does, so get rid of the explicit option.

See http://lists.busybox.net/pipermail/buildroot/2014-February/088669.html
for details.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoapply-patches.sh: make scan_patchdir work recursively
Thomas De Schampheleire [Fri, 7 Feb 2014 10:16:28 +0000 (11:16 +0100)]
apply-patches.sh: make scan_patchdir work recursively

scan_patchdir is called recursively. For this to work properly, the
variable path which is set to $1 at the very beginning must be local not
global.

A test case is to set BR2_GLOBAL_PATCH_DIR to 'mypatches' and having the
following tree in the buildroot root:

$ find mypatches/
mypatches/
mypatches/busybox
mypatches/busybox/subdir.patch
mypatches/busybox/subdir.patch/busybox-0001-abc.patch
mypatches/busybox/busybox-0002-def.patch
mypatches/busybox/asubdir.patch
mypatches/busybox/asubdir.patch/busybox-0003-xyz.patch

When running 'make busybox-dirclean busybox-patch' originally, you'd get:

    Applying busybox-0003-xyz.patch using patch:

    Applying busybox-0002-def.patch using patch:
    Error: missing patch file
    mypatches/busybox/asubdir.patch/busybox-0002-def.patch

While with this fix:

    Applying busybox-0003-xyz.patch using patch:

    Applying busybox-0002-def.patch using patch:

    Applying busybox-0001-abc.patch using patch:

This fixes bug #6434 (https://bugs.busybox.net/show_bug.cgi?id=6434)

Signed-off-by: Daniel Mentz <daniel@exxm.de>
[Thomas: update commit message with test case]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual: $(BR2_EXTERNAL)/{Config.in, external.mk} are mandatory
Yann E. MORIN [Sat, 8 Feb 2014 16:04:02 +0000 (17:04 +0100)]
manual: $(BR2_EXTERNAL)/{Config.in, external.mk} are mandatory

The manual is a bit vague about whether Config.in and external.mk
are mandatory or optional.

Make it explicit in the manual that they are mandatory.

Reported-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: enable altivec support only when appropriate
Samuel Martin [Sat, 8 Feb 2014 14:34:55 +0000 (15:34 +0100)]
vlc: enable altivec support only when appropriate

All PowerPC CPUs do not support altivec instruction set; so enable its
support only when the sub-architecture support it.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: fix sdl support
Samuel Martin [Sat, 8 Feb 2014 14:34:54 +0000 (15:34 +0100)]
vlc: fix sdl support

sdl video output module includes xlib headers, so it requires
xlib_libx11 to be available.

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

[Peter: check for SDL X11 backend instead]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: fix libgcrypt support
Samuel Martin [Sat, 8 Feb 2014 14:34:53 +0000 (15:34 +0100)]
vlc: fix libgcrypt support

This patch allows to override the libgcrypt-config location instead of
using the one found in the PATH, which is usually the host system one.

Fixes:
  http://autobuild.buildroot.org/results/5e4/5e42d1139bbbed2421193d8acc52df9442c43730/build-end.log

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: fix live555 support
Samuel Martin [Sat, 8 Feb 2014 14:34:52 +0000 (15:34 +0100)]
vlc: fix live555 support

vlc looks for a *.pc file which is not provided by the live555 package.
So, instead, we explicitly set the LIVE555_CFLAGS and LIVE555_LIBS
variables.

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

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: fix bonjour support
Samuel Martin [Sat, 8 Feb 2014 14:34:51 +0000 (15:34 +0100)]
vlc: fix bonjour support

bonjour support checks for avahi-client, which requires avahi-daemon and
dbus enabled.

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

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovlc: fix svg support
Samuel Martin [Sat, 8 Feb 2014 14:34:50 +0000 (15:34 +0100)]
vlc: fix svg support

In vlc, svg support is done using librsvg, not libsvg.

Fixes:
  http://autobuild.buildroot.org/results/344/344af6e756a5f2c1ee515a355ae5b288401c4c71/build-end.log
  http://autobuild.buildroot.org/results/19f/19f1450ed5453aa666bc7aae2e965ad81e5f845d/build-end.log

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoapf27: bump kernel version to 3.13.2
trem [Sat, 8 Feb 2014 10:56:24 +0000 (11:56 +0100)]
apf27: bump kernel version to 3.13.2

Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodefconfigs: zedboard add info about uboot installation
Spenser Gilliland [Fri, 7 Feb 2014 17:48:32 +0000 (11:48 -0600)]
defconfigs: zedboard add info about uboot installation

Add info about how to install a custom uboot on the zedboard.

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agojoe: needs mmu
Gustavo Zacarias [Fri, 7 Feb 2014 11:41:03 +0000 (08:41 -0300)]
joe: needs mmu

Fixes:
http://autobuild.buildroot.net/results/f92/f920c85244afffe38497459753bf005946001d0d/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agompd: fix vorbis build failure
Gustavo Zacarias [Fri, 7 Feb 2014 13:24:45 +0000 (10:24 -0300)]
mpd: fix vorbis build failure

Forcibly disable the vorbis encoder support when the vorbis option isn't
enabled to avoid autodetection.
Said autodetection has a build bug that it won't properly set libvorbis
build options when the decoder is disabled. Fixes:
http://autobuild.buildroot.net/results/a46/a46b4c97fe126b23a96051a8bf1243a7f4935434/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoRevert "opencv: cleanup depends and comments"
Peter Korsgaard [Thu, 6 Feb 2014 22:14:40 +0000 (23:14 +0100)]
Revert "opencv: cleanup depends and comments"

This reverts commit 5f7cbb264ec21f75320ad8518d27f4c605c825f8.

Buildroot policy is to keep the dependencies / comments for sub options in
case the package in the future no longer has those dependencies.

See http://lists.busybox.net/pipermail/buildroot/2014-February/088523.html
for details.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopen2300: fix build failure
Samuel Martin [Thu, 6 Feb 2014 20:49:36 +0000 (21:49 +0100)]
open2300: fix build failure

This patch fixes the open2300's build-system, which is a handwritten
Makefile, by removing the hard-coded include and library locations and
making them pointing to the systroot.

Fixes:
  http://autobuild.buildroot.org/results/072/0724ffa1355f5564b1fcd9d6e3c9ff2162d20f44/build-end.log

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouclibc/Config.in: indentation cleanup
Jerzy Grzegorek [Thu, 6 Feb 2014 14:06:22 +0000 (15:06 +0100)]
uclibc/Config.in: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agozedboard: add Avnet Zedboard support.
Spenser Gilliland [Thu, 6 Feb 2014 22:04:45 +0000 (23:04 +0100)]
zedboard: add Avnet Zedboard support.

[Thomas: update to recent Buildroot which had renamed several
Config.in options, lock down kernel headers version]

Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/weston: un-break the rpi-compositor
Yann E. MORIN [Thu, 6 Feb 2014 20:45:19 +0000 (21:45 +0100)]
package/weston: un-break the rpi-compositor

The rpi-compositor was broken with the 1.4.0 release,
but we now have a fix from upstream.

Add this patch, and remove the 'depends on BROKEN'.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agommc-utils: fix linux headers issue before 3-4
Ryan Barnett [Thu, 6 Feb 2014 21:55:22 +0000 (22:55 +0100)]
mmc-utils: fix linux headers issue before 3-4

With toolchains that include linux kernel headers before the 3.4 kernel,
an issue exists with linux/mmc/ioctl.h in that it doesn't include
linux/types.h.

Merged the patch with an existing patch for mmc-utils as it modifies
the same file and fixes similar issues. Also updated the patch to
conform to the buildroot patch naming standard.

Fixes:
  http://autobuild.buildroot.net/results/828/828c7a686736710c4fcb152230d0fa6b5f4d6ad3

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux: bump to version 3.13.2
Gustavo Zacarias [Thu, 6 Feb 2014 21:39:08 +0000 (18:39 -0300)]
linux: bump to version 3.13.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: bump 3.{4, 10, 12, 13}.x stable versions
Gustavo Zacarias [Thu, 6 Feb 2014 21:39:07 +0000 (18:39 -0300)]
linux-headers: bump 3.{4, 10, 12, 13}.x stable versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodependencies.sh: cleanup dependencies.sh
Maxime Hadjinlian [Wed, 5 Feb 2014 18:25:49 +0000 (19:25 +0100)]
dependencies.sh: cleanup dependencies.sh

Cleanup mixed indents and remove commented lines.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodependencies.sh: stop stray a.out being created for ia32 compiler test
Martin Bark [Tue, 4 Feb 2014 22:10:23 +0000 (22:10 +0000)]
dependencies.sh: stop stray a.out being created for ia32 compiler test

If the grub package is selected it also selects
BR2_HOSTARCH_NEEDS_IA32_COMPILER.  This triggers a test in dependencies.sh
to verify the host compiler can build 32 bit executables.  Currently this
test does not set any output for the compiler which causes a stray a.out
to be create outside the output directory.  This patch sets the compiler
output to /dev/null so no a.out is created but the test is still performed.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopencv: cleanup depends and comments
Samuel Martin [Wed, 5 Feb 2014 22:18:13 +0000 (23:18 +0100)]
opencv: cleanup depends and comments

Since the opencv package globally depends on BR2_TOOLCHAIN_HAS_THREADS
and BR2_USE_WCHAR, then cleanup these redundant (and useless)
dependencies in the opencv's sub-options.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopencv: need threads support
Samuel Martin [Wed, 5 Feb 2014 22:18:12 +0000 (23:18 +0100)]
opencv: need threads support

Because the opencv_core module needs threads support, just globally
disable the whole opencv package if the toolchain does not offer this
support.

Fixes:
  http://autobuild.buildroot.org/results/8dd/8dd1674674018a931ba09cc5b414c32360e51692/build-end.log

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogpm: needs bison
Peter Korsgaard [Wed, 5 Feb 2014 12:41:18 +0000 (13:41 +0100)]
gpm: needs bison

Fixes http://autobuild.buildroot.net/results/a4b/a4b473ae0a97fe79dbc30e6603f029f946c011fe/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: remove unused helper function pkgparentdir
Thomas De Schampheleire [Wed, 5 Feb 2014 09:44:04 +0000 (10:44 +0100)]
infra: remove unused helper function pkgparentdir

Thanks to the previous patches, no-one is using pkgparentdir anymore, so
remove it.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: remove unused 4th parameter to package infrastructures (pkgparentdir)
Thomas De Schampheleire [Wed, 5 Feb 2014 09:44:03 +0000 (10:44 +0100)]
infra: remove unused 4th parameter to package infrastructures (pkgparentdir)

The fourth parameter to inner-generic-package is no longer used. Removing
this parameters requires renaming all usages of $(5) to $(4), and updating
the calls to inner-generic-package (and equivalent for the other package
infrastructures).

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: remove usage of 4th parameter to inner-generic-package
Thomas De Schampheleire [Wed, 5 Feb 2014 09:44:02 +0000 (10:44 +0100)]
infra: remove usage of 4th parameter to inner-generic-package

In preparation of the removal of the 4th parameter to inner-generic-package
and the pkgparentdir helper function, this patch removes the direct usage of
this 4th parameter. The remaining usage
ifeq ($(4),boot/)
can become
$(filter boot/%,$(pkgdir))
instead (and similar for toolchain).

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: remove variable FOO_DIR_PREFIX
Thomas De Schampheleire [Wed, 5 Feb 2014 09:44:01 +0000 (10:44 +0100)]
infra: remove variable FOO_DIR_PREFIX

Variable FOO_DIR_PREFIX in inner-generic-package isn't really needed. The
contents of this variable are 'package' for normal packages, 'boot' for
bootloaders, and 'linux' for the linux kernel.
When patching a package, all you need to know is the directory where
patches can reside, which is already returned by $(pkgdir). In order to be
able to use this variable outside of inner-generic-package, we introduce a
target-specific variable PKGDIR that equals to this $(pkgdir).

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: remove redundant $(call) on pkgdir, pkgname, pkgparentdir
Thomas De Schampheleire [Wed, 5 Feb 2014 09:44:00 +0000 (10:44 +0100)]
infra: remove redundant $(call) on pkgdir, pkgname, pkgparentdir

When calling make 'functions', the $(call) keyword is only needed if the
function takes arguments. For pkgdir, pkgname and pkgparentdir this is not
the case, so we can remove the call to make things more readable.

Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoccache: replace BUILDROOT_CACHE_DIR with BR_CACHE_DIR.
Arnout Vandecappelle [Tue, 4 Feb 2014 15:18:50 +0000 (16:18 +0100)]
ccache: replace BUILDROOT_CACHE_DIR with BR_CACHE_DIR.

To make the naming consistent (qstripped variant of a config option
should be named BR_XXX).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch: remove sh2, sh3 and sh3eb support
Thomas Petazzoni [Tue, 4 Feb 2014 14:25:34 +0000 (15:25 +0100)]
arch: remove sh2, sh3 and sh3eb support

This patch removes the sh2, sh3 and sh3eb support, because the user
base is inexistent, and the Linux support for these architectures is
poor. The sh2a support is preserved, because at least one user
expressed interest in this architecture, and is actually using it:

  http://lists.busybox.net/pipermail/buildroot/2013-April/070399.html

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopus: allow to select fixed-point implementation
Sven Neumann [Wed, 5 Feb 2014 08:14:39 +0000 (09:14 +0100)]
opus: allow to select fixed-point implementation

The default of choosing the fixed-point implementation if
the target hardware does not have floating-point unit is not
always the best choice. Modern ARM hardware has floating
point support but most likely the fixed-point implementation
in Opus will still perform better. In particular if your CPU
supports the NEON extension.

This commit allows to select the fixed-point implementation
manually and sets the default based on the availability of
a floating-point unit.

[Peter: force option for sw float, slightly reword]
Signed-off-by: Sven Neumann <neumann@teufel.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouClibc: 0.9.33.2: revert pread/pwrite patches from upstream git
Peter Korsgaard [Wed, 5 Feb 2014 08:21:57 +0000 (09:21 +0100)]
uClibc: 0.9.33.2: revert pread/pwrite patches from upstream git

The pread/pwrite handling on the 0.9.33 branch doesn't take into
consideration architectures with an ABI requiring natural alignment for
64bit arguments (afaik ARM EABI, MIPS O32, PPC, SH and Xtensa), causing
havoc.

The issue has been brought with the uClibc developers, but so far a fix is
not available - So lets revert the patches for now as they cause real
issues.

For further details, see:

http://lists.busybox.net/pipermail/buildroot/2014-January/087050.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibsigsegv: disable for xtensa
Baruch Siach [Tue, 4 Feb 2014 18:41:44 +0000 (20:41 +0200)]
libsigsegv: disable for xtensa

The xtensa uClibc port does not provide the ucontext.h context manipulation
routines that libsigsegv needs.

Fixes:
http://autobuild.buildroot.net/results/06d/06d091f2ea8d08a900dd7304bab5eeeeb85f7353/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoiucode-tools: requires argp_standalone with uclibc toolchains
Gustavo Zacarias [Tue, 4 Feb 2014 18:01:09 +0000 (15:01 -0300)]
iucode-tools: requires argp_standalone with uclibc toolchains

Fixes:
http://autobuild.buildroot.net/results/3fc/3fc0b3f356efdebae4f7597a16d0d67f8bc4b76d/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoCHANGES: add issues resolved in 2014.02 cycle
Peter Korsgaard [Tue, 4 Feb 2014 18:58:15 +0000 (19:58 +0100)]
CHANGES: add issues resolved in 2014.02 cycle

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoStrip *.so* and not only executable files
Thomas Petazzoni [Tue, 4 Feb 2014 15:36:18 +0000 (16:36 +0100)]
Strip *.so* and not only executable files

Our current stripping strategy requires that shared libraries have the
executable permission. However, this is by far not something
recognized as a standard behavior: Debian/Ubuntu distributions for
example do not have executable permissions on their
libraries. Therefore, pushing to upstream packages fixes that add the
executable permissions is not easy.

As a result, this commit improves the stripping logic so that it not
only strips the files that are executable, but also the ones that
match '*.so*', which should match both the shared libraries and the
dlopen()'able plugins, as long as they have a .so extension.

Thanks to this addition, a number of manual "chmod +x" done by various
packages can be removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agognutls: fix libz autodetection failure
Antoine Pierlot-Garcin [Tue, 4 Feb 2014 14:57:43 +0000 (15:57 +0100)]
gnutls: fix libz autodetection failure

The configure script finds libz in the distribution libraries, which causes
zlib support to be dropped from the cross-compiled GnuTLS.

Signed-off-by: Antoine Pierlot-Garcin <antoine@bokbox.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoelf2flt: change source site
Ryan Barnett [Tue, 4 Feb 2014 16:32:13 +0000 (17:32 +0100)]
elf2flt: change source site

The CVS repository for this package is no longer available. So
changing the repository to be a mirror git repository.

Fixes:
  http://autobuild.buildroot.net/results/779/77997fd75282c355f6270b92371c161c9457d1dd

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoMakefile: also use ignore-times argument to rsync when copying rootfs overlays
Peter Korsgaard [Tue, 4 Feb 2014 16:55:33 +0000 (17:55 +0100)]
Makefile: also use ignore-times argument to rsync when copying rootfs overlays

Missed from previous patch.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoMakefile: change rsync used in overlays to always transfer files
Danomi Manchego [Sat, 8 Jun 2013 01:43:42 +0000 (21:43 -0400)]
Makefile: change rsync used in overlays to always transfer files

If two files with the same relative paths exist in multiple overlay
skeletons, and they have the same modification time and size, then rsync
might not copy the later file on top of the earlier file.  This patch fixes
this by adding the -I option to the rsync commands used in the overlay
skeleton file installations.  ("man rsync" indicates that this option turns
off the file-size/mod-date "quick check" behavior, causing all files to be
updated - more like the cp commands that we had originally.)

[Peter: use --ignore-times to make it obvious what the option does]
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoiucode-tools: new package
Maxime Hadjinlian [Tue, 4 Feb 2014 09:25:58 +0000 (10:25 +0100)]
iucode-tools: new package

iucode_tool is a program to manipulate Intel® X86 and X86-64 processor
microcode collections, and to use the kernel facilities to upgrade the
microcode on Intel system processors.
It was originally sent by Richard Braun <rbraun@sceen.net>

[Peter: drop 'sid' from upstream URL]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Richard Braun <rbraun@sceen.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoicu: detect and add compiler symbol prefix to the assembly code
Sonic Zhang [Tue, 4 Feb 2014 13:06:46 +0000 (14:06 +0100)]
icu: detect and add compiler symbol prefix to the assembly code

Some compilers, such as the Blackfin GNU compiler, prefix a character to any
C symbol in generated assembly code. If any assembly symbol is invoked
from C code, it needs to be prefixed as well.

Note: since autoreconf doesn't work with this package because automake
isn't used.

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

[Ryan: add information about why patching configure is ok]
[Ryan: add renaming of patches to be consistent with standard]

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agompg132: bump to version 1.18.0
Gustavo Zacarias [Tue, 4 Feb 2014 12:23:26 +0000 (09:23 -0300)]
mpg132: bump to version 1.18.0

Fixes a couple of buffer overflows so it should be considered as a
security bump (no CVEs though).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibyaml: add security patches for CVE-2013-6393
Gustavo Zacarias [Tue, 4 Feb 2014 12:03:04 +0000 (09:03 -0300)]
libyaml: add security patches for CVE-2013-6393

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouclibc: fix sh2a option definition
Thomas Petazzoni [Tue, 4 Feb 2014 14:18:23 +0000 (15:18 +0100)]
uclibc: fix sh2a option definition

The uClibc options for sh2a is SH2A, not SHA2, and this value should
be used for sh2a, not sh2.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoVLC needs QT_GUI_MODULE and not just QT
Jeremy Rosen [Tue, 4 Feb 2014 14:12:40 +0000 (15:12 +0100)]
VLC needs QT_GUI_MODULE and not just QT

fixes http://autobuild.buildroot.net/results/78d/78df2d86394d7637db88dac5d1e3c7b4a27af293/

Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibxmlpp: need BR2_USE_MMU dependancy
Ryan Barnett [Tue, 4 Feb 2014 14:18:47 +0000 (15:18 +0100)]
libxmlpp: need BR2_USE_MMU dependancy

Fixes:
  http://autobuild.buildroot.org/results/d4d/d4d10ddccf4f53087e2012a36fd80808f7dc7cc5/

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopkg-download: make sure git downloads fail for unknown versions
Thomas Petazzoni [Tue, 4 Feb 2014 13:36:56 +0000 (14:36 +0100)]
pkg-download: make sure git downloads fail for unknown versions

The current git download helper creates the tarball by doing:

    git archive <version> | gzip -c > <tarball>

Unfortunately, even if "git archive" fails and returns a non-zero
error code, gzip ignores that, compresses nothing, and returns success
(zero error code). The consequence of this behavior is that when the
git version provided in the package is incorrect, we are not failing
during the download step, but later on when trying to extract the
tarball (which was incorrectly created as a result of the failing git
archive).

To fix this, we change the tarball creation logic to:

   git archive -o <tarball>.tmp <version> &&
   gzip -c <tarball>.tmp > <tarball> &&
   rm -f <tarball>.tmp

If the build is interrupted during the "gzip" command, we may leave
the .tmp file behind us, but this also happens with wget downloads,
and is generally not considered a problem, since this temporary file
will be overwritten next time we attempt to do download this package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch: remove incorrect condition for endian definition on SuperH
Thomas Petazzoni [Tue, 4 Feb 2014 14:10:34 +0000 (15:10 +0100)]
arch: remove incorrect condition for endian definition on SuperH

Probably due to some copy/paste mistake, Config.in.sh was defining
BR2_ENDIAN to "LITTLE" when the architecture is BR2_x86_64. Due to the
fact that Config.in.sh is never included when we are building for
x86_64, this is a no-op, but is certainly good to clean up.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomtr: not available for avr32
Gustavo Zacarias [Tue, 4 Feb 2014 13:43:13 +0000 (10:43 -0300)]
mtr: not available for avr32

The uclibc version condition is accurate but doesn't cover external
toolchains, so also exclude for avr32 too which only has 0.9.31 enabled.
Fixes:
http://autobuild.buildroot.net/results/4ee/4eec6e29d0f2a46bbbe3a748e85bd06c3601b7c1/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqt5: Rename BUILDROOT_COMPILER_C{,XX}FLAGS to BR_COMPILER_C{,XX}FLAGS
Peter Korsgaard [Tue, 4 Feb 2014 14:10:03 +0000 (15:10 +0100)]
qt5: Rename BUILDROOT_COMPILER_C{,XX}FLAGS to BR_COMPILER_C{,XX}FLAGS

No functional change, but internal variables should be name BR_foo, not
BUILDROOT_foo (I think ..).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoRename BUILDROOT_LIBC to BR_LIBC
Peter Korsgaard [Tue, 4 Feb 2014 14:03:06 +0000 (15:03 +0100)]
Rename BUILDROOT_LIBC to BR_LIBC

No functional change, but internal variables should be name BR_foo, not
BUILDROOT_foo (I think ..).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoudpcast: drop stat64 handling
Peter Korsgaard [Tue, 4 Feb 2014 13:41:30 +0000 (14:41 +0100)]
udpcast: drop stat64 handling

udpcast was checking the (non-existing) BR_LARGEFILE variable to know if it
should enable stat64 or not, but the package itself depends on largefile
support and more importantly, configure doesn't look at this variable at
all, so we can just drop it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>