buildroot.git
10 years agoopenssh: add license information
Ryan Barnett [Tue, 6 May 2014 15:42:38 +0000 (10:42 -0500)]
openssh: add license information

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomemstat: add license information
Ryan Barnett [Tue, 6 May 2014 15:42:37 +0000 (10:42 -0500)]
memstat: add license information

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodsp-tools: add license information
Ryan Barnett [Tue, 6 May 2014 15:42:36 +0000 (10:42 -0500)]
dsp-tools: add license information

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopopt: fix build issue due to glob functions on Blackfin
Thomas Petazzoni [Tue, 6 May 2014 18:59:50 +0000 (20:59 +0200)]
popt: fix build issue due to glob functions on Blackfin

While the Blackfin external uClibc toolchains have <glob.h>, they
don't implement all the functions needed by popt, causing build
failures. One solution would have been to disable popt with such
toolchains, but this would have meant propagating this additional
dependency to the numerous reverse dependencies of popt. Instead, this
commit chooses to make popt build on Blackfin external toolchains by
disabling the usage of <glob.h> functions altogether.

Fixes:

  http://autobuild.buildroot.org/results/bfc/bfcb2ed27debafc584e133f5ae11ad2061ad2b16/build-end.log
  http://autobuild.buildroot.org/results/410/410c8f3a0c7ca2c7098a47c30088038411635ae4/build-end.log

and gazillion of similar failures.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux: bump to version 3.14.3
Gustavo Zacarias [Tue, 6 May 2014 16:37:42 +0000 (13:37 -0300)]
linux: bump to version 3.14.3

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,14}.x series
Gustavo Zacarias [Tue, 6 May 2014 16:37:41 +0000 (13:37 -0300)]
linux-headers: bump 3.{4,10,14}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoclapack: Disable for MIPS platforms
Vicente Olivert Riera [Tue, 6 May 2014 12:47:31 +0000 (13:47 +0100)]
clapack: Disable for MIPS platforms

Disable this package for MIPS because it needs IRIX headers and
libraries.

Fixes:
   http://autobuild.buildroot.net/results/370/370f964441722675820c644403dde7fbc683a315/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Markos Chandras <Markos.Chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonftables: disable dblatex check
Yegor Yefremov [Tue, 6 May 2014 10:59:45 +0000 (12:59 +0200)]
nftables: disable dblatex check

On the systems with old dblatex (for example 3.0) the build step will
fail, because dblatex doesn't support '-q' parameter. This patch
overrides dblatex check.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain/gcc: musl is not available for gcc 4.3.x either
Gustavo Zacarias [Tue, 6 May 2014 12:47:39 +0000 (09:47 -0300)]
toolchain/gcc: musl is not available for gcc 4.3.x either

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain/buildroot: default to uClibc
Gustavo Zacarias [Tue, 6 May 2014 10:42:44 +0000 (07:42 -0300)]
toolchain/buildroot: default to uClibc

Otherwise we're getting musl for everything except those who have a
default (mips64*).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain-external: add publicly available musl toolchains
Thomas Petazzoni [Mon, 5 May 2014 21:17:10 +0000 (23:17 +0200)]
toolchain-external: add publicly available musl toolchains

This commit adds ten toolchains based on the musl C library that are
publicly available from the musl-cross project.

[Peter: fix ppc prefix, only for classic ABI]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: disable libsanitizer for musl
Thomas Petazzoni [Mon, 5 May 2014 21:17:09 +0000 (23:17 +0200)]
gcc: disable libsanitizer for musl

A build issue affects libsanitizer on musl toolchains, even with
previous versions of gcc such as 4.8.x, so we disable building
libsanitizer when working with musl.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain-buildroot: add support for building musl toolchains
Thomas Petazzoni [Mon, 5 May 2014 21:17:08 +0000 (23:17 +0200)]
toolchain-buildroot: add support for building musl toolchains

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobusybox: allow build with musl
Thomas Petazzoni [Mon, 5 May 2014 21:17:07 +0000 (23:17 +0200)]
busybox: allow build with musl

The musl C library does not yet implemented the getpwent_r() function,
needed by the Busybox password code when CONFIG_USE_BB_PWD_GRP is
disabled. So we enable it when the musl C library is used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage: add support for musl in tuple
Thomas Petazzoni [Mon, 5 May 2014 21:17:06 +0000 (23:17 +0200)]
package: add support for musl in tuple

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: musl patches only available for gcc 4.7+
Thomas Petazzoni [Mon, 5 May 2014 21:17:05 +0000 (23:17 +0200)]
gcc: musl patches only available for gcc 4.7+

