Thomas Petazzoni [Wed, 17 Jul 2013 20:30:48 +0000 (22:30 +0200)]
toolchain: check ARM EABI vs. EABIhf for external toolchains
Following the introduction of the support of EABIhf as a second ARM
ABI, it is important to check whether the external toolchain provided
by the user actually uses the ABI that has been selected in the
Buildroot configuration. This commit introduces such a check by
looking at the 'Tag_ABI_VFP_args' tag of the architecture-specific
section of the ELF headers. This assumes that ELF is the binary format
used on ARM, which may not be the case on ARM noMMU systems (they use
the FLAT binary format), but Buildroot doesn't have support for such
systems at the moment.
Also ensure the correct CFLAGS are passed to the cross compiler for the
test, so the correct variant is used in case the toolchain is multilib.
[Peter: mention CFLAGS change]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Wed, 17 Jul 2013 20:30:47 +0000 (22:30 +0200)]
toolchain/helpers: don't use the x$(...) = x"value" syntax
As noted by Yann E. Morin, the x$(...) = x"value" syntax is old and
ugly, and the easier to read "$(...)" = "value" can now be used
without problems.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Wed, 17 Jul 2013 07:37:36 +0000 (09:37 +0200)]
pkg-autotools.mk: also use QUIET for host configure runs
Similar to how we do it for target configure runs. For make -s invocations.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Wed, 17 Jul 2013 07:31:06 +0000 (09:31 +0200)]
gcc-final: ensure TARGET_DIR/usr/lib exists before copying to it
Got dropped in the toolchain/gcc -> package/gcc conversion.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Wed, 17 Jul 2013 00:32:45 +0000 (21:32 -0300)]
arch/arm: arm926 may have VFP
The VFP9-S FPU (VFPv2) is optional for ARM926EJ-S, see:
http://www.arm.com/products/processors/classic/arm9/arm926.php?tab=Specifications+
Real silicon:
http://www.nxp.com/documents/data_sheet/LPC3180.pdf
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 16 Jul 2013 08:03:19 +0000 (10:03 +0200)]
configs: use new EABIhf option for beaglebone_defconfig
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 16 Jul 2013 08:03:25 +0000 (10:03 +0200)]
arch: use tabs instead of spaces in Config.in files
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 16 Jul 2013 08:03:24 +0000 (10:03 +0200)]
uclibc: add Thumb2 fixes
This commit adds three patches to uClibc that are needed to make
Thumb2 support work properly:
uclibc-0006-arm-clone-restore-stack-pointer-just-after-return-fr.patch
uclibc-0007-arm-clone.S-Add-missing-IT-instruction-for-Thumb2.patch
uclibc-0008-arm-move-check-for-BX-to-its-own-header.patch
The first one is a necessary dependency of the second one. Both of
those patches have already been merged upstream, after 0.9.33.2. The
third one hasn't been merged upstream yet, but it has already been
submitted a while ago by Yann E. Morin, without receiving attention
from upstream.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 16 Jul 2013 08:03:23 +0000 (10:03 +0200)]
uclibc: use numbered patches for 0.9.33.2
In preparation to the addition of more patches that require a correct
ordering, rename uClibc 0.9.33.2 patches.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 16 Jul 2013 08:03:22 +0000 (10:03 +0200)]
arch/arm: add support for Thumb2
Until now, we were using the default ARM instruction set, as used by
the toolchain: the 32 bits ARM instruction set for the internal
backend, and for external toolchain, whatever default was chosen when
the toolchain was generated.
This commit adds support for the Thumb2 instruction set. To do so, it:
* provides a menuconfig choice between ARM and Thumb2. The choice is
only shown when Thumb2 is supported, i.e on ARMv7-A CPUs.
* passes the --with-mode={arm,thumb} option when building gcc in the
internal backend. This tells the compiler which type of
instructions it should generate.
* passes the m{arm,thumb} option in the external toolchain
wrapper. ARM and Thumb2 code can freely be mixed together, so the
fact that the C library has been built either ARM or Thumb2 and
that the rest of the code is built Thumb2 or ARM is not a problem.
[Peter: fix empty BR2_GCC_TARGET_MODE check]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 16 Jul 2013 08:03:21 +0000 (10:03 +0200)]
gcc: create symbolic link to ld-linux in EABIhf/gcc 4.7/eglibc
When using eglibc, the ld-linux loader is installed as
ld-linux-armhf.so.3, but gcc 4.7.x was not yet updated, and generates
binaries that reference ld-linux.so.3. This was fixed starting with
gcc 4.8.x. In order to be able to use gcc 4.7, we create the
appropriate symbolic link.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 16 Jul 2013 08:03:20 +0000 (10:03 +0200)]
toolchain-external: update config options after EABIhf introduction
The introduction of the EABIhf ABI requires a few updates to the
configuration options for external toolchains, in order to ensure that
the user doesn't do any invalid selection. In detail:
* The Linaro ARM toolchains now depend on BR2_ARM_EABIHF, because
that's the ABI they use, and it is incompatible with EABI. The
comment about the availability of Linaro toolchains is updated to
inform users selecting EABI that they should select EABIhf if they
want to see Linaro toolchains.
* The Sourcery CodeBench toolchains now depend on BR2_ARM_EABI,
because that's the ABI they use. A comment is added to inform users
that have selected EABIhf that Sourcery CodeBench are only
available when EABI is used.
* The Arago toolchains now depend on BR2_ARM_EABI, because that's the
ABI they use. The description of the ARMv7 Arago toolchain is also
slightly improved.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 16 Jul 2013 08:03:18 +0000 (10:03 +0200)]
configs: update defconfigs after VFP option changes
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 16 Jul 2013 08:03:17 +0000 (10:03 +0200)]
toolchain: remove the old BR2_VFP_FLOAT option
Now that we have a much better way of selecting between the various
VFP versions and capabilities, the BR2_VFP_FLOAT version no longer
makes sense. This commit gets rid of it, and adds the appropriate
Config.in.legacy code.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 16 Jul 2013 08:03:16 +0000 (10:03 +0200)]
gcc: take into account ARM floating point capabilities
The ARM EABIhf support was introduced in gcc 4.6.x, so versions
earlier than this one should not be used when EABIhf is selected.
The ARM VFPv4 support was introduced in gcc 4.5.x, so versions earlier
than this one should not be used when VFPv4 is used.
[Peter: drop OABI dependencies]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 16 Jul 2013 08:03:15 +0000 (10:03 +0200)]
binutils: exclude binutils versions that don't support EABIhf
The ARM EABIhf support was introduced in Binutils 2.22, so earlier
versions should not be selected when EABIhf is used.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 16 Jul 2013 08:03:14 +0000 (10:03 +0200)]
arch: improve ARM floating point support and add support for EABIhf
This commit introduces the support for the EABIhf ABI, next to the
existing support we have for EABI and OABI (even though OABI support
is deprecated). EABIhf allows to improve performance of floating point
workload by using floating point registers to transfer floating point
arguments when calling functions, instead of using integer registers
to do, as is done in the 'softfp' floating point model of EABI.
In addition to this, this commit introduces a list of options for the
floating point support:
* Software floating point
* VFP
* VFPv3
* VFPv3-D16
* VFPv4
* VFPv4-D16
and it introduces some logic to make sure the options are only visible
when it makes sense, depending on the ARM core being selected. This is
however made complicated by the fact that certain VFP capabilities are
mandatory on some cores, but optional on some other cores. The kconfig
logic tries to achieve the following goals:
* Hide options that are definitely not possible.
* Use safe default values (i.e for Cortex-A5 and A7, the presence of
the VFPv4 unit is optional, so we default on software floating
point on these cores)..
* Show the available possibilities, even if some of them are not
necessarily working on a particular core (again, for the Cortex-A5
and A7 cores, there is no way of knowing whether the particular
variant used by the user has VFPv4 or not, so we select software
floating point by default, but still show VFP/VFPv3/VFPv4 options).
It is worth noting that this commit doesn't add support for all
possible -mfpu= values on ARM. We haven't added support for fpa, fpe2,
fpe3, maverick (those four are only used on very old ARM cores), for
vfpv3-fp16, vfpv3-d16-fp16, vfpv3xd, vfpv3xd-fp16, neon-fp16,
vfpv4-sp-d16. They can be added quite easily if needed thanks to the
new organization of the Config.in options.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 16 Jul 2013 08:03:13 +0000 (10:03 +0200)]
arch: Refactor BR2_SOFT_FLOAT into per-architecture options
As we are going to introduced a more advanced support of floating
point options for the ARM architecture, we need to adjust how the
soft-float option is handled. We replace the current hidden option
BR2_PREFER_SOFT_FLOAT option and the visible BR2_SOFT_FLOAT option by:
* A global hidden BR2_SOFT_FLOAT option, defined in arch/Config.in,
that tells whether the architecture-specific code is using software
emulated floating point. This hidden option can be used throughout
Buildroot to determine whether soft float is used or not.
* Per-architecture visible BR2_<arch>_SOFT_FLOAT options, for the
architecture for which it makes sense, which allows users to select
soft float emulation when needed.
This change will allow each architecture to have a different way of
presenting its floating point capabilities.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Tue, 16 Jul 2013 08:03:12 +0000 (10:03 +0200)]
arch: introduce BR2_GCC_TARGET_{FPU, FLOAT_ABI}
Buildroot already has the BR2_GCC_TARGET_{TUNE,ARCH,ABI,CPU} hidden
kconfig strings that allow per-architecture Config.in files to feed
the appropriate values of --with-{tune,arch,abi-cpu} when building
gcc, or the appropriate flags for the external toolchain wrapper.
This commit has two additional options:
BR2_GCC_TARGET_{FPU,FLOAT_ABI}, that allows to define the
--with-{fpu,float} gcc configure options for the internal backend, or
the -m{fpu,float-abi} options for the flags of the external toolchain
wrapper.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Spenser Gilliland [Mon, 15 Jul 2013 21:44:20 +0000 (16:44 -0500)]
qt: add powervr and opengl
Use the following to test:
/usr/share/qt/examples/opengl/hellogl_es2/hellogl_es2 -qws -display powervr
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Sundareson, Prabindh <prabu@ti.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Sinan Akpolat <sinan@linkas.com.tr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Spenser Gilliland [Mon, 15 Jul 2013 21:44:19 +0000 (16:44 -0500)]
ti-gfx: add new package
adds accelerated GPU support for the OMAP35xx, AM35xx, AM37xx, DM37xx,
AM387x, DM814x, AM389x, DM816x, and AM335x platforms.
[Peter: fix .pc files install]
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Sundareson, Prabindh <prabu@ti.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Sinan Akpolat <sinan@linkas.com.tr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Spenser Gilliland [Mon, 15 Jul 2013 21:44:18 +0000 (16:44 -0500)]
powervr: add powervr virtual package
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Sundareson, Prabindh <prabu@ti.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Sinan Akpolat <sinan@linkas.com.tr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Carsten Schoenert [Mon, 15 Jul 2013 19:52:38 +0000 (21:52 +0200)]
package/libsvg-cairo: new package
Libsvg-cairo provides the ability to render SVG content from files or
buffers. All rendering is performed using the cairo rendering library.
[Peter: license is LGPLv2.1+]
Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Mon, 15 Jul 2013 14:19:17 +0000 (11:19 -0300)]
ed: bump to version 1.9
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Mon, 15 Jul 2013 14:19:16 +0000 (11:19 -0300)]
gnutls: bump to version 3.2.2
Closes bug #6374
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Mon, 15 Jul 2013 14:19:15 +0000 (11:19 -0300)]
nettle: bump to version 2.7.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Mon, 15 Jul 2013 14:19:14 +0000 (11:19 -0300)]
collectd: bump to version 5.3.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Mon, 15 Jul 2013 14:19:13 +0000 (11:19 -0300)]
libidn: bump to version 1.28
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Mon, 15 Jul 2013 14:19:12 +0000 (11:19 -0300)]
gettext: bump to version 0.18.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Mon, 15 Jul 2013 14:19:11 +0000 (11:19 -0300)]
squid: bump to version 3.3.6
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Mischa Jonker [Mon, 15 Jul 2013 12:39:22 +0000 (14:39 +0200)]
libosip2: arc: Undefine __arc__ when building for ARC processors
libosip2 appears to have support for the "ARC standard" (Advanced
RISC Computing), which is unrelated to Synopsys DesignWare ARC
processors. The check for this involves verifying the existence of
the "__arc__" macro. Unfortunately, this macro is also present
as a predefined built-in for the ARC processors, resulting into
build failures.
[Peter: add short comment in .mk files as well]
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Mischa Jonker [Mon, 15 Jul 2013 11:48:11 +0000 (13:48 +0200)]
uclibc: arc: add patch to fix strcmp/index susv3 legacy
This fixes build errors for 'keyutils'
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yann E. MORIN [Sat, 13 Jul 2013 22:27:34 +0000 (00:27 +0200)]
package/uClibc: drop ARM EABI conditions
... since we now only support EABI for ARM, we only need to
force EABI unconditionally.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yann E. MORIN [Sat, 13 Jul 2013 22:27:33 +0000 (00:27 +0200)]
package/owl-linux: drop check for EABI
... since we only support EABI now.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yann E. MORIN [Sat, 13 Jul 2013 22:27:32 +0000 (00:27 +0200)]
toolchain/helpers: only check for an EABI toolchain
... since we only support EABI now.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yann E. MORIN [Sat, 13 Jul 2013 22:27:31 +0000 (00:27 +0200)]
pkg-infra: dump all ARM OABI references when setting ABI
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yann E. MORIN [Sat, 13 Jul 2013 22:27:30 +0000 (00:27 +0200)]
linux: remove EABI conditional
We're only EABI now, so we want to always build an EABI kernel
when we're building for ARM.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yann E. MORIN [Sat, 13 Jul 2013 22:27:29 +0000 (00:27 +0200)]
toolchain/helpers: ARM OABI is no longer supported
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yann E. MORIN [Sat, 13 Jul 2013 22:27:28 +0000 (00:27 +0200)]
package/uclibc: ARM OABI is no longer supported
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yann E. MORIN [Sat, 13 Jul 2013 22:27:27 +0000 (00:27 +0200)]
arch/arm: remove setting gcc's apcs-gnu ABI (aka OABI)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yann E. MORIN [Sat, 13 Jul 2013 22:27:26 +0000 (00:27 +0200)]
arch/arm: remove OABI option
OABI is more than legacy, it's dead.
New developments should go with EABI, since it so much better.
>From the Debian EABI page [0] :
- floating point performance, with or without an FPU is very much faster
- mixing soft and hardfloat code is possible
- structure packing is not as painful as it used to be
- a more efficient syscall convention
- more compatibility with various tools
[0] http://wiki.debian.org/ArmEabiPort
[Thomas: keep the ABI choice, as we are going to introduce EABIhf later].
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yann E. MORIN [Sat, 13 Jul 2013 22:27:25 +0000 (00:27 +0200)]
package/uclibc: fix indentation (use tabs, not spaces)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sat, 13 Jul 2013 22:27:24 +0000 (00:27 +0200)]
gcc: use BR2_EXTRA_GCC_CONFIG_OPTIONS in gcc-initial and gcc-intermediate
When refactoring the internal toolchain backend logic, the code was
changed to pass the custom configure options given through
BR2_EXTRA_GCC_CONFIG_OPTIONS only for the gcc final pass, with the
idea that we're only interested by user customization for the final
compiler.
However, the beaglebone_defconfig was passing --with-float=hard
--with-fpu=vfpv3-d16 as BR2_EXTRA_GCC_CONFIG_OPTIONS, and since the
refactoring, it was causing build failures of the beaglebone_defconfig
(with messages saying that Busybox is built to use VFP arguments, but
libc/libm are not). This is due to the fact that the gcc intermediate,
which is used to build the C library, wasn't built to generate hard
float, while the final compiler was generating hard float.
So, we get back to the original situation where the options in
BR2_EXTRA_GCC_CONFIG_OPTIONS are passed to all of the compiler
passes. Of course, the specific case of hard float will be fixed by
following patches in this area, but the idea still remains: the three
gcc should have the same options, if those options affected the ABI of
the generated code.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Sun, 14 Jul 2013 19:47:33 +0000 (21:47 +0200)]
gstreamer1/gst1-*: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Sun, 14 Jul 2013 01:23:51 +0000 (22:23 -0300)]
linux: bump 3.10.x stable version
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Sun, 14 Jul 2013 01:23:50 +0000 (22:23 -0300)]
linux-headers: bump 3.{0, 2, 4, 9, 10}.x stable versions
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Fri, 12 Jul 2013 11:34:45 +0000 (08:34 -0300)]
usbutils: bump to version 007
[Peter: move entire USBUTILS_REMOVE_PYTHON handling inside conditional]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Sat, 13 Jul 2013 19:34:47 +0000 (21:34 +0200)]
opus: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
gilles.talis@gmail.com [Thu, 11 Jul 2013 23:46:10 +0000 (16:46 -0700)]
fdk-aac: new package
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Fri, 12 Jul 2013 00:58:55 +0000 (21:58 -0300)]
nodejs: not supported on old ARM cores
nodejs needs the ARM blx instruction which is only supported in v5t+
cores (v5 ISA with thumb instructions).
Disable it for lower cores. Fixes:
http://autobuild.buildroot.net/results/89e/
89ee5ba047a26a8c7a612d0285b08780b70efbd4/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 11 Jul 2013 18:28:10 +0000 (15:28 -0300)]
php: security bump to version 5.3.27
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 11 Jul 2013 15:40:15 +0000 (12:40 -0300)]
cifs-utils: bump to version 6.1
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 11 Jul 2013 14:37:33 +0000 (11:37 -0300)]
Makefile: unexport RUBYOPT
On Gentoo systems with ruby installed RUBYOPT is set and causes build
breakage for some packages that needs host-ruby (example: webkit).
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Fri, 12 Jul 2013 08:26:11 +0000 (10:26 +0200)]
erlang: add upstream URL
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Fri, 12 Jul 2013 08:25:37 +0000 (10:25 +0200)]
erlang: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Mon, 8 Jul 2013 15:59:45 +0000 (17:59 +0200)]
gcc: remove BR2_GCC_SHARED_LIBGCC option
Commit
6b48b4803450 ("add a know to enable/disable building a shared
libgcc"), from october 2006, isn't really as to why a
BR2_GCC_SHARED_LIBGCC option was needed. However, now that gcc has
been converted to the package infrastructure, it causes problems
because the host packages are always being passed --enable-shared
--disable-static, so re-adding --disable-shared on top of that break
things.
Moreover, our tests indicate that both a shared *and* a static version
of libgcc are built, and that linking dynamically and statically a
program that uses libgcc_s gives correct results: dynamically linked
against libgcc_s in the first case, statically linked in the second
case.
Therefore, it appears that this option is no longer necessary, and
removing it has the advantage of fixing the builds of
qemu_mips64_malta_defconfig and qemu_sparc_ss10_defconfig, both of
which had BR2_GCC_SHARED_LIBGCC not enabled.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Thu, 11 Jul 2013 13:09:08 +0000 (15:09 +0200)]
minidlna: fix linking with libintl if present
Fixes http://autobuild.buildroot.net/results/3b7/
3b71243716dc193a11508a69265cdd0120bd13ed
There's unfortunately not any easy way of adding extra libraries to LIBS,
so we need to list them all here.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 11 Jul 2013 10:40:25 +0000 (07:40 -0300)]
jquery-sparkline: bump to version 2.1.2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 11 Jul 2013 10:40:24 +0000 (07:40 -0300)]
jquery: bump to version 1.10.2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Wed, 10 Jul 2013 21:29:19 +0000 (23:29 +0200)]
toolchain-external: fix bfin external toolchain download
Fixes http://autobuild.buildroot.org/results/7d0/
7d0eee796407880a4554474e5affbe98b8caa271/
Commit
1cbffbd (eliminate double slashes caused by FOO_SITE ending in
a slash) added a double replacement for the special bfin external
toolchain download, breaking it.
Fix it by removing the 2nd replacement.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Simon Dawson [Mon, 6 May 2013 07:13:10 +0000 (08:13 +0100)]
minidlna: new package
[Peter: license is GPLv2, fix license file, drop unneeded standard include]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
gilles.talis@gmail.com [Wed, 10 Jul 2013 17:25:50 +0000 (10:25 -0700)]
inadyn: define license
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
gilles.talis@gmail.com [Wed, 10 Jul 2013 17:25:49 +0000 (10:25 -0700)]
ushare: define license
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
gilles.talis@gmail.com [Wed, 10 Jul 2013 17:25:48 +0000 (10:25 -0700)]
sdl_net: define license
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
gilles.talis@gmail.com [Wed, 10 Jul 2013 17:25:47 +0000 (10:25 -0700)]
ramspeed: define license
[Peter: fix license file name]
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
gilles.talis@gmail.com [Wed, 10 Jul 2013 17:25:46 +0000 (10:25 -0700)]
ramsmp: define license
[Peter: fix license file name]
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
gilles.talis@gmail.com [Wed, 10 Jul 2013 17:25:45 +0000 (10:25 -0700)]
libusb-compat: define license
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
gilles.talis@gmail.com [Wed, 10 Jul 2013 17:25:44 +0000 (10:25 -0700)]
libupnp: define license
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
gilles.talis@gmail.com [Wed, 10 Jul 2013 17:25:43 +0000 (10:25 -0700)]
libtheora: define license
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
gilles.talis@gmail.com [Wed, 10 Jul 2013 17:25:42 +0000 (10:25 -0700)]
libelf: define license
[Peter: license is LGPLv2+]
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
gilles.talis@gmail.com [Wed, 10 Jul 2013 17:25:41 +0000 (10:25 -0700)]
json-c: define license
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
gilles.talis@gmail.com [Wed, 10 Jul 2013 17:25:40 +0000 (10:25 -0700)]
jimtcl: define license
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Wed, 10 Jul 2013 12:53:12 +0000 (09:53 -0300)]
classpath: add config.rpath
Add config.rpath from upstream CVS to avoid autoreconf errors. Fixes:
http://autobuild.buildroot.net/results/e88/
e88b77b28e9a0f1d2960aaa782ec0cbfd4e5e451/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Wed, 10 Jul 2013 18:39:18 +0000 (15:39 -0300)]
python3: remove smtpd.py.3 sample
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Wed, 10 Jul 2013 18:39:17 +0000 (15:39 -0300)]
python: remove idle sample
Also move smtpd.py removal to the global remove useless files define.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Wed, 10 Jul 2013 18:39:16 +0000 (15:39 -0300)]
python external modules: reorder menu entry
Reorder the external python modules menu entry so that it belongs under
python(2) and not under python3 to avoid confusion.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Mischa Jonker [Wed, 10 Jul 2013 09:25:51 +0000 (11:25 +0200)]
uclibc: arc: add patch that adds __kernel_(u)long
This adds a patch that adds the __kernel_long and __kernel_ulong types to
uClibc. This fixes the build failure with Linux 3.10 headers.
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yann E. MORIN [Tue, 9 Jul 2013 22:00:31 +0000 (00:00 +0200)]
system: add option to pass extra args to post-build and post-image scripts
It can be useful to have different configuration use the same post-build
and/or post-image scripts as they share a common infrastructure, but yet
have minor differentiation.
This option allows passing zero or more additional arguments to each
post-build or post-image script.
The same set of extra arguments are passed to all scripts, it is not
possible to pass different arguments to each script.
[Peter: fix help text, post-image gets called with the images dir]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gilles Talis [Wed, 10 Jul 2013 02:38:08 +0000 (19:38 -0700)]
mongrel2: needs threads
mongrel2 uses zeromq that needs threads
Fixes: http://autobuild.buildroot.org/results/93d/93da58453e1ca0cc491170976cfbdeb8bee5c648
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Peter Korsgaard [Tue, 9 Jul 2013 21:22:08 +0000 (23:22 +0200)]
gst-plugins-good: fix v4l2 related build error with new (3.9+) kernel headers
Fix from gstreamer git.
Fixes http://autobuild.buildroot.net/results/e2b/
e2b1c5219676c7d033353b7bd8273440c40dcf49/
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Fabio Porcedda [Tue, 9 Jul 2013 08:19:54 +0000 (10:19 +0200)]
barebox: bump to version 2013.07.0
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Mon, 8 Jul 2013 15:59:53 +0000 (17:59 +0200)]
toolchain: disable C++ support on AVR32 gcc 4.2 with uClibc
In
25c3160092d7 ("uClibc 0.9.31: remove stray kludges/conditions"), a
conditional that prevents the combination gcc 4.2-avr / C++ / locale
with uClibc 0.9.31 was removed. However, it turns out that the same
problem is affecting uClibc 0.9.33, described at
http://comments.gmane.org/gmane.comp.lib.uclibc.buildroot/24260.
Therefore, we prevent the combination of gcc 4.2-avr / C++ / locale to
happen.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Jan Viktorin [Mon, 8 Jul 2013 14:08:18 +0000 (16:08 +0200)]
Make the microblaze toolchains easily distinguishable
It was confusing to have two different toolchains with the
same label.
Signed-off-by: Jan Viktorin <xvikto03@stud.fit.vutbr.cz>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
gilles.talis@gmail.com [Fri, 5 Jul 2013 02:18:00 +0000 (19:18 -0700)]
ocrad: new package
GNU Ocrad is an OCR (Optical Character Recognition) program
based on a feature extraction method.
It reads images in pbm (bitmap), pgm (greyscale) or ppm (color) formats
and produces text in byte (8-bit) or UTF-8 formats.
[Peter: fixup whitespace, install into STAGING_DIR, use make install, BR2_GNU_MIRROR]
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Simon Dawson [Thu, 4 Jul 2013 16:45:12 +0000 (17:45 +0100)]
sconeserver: upstream has moved to GitHub
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Kelvin Cheung [Fri, 28 Jun 2013 10:40:26 +0000 (18:40 +0800)]
ramspeed/smp: new package
Add new package: ramspeed/smp
RAMspeed/SMP, a cache and memory benchmarking tool
(for multiprocessor machines running UNIX-like operating systems)
Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Valentine Barshak [Tue, 9 Oct 2012 23:34:56 +0000 (03:34 +0400)]
linux: Do not force GZIP initramfs compression
Initramfs compression does not make much sense for the architectures
that support compressed kernel images because in this case the data
would be compressed twice. This will eventually result in a bigger
kernel image and time overhead when uncompressing it.
The only reason to use compressed initramfs is to reduce memory
usage when the kernel prepares rootfs, and both the unpacked
filesystem and initramfs.cpio are present in the memory.
Buildroot attempts to force GZIP compression for initramfs,
however it doesn't always work because initramfs compression mode
depends on RAM disk compression supported by the kernel.
Thus, CONFIG_INITRAMFS_COMPRESSION_GZIP depends on CONFIG_RD_GZIP.
If CONFIG_RD_GZIP is not set, setting GZIP initramfs compression
will have no effect.
Besides, the kernel also supports other compression methods,
like BZIP2, LZMA, XZ and LZO. Forcing the good old GZIP does not
really make much sense any more.
This removes initramfs compression settings from Buildroot,
so that the default value preset in the kernel config is used,
which is CONFIG_INITRAMFS_COMPRESSION_NONE.
If initramfs compression is still needed, it can be set
in the kernel config (using make linux-menuconfig)
Signed-off-by: Valentine Barshak <gvaxon@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Mon, 8 Jul 2013 12:34:22 +0000 (09:34 -0300)]
website: remove dead udhcp link
The udhcp.busybox.net site is gone, it's now pointing to bugzilla.
udhcp has been a part of busybox for some time now.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Sun, 7 Jul 2013 22:34:07 +0000 (19:34 -0300)]
configs/qemu: bump relevant config versions
While at it add the missing network interfaces to configurations that
support it.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Mon, 8 Jul 2013 06:14:53 +0000 (08:14 +0200)]
elf2flt: needs to link with zlib
Got dropped by the move to packages/.
Fixes http://autobuild.buildroot.net/results/bb7/
bb7b2c0bb23e0ab6e148a1e690b2c0827135ff55/
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 4 Jul 2013 16:18:32 +0000 (13:18 -0300)]
classpath: fix alsa-related build failure
Classpath requires sequencer support besides pcm support. Fixes:
http://autobuild.buildroot.org/results/2bd/
2bd39ffa821bc02d64998bc9e8fe178d3741a1d8/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 4 Jul 2013 15:59:31 +0000 (12:59 -0300)]
classpath: fix build errors with gmp support
gmp support has a hardcoded /usr/include include PATH which causes
breakage when there is a distribution gmp with development headers
installed. Fixes:
http://autobuild.buildroot.net/results/849/
8497648c0b21390782eecc5b4aa91281bcf58ad6/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gregory Hermant [Thu, 4 Jul 2013 12:47:16 +0000 (14:47 +0200)]
snowball: fix download URL
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 4 Jul 2013 18:31:36 +0000 (15:31 -0300)]
linux: default to version 3.10
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 4 Jul 2013 18:31:35 +0000 (15:31 -0300)]
linux-headers: add 3.10.x series
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Gustavo Zacarias [Thu, 4 Jul 2013 18:31:34 +0000 (15:31 -0300)]
uclibc: add upstream patch for 3.10+ headers
Add uClibc upstream patch to support __kernel_long and __kernel_ulong
datatypes as used by kernel headers 3.10+
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard [Sun, 7 Jul 2013 20:47:04 +0000 (22:47 +0200)]
gcc: re-add upstream URL for arc specific gcc variant
Got dropped in the gcc -> packages work.
Fixes http://autobuild.buildroot.net/results/08e/
08e8149c9889141d644896e1fd3e0d2f14299033/
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Yann E. MORIN [Sun, 7 Jul 2013 16:13:53 +0000 (18:13 +0200)]
package/tvheadend: bump version
... for a truck-load of memory-leak and other various fixes.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 7 Jul 2013 15:07:24 +0000 (17:07 +0200)]
enlightenment: bump to 0.17.3
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Thomas Petazzoni [Sun, 7 Jul 2013 15:07:23 +0000 (17:07 +0200)]
efl: bump to version 1.7.7
The package/efl/libevas/libevas-fix-xcb-backend-typo.patch patch is
removed, as it has been merged upstream.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>