For the moment, the musl support is not in mainline gcc, so it
requires a few patches. We have integrated those patches only for gcc
4.7 and gcc 4.8 at the moment, so only allow those gcc versions when
the musl library is selected.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: add musl support patch to gcc 4.9.0
Thomas Petazzoni [Mon, 5 May 2014 21:17:04 +0000 (23:17 +0200)]
gcc: add musl support patch to gcc 4.9.0

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: add musl support patch to gcc 4.8.2
Thomas Petazzoni [Mon, 5 May 2014 21:17:03 +0000 (23:17 +0200)]
gcc: add musl support patch to gcc 4.8.2

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: add musl support patch for gcc 4.7.3
Thomas Petazzoni [Mon, 5 May 2014 21:17:02 +0000 (23:17 +0200)]
gcc: add musl support patch for gcc 4.7.3

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomusl: new package
Thomas Petazzoni [Mon, 5 May 2014 21:17:01 +0000 (23:17 +0200)]
musl: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogithub packages: use tarball download via github helper iso git clone
Thomas De Schampheleire [Mon, 5 May 2014 17:20:33 +0000 (19:20 +0200)]
github packages: use tarball download via github helper iso git clone

Tarball download from github is preferred, because:
- download size is smaller
- git clone may be blocked in some corporate environments

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoperf: Fix compilation without libelf for post-3.10 kernels
Peter Meerwald [Sat, 5 Apr 2014 12:51:02 +0000 (14:51 +0200)]
perf: Fix compilation without libelf for post-3.10 kernels

kernel commit cf4cca10 (perf tools: Move libelf check config into config/Makefile)
removes the NO_LIBELF check from the top-level Makefile

for newer kernels, if config/Makefile exists, we can assume that NO_LIBELF is
also there

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolcdproc: bump version to 0.5.7
Simon Dawson [Mon, 5 May 2014 17:22:35 +0000 (18:22 +0100)]
lcdproc: bump version to 0.5.7

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodocs/manual: document how to use the cross debugger
Thomas Petazzoni [Mon, 5 May 2014 09:25:51 +0000 (11:25 +0200)]
docs/manual: document how to use the cross debugger

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[ThomasDS: some rewording, add <buildroot> path prefix in example]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain: generate a gdbinit file
Thomas Petazzoni [Mon, 5 May 2014 09:25:50 +0000 (11:25 +0200)]
toolchain: generate a gdbinit file

This commit slightly improves the external toolchain backend, and the
gdb build logic to create a file named
$(STAGING_DIR)/usr/share/buildroot/gdbinit which can be used as a
gdbinit file using gdb -x option. This allows gdb to automatically use
the proper sysroot to find libraries.

The initial insight for this patch comes from the report of Oded
Hanson <OHanson@xsightsys.com>, who found an issue with the Eclipse
Buildroot plugin, which was setting a solib-path in gdb, but not a
sysroot. Setting a solib-path was enough to find shared libraries, but
not the dynamic linker. And since Eclipse doesn't allow to set the
sysroot in any other way than giving a gdbinit file, it makes sense to
have Buildroot generate a gdbinit file (which can be used in other
situations than Eclipse).

To achieve this, this commit introduces a gen_gdbinit_file helper in
toolchain/helpers.mk, and uses it for the internal toolchain and
external toolchain backends.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[ThomasDS: minor updates in commit message]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoczmq: needs MMU
Baruch Siach [Mon, 5 May 2014 03:58:03 +0000 (06:58 +0300)]
czmq: needs MMU

Fixes:
http://autobuild.buildroot.net/results/6dd/6dd6954e5ab8c422070e53b0e616e1b1a821c626/

Also, remove the Blackfin toolchain dependencies as these are redundant now
since Blackfin is a noMMU arch.

[Peter: propagate to filemq as well]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocups: move localstatedir from /usr/var to /var
Danomi Manchego [Wed, 23 Apr 2014 00:49:09 +0000 (20:49 -0400)]
cups: move localstatedir from /usr/var to /var

Prior to commit f64a1b850fc897357040bb4c58b6e5e50e71e094 ("cups:
convert to autotargets"), cups was explicitely configured to
put its modifiable single-machine data under /var.  After that
commit, the --localstatedir was not specified, so it remained at
it's default value, "PREFIX/var" - making cups use "/usr/var".

Using /var to store state files seems preferable to /usr/var,
as /usr might be read-only on some systems.  This patch
re-introduces the --localstatedir specification to build cups
to use /var.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarmadillo: new package
Samuel Martin [Tue, 22 Apr 2014 23:15:35 +0000 (01:15 +0200)]
armadillo: new package

Armadillo is a C++ linear algebra library.

[Peter: needs largefile, sort Config.in alphabetically]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/tz: install missing files
Yann E. MORIN [Sun, 4 May 2014 16:01:28 +0000 (18:01 +0200)]
package/tz: install missing files

As for the tzdata package, install the missing files:
  - zone.tab   : {country-code,coordinates,timezone} tuples
  - iso3166.tab: {country-code,country} tuples

Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/tzdata: install missing files
Yann E. MORIN [Sun, 4 May 2014 16:01:27 +0000 (18:01 +0200)]
package/tzdata: install missing files

Install two additional files:
  - zone.tab   : {country-code,coordinates,timezone} tuples
  - iso3166.tab: {country-code,country} tuples

[Peter: simplify copy handling]
Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agortmpdump: bump version
Bernd Kuhls [Sun, 4 May 2014 15:52:17 +0000 (17:52 +0200)]
rtmpdump: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibmicrohttpd: Fix cross compilation broken since 0.9.35
Bernd Kuhls [Sun, 4 May 2014 09:04:40 +0000 (11:04 +0200)]
libmicrohttpd: Fix cross compilation broken since 0.9.35

Fixes http://autobuild.buildroot.net/results/cb2/cb2cec1295a40667a3c21060864dd0e65a312c3e

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agophp: bump to version 5.5.12
Gustavo Zacarias [Sun, 4 May 2014 11:42:26 +0000 (08:42 -0300)]
php: bump to version 5.5.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosquid: bump to version 3.4.5
Gustavo Zacarias [Sun, 4 May 2014 11:42:25 +0000 (08:42 -0300)]
squid: bump to version 3.4.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibfribidi: bump version
Maxime Hadjinlian [Sun, 4 May 2014 15:03:14 +0000 (17:03 +0200)]
libfribidi: bump version

This patch also call autoreconf in order to use buildroot's libtool as
buildroot's libtool patch doesn't apply to the upstream ltmain.sh.

[Peter: clarified the need for AUTORECONF]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoclapack: new package
Samuel Martin [Tue, 22 Apr 2014 23:15:36 +0000 (01:15 +0200)]
clapack: new package

This package provides BLAS and LAPACK libraries.

Though it is common to find implementation of these two libraries in
Fortran, this package provides a C-implementation for both, because:
- Fortran support has been deprecated in Buildroot since the 2013.11
  release;
- most of the external toolchains do not provide a Fortran compiler.

Often BLAS build-systems build some test programs and run them to
generate some source files or adjust some build optimizations, naively
assuming they are building the library for the build-machine. This does
not play well when cross-compiling.

This implementation has this defect too, by building and running a tool
generating a header.
However, the build-system allows to pass an empty header.
So, we have to patch the CMake to build the generator (but never
install it) and correctly support building with and without this header
provided by the user.

Also, some CMake patches are needed to fix the build and install rules.

[Peter: needs largefile, fix _LICENSE_FILES, tweak patch desc]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopencv: fix qt selection when highgui is enable
Samuel Martin [Tue, 22 Apr 2014 23:15:34 +0000 (01:15 +0200)]
opencv: fix qt selection when highgui is enable

The OpenCV highgui module links against QtGui and QtTest.
The latter is built by default but was never installed.
Thanks to the previous patch on Qt, this can be rectified.

So, update the OpenCV Config.in with the missing Qt module selection.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqt: add an option to install the test module
Samuel Martin [Tue, 22 Apr 2014 23:15:33 +0000 (01:15 +0200)]
qt: add an option to install the test module

When building Qt in a minimal configuration, a couple of Qt modules
(QtNetwork, QtSql, QtTest and QtXml) are built in addition to QtCore,
so they are installed in the sysroot but they are not copied into the
target tree.

Among these modules that could be built but optionally installed, only
QtTest had no option to allow being installed in the target fs.

Thus, programs linking against QtTest would successfully build, but
would miserably fail at runtime due to this missing dependency.

So far, the only package triggering this issue is OpenCV (the highgui
module built with Qt support).

A followup patch will add this missing dependency in OpenCV using this
new option.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoevtest: bump version to 1.31
Peter Seiderer [Tue, 22 Apr 2014 22:12:23 +0000 (00:12 +0200)]
evtest: bump version to 1.31

- update version to 1.31
- correct license to GPLv2+
- change download url to official repository
- remove evtest-capture support (dropped since 1.31)
- change broken project URL to official repository

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxserver_xorg-server: Fix DRI detection
Bernd Kuhls [Wed, 30 Apr 2014 04:44:22 +0000 (06:44 +0200)]
xserver_xorg-server: Fix DRI detection

Fixes http://autobuild.buildroot.net/results/b8a/b8a905b864b01aa09940668130a62d9d90ef5f9a/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoflite: depend on alsa-lib when available
Baruch Siach [Thu, 1 May 2014 03:17:27 +0000 (06:17 +0300)]
flite: depend on alsa-lib when available

The flite configure script detects the availability of alsa-lib. Add alsa-lib
to flite dependencies to make sure alsa-lib is always detected when
available.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibdrm: bump version to 2.4.54
Bernd Kuhls [Sat, 3 May 2014 08:41:12 +0000 (10:41 +0200)]
libdrm: bump version to 2.4.54

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibao: Remove OSS plugin when ALSA is enabled
Maarten ter Huurne [Tue, 8 Apr 2014 17:45:07 +0000 (19:45 +0200)]
libao: Remove OSS plugin when ALSA is enabled

At runtime, libao will load all plugins, even ones that will never be used.
Since libao will prefer ALSA over OSS by default anyway, it is pretty safe
to exclude the OSS plugin.

There is no configure option for disabling the OSS plugin, so we remove
the shared object in a post-install hook.

Also disable alsa oss emulation workaround as it no longer will be used with
alsa.

[Peter: explain why --disable-broken-oss is passed]
Signed-Off-By: Maarten ter Huurne <maarten@treewalker.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: install in a sub-dir of $(BINARIES_DIR)
Yann E. MORIN [Fri, 2 May 2014 17:10:38 +0000 (19:10 +0200)]
boot/syslinux: install in a sub-dir of $(BINARIES_DIR)

Since syslinux can now install quite a number of files, install
them in a sub-directory of $(BINARIES_DIR) for clarity.

It also aligns it to rpi-firmware, grub2, gummiboot, that install
all of their files in a sub-dir of $(BINARIES_DIR), too.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: add option to install c32 modules
Yann E. MORIN [Fri, 2 May 2014 17:10:37 +0000 (19:10 +0200)]
boot/syslinux: add option to install c32 modules

[Peter: reworded comment slightly]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: add an option to install a MBR blob
Yann E. MORIN [Fri, 2 May 2014 17:10:36 +0000 (19:10 +0200)]
boot/syslinux: add an option to install a MBR blob

This MBR blob will look for an active partition, and boot the bootcode
present in that partition. This can be used to boot an extlinux-prepared
partition.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Lundquist <lists@zelow.no>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: add option to install the EFI image
Yann E. MORIN [Fri, 2 May 2014 17:10:35 +0000 (19:10 +0200)]
boot/syslinux: add option to install the EFI image

syslinux can now also build an EFI application.

If the target is 64-bit, we build the 64-bit EFI app,
otherwise we build the 32-bit EFI app.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: bump version
Yann E. MORIN [Fri, 2 May 2014 17:10:34 +0000 (19:10 +0200)]
boot/syslinux: bump version

This new version has a very, very weird build system. There are different
images that syslinux can now build:
  - the plain legacy-bios images we already supported previously
  - two new EFI32 and EFI64 applications

To build one or the other, the Makefile accepts one or more of:
    make (bios|efi32|efi64)

Specify all of them, and it builds all. Specify 'install', and it installs
all of them, as one may expect.

Still a regular behaviour, is to build only a subset (down to one):
    make bios           <-- builds just the legacy-bios images
    make efi32 bios     <-- builds just the legacy-bios and efi32 images

Where it gets weird is the install procedure. Can you guess how it's done?
Hint: the syslinux guys have invented the multiple-argument parsing in
pure Makefiles. To build then install only the bios images, one would do:
    make bios
    make bios install

Yep, that's it. make bios install. Two arguments, one action.

That makes for some funky workarounds in our install procedure...

'bios' is the only image we support so far, with efi to come in a future
patch.

Using MAKE1, as there are issues with highly-parallel builds.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/upx: new package
Frank Hunleth [Fri, 2 May 2014 17:10:33 +0000 (19:10 +0200)]
package/upx: new package

UPX is a free, portable, extendable, high-performance executable
packer for several executable formats.

This is needed for syslinux 6.x.

Note: upx is a host-only package. Although it supports quite a few
target architectures, the only use so far will be for use by syslinux,
which already has an x86-on-x86 requirement anyway. So we currently do
not care to have target-dependencies on host-upx.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
[yann.morin.1998@free.fr: builds fine in parallel; fix build to
 locate libucl; fix installation; don't add a menuconfig entry]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/ucl: new package
Frank Hunleth [Fri, 2 May 2014 17:10:32 +0000 (19:10 +0200)]
package/ucl: new package

UCL implements a number of compression algorithms that achieve an
excellent compression ratio while allowing *very* fast decompression.
Decompression requires no additional memory.

This is needed for UPX, which is needed for syslinux 6.x.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
[yann.morin.1998@free.fr: don't add a menuconfig entry, since it
 currently is for internal use only]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: move comments out of define-block
Yann E. MORIN [Fri, 2 May 2014 17:10:31 +0000 (19:10 +0200)]
boot/syslinux: move comments out of define-block

The comments are not really part of the command we want to execute,
so move them out of the define-block. This also cleans up the output,
as they will no longer appear.

Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: rewrite options prompts
Yann E. MORIN [Fri, 2 May 2014 17:10:30 +0000 (19:10 +0200)]
boot/syslinux: rewrite options prompts

Rewrite the options prompt in preparation to adding a new
type of image to install.

Add help entries to each option, too.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: make the sub-options a choice
Yann E. MORIN [Fri, 2 May 2014 17:10:29 +0000 (19:10 +0200)]
boot/syslinux: make the sub-options a choice

Currently it is possible to choose either, both or none of
the pxelinux or isolinux images.

But it does not make sense to build none or both, as we need
at least one to boot the target, and the target can not use
more than one.

So, we need one and only one image to be selected at once.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Lundquist <thomasez@redpill-linpro.com>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: prepare to install non-core images
Yann E. MORIN [Fri, 2 May 2014 17:10:28 +0000 (19:10 +0200)]
boot/syslinux: prepare to install non-core images

Currently, we hard-code the path to the images we install, and
expect them to be from the core/ sub-dir.

Not all images we can install are located in core/. For example,
the efi boot images (to come later) are not located in core/.

Prepare the upcoming installation of extlinux by not expecting
images be in core/.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Lundquist <lists@zelow.no>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: needs an ia32-capable compiler
Yann E. MORIN [Fri, 2 May 2014 17:10:27 +0000 (19:10 +0200)]
boot/syslinux: needs an ia32-capable compiler

The pxelinux and isolionux images are 32-bit binaries, so we need a
compiler that can generate them (ie. a compiler that understands -m32).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconfigs/raspberrypi: bump kernel version
Yann E. MORIN [Fri, 2 May 2014 19:29:54 +0000 (21:29 +0200)]
configs/raspberrypi: bump kernel version

Upstream has been playing evil-rebase on their tree, so they now
no longer have the changeset we are currently referencing.

They have now agreed to merge instead of rebasing:
    https://github.com/raspberrypi/linux/issues/584

So, update the raspberrypi_defconfig to use a new changeset that
currently exists right _now_, in the hope it will not disapear in
the future (but we'll catch it pretty fast anyway, so we'll be able
to seriously bug up upstream in that case ;-) ).

Reported-by: Jeremy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: yann.morin.1998@free.fr
Cc: Jeremy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agop11-kit: bump to version 0.20.2
Gustavo Zacarias [Sat, 3 May 2014 11:36:23 +0000 (08:36 -0300)]
p11-kit: bump to version 0.20.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibtasn1: bump to version 3.5
Gustavo Zacarias [Sat, 3 May 2014 11:36:22 +0000 (08:36 -0300)]
libtasn1: bump to version 3.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibmicrohttpd: bump to version 0.9.35
Gustavo Zacarias [Sat, 3 May 2014 11:36:21 +0000 (08:36 -0300)]
libmicrohttpd: bump to version 0.9.35

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agozeromq: disable test_fork when fork() is no available
Samuel Martin [Sat, 3 May 2014 16:33:02 +0000 (18:33 +0200)]
zeromq: disable test_fork when fork() is no available

zeromp's configure script correctly detects the fork availability, but
unconditionally build test_fork program whatever the fork() availability.

This patch fixes the build-system by disabling test_fork when fork is
not available (e.g. when !BR2_USE_MMU).

Fixes:
  http://autobuild.buildroot.org/results/359/3599cc3b7bf2bb22a78961cd84d21cb03cbd7015/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[yann.morin.1998@free.fr: remove Makefile.in hunks]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: tested against the failed bfin config, as well as
 a i686 target]
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoavahi: Add systemd init script
Maxime Hadjinlian [Sat, 3 May 2014 15:35:45 +0000 (17:35 +0200)]
avahi: Add systemd init script

This consists of two files:
  - avahi-daemon.service:
    It start/stop the daemon avahi, it's a copy of the S50avahi-daemon
    script.
  - avahi_tmpfiles.conf:
    This one gets installed in /usr/lib/tmpfiles.d/ to be used by
    systemd-tmpfiles which will create the correct directory structure
    with the appropriate rights.
    This is the equivalent of the S05avahi-setup.sh script.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch: add support for "corei7" Intel CPU optimisations
Bernd Kuhls [Sun, 27 Apr 2014 11:29:15 +0000 (13:29 +0200)]
arch: add support for "corei7" Intel CPU optimisations

gcc support was added in version 4.6:
http://gcc.gnu.org/gcc-4.6/changes.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibwebsockets: disable checks for C++ compiler
Samuel Martin [Fri, 2 May 2014 12:40:35 +0000 (14:40 +0200)]
libwebsockets: disable checks for C++ compiler

Since libwesockets in written in pure C, no C++, there is no reason to
disable it or make the configuration failed when the toolchain has no
C++ support.

Unfortunately, CMake defaults sets C and C++ as languages used by the
project. This makes the configuration failed if no C++ compiler is found.

This patch just make the CMake code of libwebsockets reflecting the real
status of the project with regard to the languages used.

Should fix:
  http://autobuild.buildroot.org/results/fef/fef98ef289d44d13ec61025c50febba1e835b421/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual: fix C++ support in libc case, fix indentation
Yann E. MORIN [Fri, 2 May 2014 10:49:28 +0000 (12:49 +0200)]
manual: fix C++ support in libc case, fix indentation

The manual has this sentence for the dependency on a C library *and* a
toolchain feature:

    foo needs an (e)glibc toolchain, or foo needs an (e)glibc toolchain
    w/ C++ support

And then, just below, the comment text for C++ is just 'C++', not
'C++ support'.

Fix that, and add a bit of indentation too.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotmux: needs mmu
Gustavo Zacarias [Fri, 2 May 2014 11:09:22 +0000 (08:09 -0300)]
tmux: needs mmu

Fixes:
http://autobuild.buildroot.net/results/1b2/1b2a8c75e73ec136e639896f23544bf85906e97b/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual/configure.txt: fix C++ escaping
Thomas De Schampheleire [Fri, 2 May 2014 08:02:38 +0000 (10:02 +0200)]
manual/configure.txt: fix C++ escaping

For asciidoc, a string like '+these are some words+' will be displayed in
monospace font. Such sequences are identified by searching for a matching
pair of + signs in the same block.

The string 'C++' also contains such + signs. In most cases, this does not
pose a problem and no escaping is necessary. However, if 'C++' occurs twice
in the same block, the + signs will be matched to each other, and asciidoc
formats all text between them as monospaced text. In this case, escaping of
one of these 'C++' occurances is necessary to get the right formatting.

In one place of the manual, there is a sentence that causes such a problem:
    "you only have to tell whether your toolchain supports C++ or not and
    whether it has built-in RPC support. If your external toolchain uses
    the 'uClibc' library, then you have to tell Buildroot if it supports
    largefile, IPv6, RPC, wide-char, locale, program invocation, threads
    and C++."

Commit 082dec8ce440236b1477e568f0965f05ad241adb was based on a patch fixing
this problem in one place of the manual, but was incorrectly changed while
committing.

This patch reverts the incorrect changes in that commit, and solves the
problem correctly.

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual: use one-line titles instead of two-line titles (trivial)
Thomas De Schampheleire [Fri, 2 May 2014 05:47:30 +0000 (07:47 +0200)]
manual: use one-line titles instead of two-line titles (trivial)

Asciidoc supports two syntaxes for section titles: two-line titles (title
plus underline consisting of a particular symbol), and one-line titles
(title prefixed with a specific number of = signs).

The two-line title underlines are:
Level 0 (top level):     ======================
Level 1:                 ----------------------
Level 2:                 ~~~~~~~~~~~~~~~~~~~~~~
Level 3:                 ^^^^^^^^^^^^^^^^^^^^^^
Level 4 (bottom level):  ++++++++++++++++++++++

and the one-line title prefixes:
= Document Title (level 0) =
== Section title (level 1) ==

=== Section title (level 2) ===
==== Section title (level 3) ====
===== Section title (level 4) =====

The buildroot manual is currenly using the two-line titles, but this has
multiple disadvantages:

- asciidoc also uses some of the underline symbols for other purposes (like
  preformatted code, example blocks, ...), which makes it difficult to do
  mass replacements, such as a planned follow-up patch that needs to move
  all sections one level down.

- it is difficult to remember which level a given underline symbol (=-~^+)
  corresponds to, while counting = signs is easy.

This patch changes all two-level titles to one-level titles in the manual.
The bulk of the change was done with the following Python script, except for
the level 1 titles (-----) as these underlines are also used for literal
code blocks.
This patch only changes the titles, no other changes. In
adding-packages-directory.txt, I did add missing newlines between some
titles and their content.

----------------------------------------------------------------------------
#!/usr/bin/env python

import sys
import mmap
import re

for input in sys.argv[1:]:

    f = open(input, 'r+')
    f.flush()
    s = mmap.mmap(f.fileno(), 0)

    # Level 0 (top level):     ======================   =
    # Level 1:                 ----------------------   ==
    # Level 2:                 ~~~~~~~~~~~~~~~~~~~~~~   ===
    # Level 3:                 ^^^^^^^^^^^^^^^^^^^^^^   ====
    # Level 4 (bottom level):  ++++++++++++++++++++++   =====

    def replace_title(s, symbol, replacement):
        pattern = re.compile(r'(.+\n)\%s{2,}\n' % symbol, re.MULTILINE)
        return pattern.sub(r'%s \1' % replacement, s)

    new = s
    new = replace_title(new, '=', '=')
    new = replace_title(new, '+', '=====')
    new = replace_title(new, '^', '====')
    new = replace_title(new, '~', '===')
    #new = replace_title(new, '-', '==')

    s.seek(0)
    s.write(new)
    s.resize(s.tell())
    s.close()
    f.close()

----------------------------------------------------------------------------

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosystem/Config.in: fix custom skeleton help text
Thomas De Schampheleire [Fri, 2 May 2014 05:08:40 +0000 (07:08 +0200)]
system/Config.in: fix custom skeleton help text

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: bump 3.2.x series
Gustavo Zacarias [Thu, 1 May 2014 22:34:16 +0000 (19:34 -0300)]
linux-headers: bump 3.2.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosystem: fix spelling errors
Ryan Barnett [Thu, 1 May 2014 22:26:36 +0000 (17:26 -0500)]
system: fix spelling errors

Fix minor spelling errors that exists in system/Config.in

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibsoxr: new package
Hadrien Boutteville [Mon, 28 Apr 2014 21:34:40 +0000 (23:34 +0200)]
libsoxr: new package

Building tests fails mainly because of the cross-compilation, so they
are disabled for the moment.

Signed-off-by: Hadrien Boutteville <hadrien.boutteville@gmail.com>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoupdate microblaze qemu boards to 3.14
Waldemar Brodkorb [Tue, 29 Apr 2014 19:18:10 +0000 (21:18 +0200)]
update microblaze qemu boards to 3.14

- fix networking in Qemu using a small patch
- disable DTS, because linux.bin does not include any DTB the
  default Qemu included DTB is used and this is okay and works fine

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: switch microblaze to version 4.9.x
Gustavo Zacarias [Tue, 29 Apr 2014 16:37:42 +0000 (13:37 -0300)]
gcc: switch microblaze to version 4.9.x

Switch to gcc 4.9.x for microblaze since it's a better target than
4.8.x, and also add a build patch that fixes (e)glibc build issues.
Hence disable 4.8.x for microblaze.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoMakefile: target-purgelocales: fix top-level parallel make support
Fabio Porcedda [Tue, 29 Apr 2014 15:32:34 +0000 (17:32 +0200)]
Makefile: target-purgelocales: fix top-level parallel make support

The "target-purgelocales" target must be executed after all the other
targets and before the "target-finalize" target, so create a
TARGET_PURGE_LOCALES variable containing the commands of the target
"target-purgelocales" and add it at the beginning of the
"target-finalize" target.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouclibc: re-add uclibc-update-config target
Thomas De Schampheleire [Wed, 30 Apr 2014 19:18:57 +0000 (21:18 +0200)]
uclibc: re-add uclibc-update-config target

Commit a5e92d92e7ee413157aae7cecf1f354e718731e1 converted uClibc to the
package infrastructure, but while doing so removed support for the
documented uclibc-update-config make target. This make target copies the
uclibc .config file back to the original (typically version-controlled)
configuration file.

As this was an unintentional removal, this patch re-adds the
uclibc-update-config target.

Reported-by: Dan Moulding <dan.moulding@rackwareinc.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.6 and 3.7
Thomas De Schampheleire [Wed, 30 Apr 2014 18:18:24 +0000 (20:18 +0200)]
kernel headers: remove deprecated versions 3.6 and 3.7

Kernel headers versions 3.6.x and 3.7.x have been deprecated since 2013.05
and thus can be removed in 2014.05.
An automatic selection of 3.8.x headers is performed in the legacy menu.
An existing automatic selection of 3.6.x headers is modified to select
3.8.x.

As this patch removes the last occurrances of BR2_DEPRECATED_SINCE_2013_05,
the symbol is removed too.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agovala: remove deprecated target package
Thomas De Schampheleire [Wed, 30 Apr 2014 18:18:23 +0000 (20:18 +0200)]
vala: remove deprecated target package

The vala target package has been deprecated since 2013.05 and thus can be
removed in 2014.05. The host vala support is left untouched.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouclibc: arc: bump to 8af9dc8
Anton Kolesov [Thu, 1 May 2014 15:21:37 +0000 (19:21 +0400)]
uclibc: arc: bump to 8af9dc8

This will resolve uClibc build error for configurations without large file
support.

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibwebsockets : bump version
Sagaert Johan [Wed, 30 Apr 2014 22:45:00 +0000 (00:45 +0200)]
libwebsockets : bump version

bump to v1.23-chrome32-firefox24
The latest releases use the cmake build infrastructure.
Converted the makefile to the cmake infrastructure.
The autotools infrastructure is no longer supported.

[Peter: correct license data, ensure it gets built after openssl if enabled]
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage .mk files: use 80 # signs in header
Thomas De Schampheleire [Wed, 30 Apr 2014 19:34:56 +0000 (21:34 +0200)]
package .mk files: use 80 # signs in header

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 agotarget-finalize: avoid stripping kernel modules with incorrect permissions
Thomas De Schampheleire [Wed, 30 Apr 2014 19:29:02 +0000 (21:29 +0200)]
target-finalize: avoid stripping kernel modules with incorrect permissions

If a kernel module is installed with incorrect permissions (0755 iso 0644),
it would get stripped in a way that would render the kernel module broken.
While the incorrect permissions are a developer error, it is a minor change
to prevent this mistake from causing incorrectly stripped modules.

This was reported with bug #6992:
https://bugs.busybox.net/show_bug.cgi?id=6992

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 agobtrfs-progs: new package
Gustavo Zacarias [Tue, 29 Apr 2014 17:17:14 +0000 (14:17 -0300)]
btrfs-progs: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosmack: needs threads
Baruch Siach [Thu, 1 May 2014 13:16:20 +0000 (16:16 +0300)]
smack: needs threads

Fixes:
http://autobuild.buildroot.net/results/38a/38a558be589784bcc700a0e83e2e1e14eed66d83/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqt: webkit is now supported on MIPS64
Vicente Olivert Riera [Wed, 30 Apr 2014 09:04:33 +0000 (10:04 +0100)]
qt: webkit is now supported on MIPS64

Since qt's version has been bumped to 4.8.6 we can add support for
webkit on MIPS64 architectures (both big and little endian). It wasn't
possible on 4.8.5 because QtScript wasn't supported on MIPS64, but that
has been fixed on 4.8.6.

With reference to:
   https://codereview.qt-project.org/#change,73022

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Markos Chandras <Markos.Chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconfigs: bump raspberrypi_defconfig to use latest rpi-3.12.y
Yann E. MORIN [Tue, 29 Apr 2014 18:08:11 +0000 (20:08 +0200)]
configs: bump raspberrypi_defconfig to use latest rpi-3.12.y

The Raspberry Pi people are now considering there stable version to
be based on the 3.12.series:
    http://www.raspberrypi.org/forums/viewtopic.php?f=29&t=75895

    > The 3.12 kernel tree has long term support and we are moving to it.

Bump the Raspberry Pi defconfig to use the latest stable version of
the rpi-3.12.y branch, based on linux-3.12.18.

Bump the kernel headers at the same time.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/rpi-firmware: bump for enhancements and bug fixes
Yann E. MORIN [Tue, 29 Apr 2014 18:08:10 +0000 (20:08 +0200)]
package/rpi-firmware: bump for enhancements and bug fixes

Fixes and enhancements for:
  - video: add 3D stereo, unusual streams with skipped frames
  - audio: reset-on-flush, alsa passthrough, volume
  - misc : SDRAM drive strength
  - some undocumented changes

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoljsyscall: bump to version 0.10
Francois Perrad [Tue, 29 Apr 2014 16:55:14 +0000 (18:55 +0200)]
ljsyscall: bump to version 0.10

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosockit board: Fix readme.txt
Charles Manning [Tue, 29 Apr 2014 23:22:23 +0000 (11:22 +1200)]
sockit board: Fix readme.txt

Config name has changed.

Signed-off-by: Charles Manning <cdhmanning@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: fixup "standard" gcc location after 'use default gcc 4.8.2 for microblaze'
Peter Korsgaard [Tue, 29 Apr 2014 22:27:51 +0000 (00:27 +0200)]
gcc: fixup "standard" gcc location after 'use default gcc 4.8.2 for microblaze'

Somehow the 'else' part got dropped from commit 3f82e9dbcd (use default gcc
4.8.2 for microblaze), breaking download for "normal" architectures.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: arc: bump to arc-4.8-R3 release
Anton Kolesov [Tue, 29 Apr 2014 15:31:14 +0000 (19:31 +0400)]
gcc: arc: bump to arc-4.8-R3 release

This patch fixes several internal compiler errors including:
http://autobuild.buildroot.net/results/2858bb1ca1d12955c837da5a8b7d69c587a75646/
http://autobuild.buildroot.net/results/85deef67654019a630d6cbc37f3dbbbc071aad38/

Support for the GCC built-in atomic functions is also added and is enabled
with option -matomic. Atomic built-ins require LLOCK/SCOND instructions to
be enabled in the ARC 700 CPU.

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobinutils: arc: bump to arc-4.8-R3 release
Anton Kolesov [Tue, 29 Apr 2014 15:31:13 +0000 (19:31 +0400)]
binutils: arc: bump to arc-4.8-R3 release

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogdb: arc: bump to arc-4.8-R3 release
Anton Kolesov [Tue, 29 Apr 2014 15:31:12 +0000 (19:31 +0400)]
gdb: arc: bump to arc-4.8-R3 release

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouclibc: arc: bump to arc-4.8-R3 release
Anton Kolesov [Tue, 29 Apr 2014 15:31:11 +0000 (19:31 +0400)]
uclibc: arc: bump to arc-4.8-R3 release

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoutil-linux: bump to version 2.24.2
Gustavo Zacarias [Tue, 29 Apr 2014 13:22:54 +0000 (10:22 -0300)]
util-linux: bump to version 2.24.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoimlib2: uses dlopen(), not available in static cases
Thomas Petazzoni [Tue, 29 Apr 2014 19:00:16 +0000 (21:00 +0200)]
imlib2: uses dlopen(), not available in static cases

According to the imlib2 people, if you don't support dlopen(), you
have a "crap box":

image.h:16:4: warning: #warning "your crap box doesn't define RTLD_LOCAL !?"

So, let's disable imlib2 when doing static linking.

Fixes:

  http://autobuild.buildroot.net/results/b5e/b5ee859409cd626b769e8a159026e60ec6f29180/

[Peter: fix imlib2 comment as pointed out by Thomas]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosamba4: disable for avr32
Gustavo Zacarias [Tue, 29 Apr 2014 12:40:38 +0000 (09:40 -0300)]
samba4: disable for avr32

The toolchain is not up to the task, fixes:
http://autobuild.buildroot.net/results/21f/21f5fd1fc8415abff1d1178843586956ef1fd1e3/
Also AVR32s are low on resources (RAM, no proper storage port, most of
them short of flash) to handle it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqt 4.8.x : bump version to 4.8.6
Sagaert Johan [Tue, 29 Apr 2014 09:13:32 +0000 (11:13 +0200)]
qt 4.8.x : bump version to 4.8.6

Dropped upstream patch fix-polyline-drawing.patch
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agowireshark: security bump to version 1.10.7
Gustavo Zacarias [Mon, 28 Apr 2014 21:41:32 +0000 (18:41 -0300)]
wireshark: security bump to version 1.10.7

Fixes CVE-2014-2907 / WNPA-SEC-2014-06.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoupstream glibc 2.18/2.19 works fine with microblaze
Waldemar Brodkorb [Sun, 13 Apr 2014 09:47:00 +0000 (11:47 +0200)]
upstream glibc 2.18/2.19 works fine with microblaze

There is no need for Xilinx Git.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouse default gcc 4.8.2 for microblaze
Waldemar Brodkorb [Sun, 13 Apr 2014 09:46:59 +0000 (11:46 +0200)]
use default gcc 4.8.2 for microblaze

Upstream gcc 4.8.2 works fine for microblaze, no need for
Xilinx Git.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>