buildroot.git
11 years agoqt5: factor <pkg>_SITE variable
Thomas Petazzoni [Mon, 15 Apr 2013 03:11:19 +0000 (03:11 +0000)]
qt5: factor <pkg>_SITE variable

Each qt5 package was defining its own QT5<something>_SITE
variable. Unfortunately, the download location has slightly changed
for Qt 5.0.2, so we would have to change it for all packages. Instead,
we factor the <pkg>_SITE variable as QT5_SITE in package/qt5/qt5.mk,
just like we already do for QT5_VERSION.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agonbd: add license information
Gustavo Zacarias [Mon, 15 Apr 2013 02:42:10 +0000 (02:42 +0000)]
nbd: add license information

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agonetperf: add license information
Gustavo Zacarias [Mon, 15 Apr 2013 02:50:47 +0000 (02:50 +0000)]
netperf: add license information

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibconfig: add license information
Simon Dawson [Sun, 14 Apr 2013 21:57:11 +0000 (21:57 +0000)]
libconfig: add license information

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoboost: fix build of context library
Patrick Ziegler [Sun, 14 Apr 2013 23:10:31 +0000 (23:10 +0000)]
boost: fix build of context library

Signed-off-by: Patrick Ziegler <patrick.ziegler@fh-kl.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage: add fan-ctrl
Peter Korsgaard [Mon, 15 Apr 2013 21:39:41 +0000 (23:39 +0200)]
package: add fan-ctrl

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoeliminate double slashes caused by FOO_SITE ending in a slash
Shawn J. Goff [Fri, 12 Apr 2013 09:40:30 +0000 (09:40 +0000)]
eliminate double slashes caused by FOO_SITE ending in a slash

When a FOO_SITE variable ends in a slash and gets joined with a
FOO_SOURCE variable like $(FOO_SITE)/$(FOO_SOURCE), the resulting URI
has a double slash. While double-slashes are fine in unix paths, they
are reserved in URIs - the part following '//' must be an authority.

Signed-off-by: Shawn J. Goff <shawn7400@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agone10: Use http instead of git method for package fetching.
Marek Belisko [Sun, 14 Apr 2013 20:33:48 +0000 (20:33 +0000)]
ne10: Use http instead of git method for package fetching.

Rework package fetching according official documentation:
http://buildroot.uclibc.org/downloads/manual/manual.html#github-download-url

Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoofono: add license information
Simon Dawson [Sun, 14 Apr 2013 20:29:10 +0000 (20:29 +0000)]
ofono: add license information

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux: error out early if user forgot to specify dts name(s)
Peter Korsgaard [Mon, 15 Apr 2013 06:55:53 +0000 (08:55 +0200)]
linux: error out early if user forgot to specify dts name(s)

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agocollectd: bump to version 5.3.0
Gustavo Zacarias [Thu, 11 Apr 2013 04:41:36 +0000 (04:41 +0000)]
collectd: bump to version 5.3.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoprotobuf-c: new package
Gustavo Zacarias [Thu, 11 Apr 2013 04:41:35 +0000 (04:41 +0000)]
protobuf-c: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agone10: new package
Thomas Petazzoni [Sat, 13 Apr 2013 08:09:45 +0000 (08:09 +0000)]
ne10: new package

The Ne10 project has been set up to provide a set of common, useful
functions which have been heavily optimized for the ARM Architecture
and provide consistent well tested behavior that can be easily
incorporated into applications. C interfaces to the functions are
provided for both assembler and NEON implementations.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoofono: bump to version 1.12
Simon Dawson [Sat, 13 Apr 2013 07:53:55 +0000 (07:53 +0000)]
ofono: bump to version 1.12

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosysvinit: fix linking of sulogin with -lcrypt
Arnout Vandecappelle (Essensium/Mind) [Tue, 12 Mar 2013 14:05:38 +0000 (14:05 +0000)]
sysvinit: fix linking of sulogin with -lcrypt

The LCRYPT variable is no longer used; use SULOGINLIBS instead.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoexfat: doesn't work on static builds because of libfuse
Gustavo Zacarias [Tue, 26 Feb 2013 00:18:36 +0000 (00:18 +0000)]
exfat: doesn't work on static builds because of libfuse

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibfuse: not available for static builds
Gustavo Zacarias [Tue, 26 Feb 2013 00:16:41 +0000 (00:16 +0000)]
libfuse: not available for static builds

Unfortunately libfuse uses dl functions exclusively so it can't be used
for static builds so exclude it so.
Fixes:
http://autobuild.buildroot.net/results/a1c3d2b9c436023675c363d9d3b365c95ade0329/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoAdd Gnublin board support with fixed kernel header version
Zoltan Gyarmati [Fri, 8 Feb 2013 02:09:37 +0000 (02:09 +0000)]
Add Gnublin board support with fixed kernel header version

[Peter: misc white space fixup]
Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agopackage: add libwebsockets
Andreas Wetzel [Wed, 6 Feb 2013 01:28:59 +0000 (01:28 +0000)]
package: add libwebsockets

[Peter: add missing zlib select to Config.in]
Signed-off-by: Andreas Wetzel <andreas.wetzel@nanotronic.ch>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoboost: bump version to 1.53.0
Victor Hiairrassary [Wed, 6 Feb 2013 06:27:16 +0000 (06:27 +0000)]
boost: bump version to 1.53.0

and re-enable boost context library since its compilation with
uClibc is fixed. Disable new atomic library because it can not
compile with uClibc (fixed in upstream version).

Signed-off-by: Victor Hiairrassary <victor.hiairrassary.ml@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoAdd Armadeus systems APF27 SOM basic support
Julien Boibessot [Thu, 28 Mar 2013 22:50:08 +0000 (22:50 +0000)]
Add Armadeus systems APF27 SOM basic support

Buildroot toolchain, UBIFS rootfs, Linux kernel (board is mainlined since 3.8).

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoradvd: drop autoreconf
Peter Korsgaard [Sun, 14 Apr 2013 18:40:53 +0000 (20:40 +0200)]
radvd: drop autoreconf

We're no longer patching Makefile.am since the 1.9.2 bump, so we don't
need to autoreconf anymore.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agonbd: bump to version 3.3
Gustavo Zacarias [Sat, 13 Apr 2013 14:23:41 +0000 (14:23 +0000)]
nbd: bump to version 3.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agonetperf: bump to version 2.6.0
Gustavo Zacarias [Sat, 13 Apr 2013 14:23:40 +0000 (14:23 +0000)]
netperf: bump to version 2.6.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoopenssh: bump to version 6.2p1
Gustavo Zacarias [Sat, 13 Apr 2013 14:23:39 +0000 (14:23 +0000)]
openssh: bump to version 6.2p1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoradvd: bump to version 1.9.3
Gustavo Zacarias [Sat, 13 Apr 2013 14:23:38 +0000 (14:23 +0000)]
radvd: bump to version 1.9.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux: don't use $ in dtb comment as the shell tries to expand them
Peter Korsgaard [Sun, 14 Apr 2013 17:31:30 +0000 (19:31 +0200)]
linux: don't use $ in dtb comment as the shell tries to expand them

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogdb: disable on AArch64
Thomas Petazzoni [Sat, 13 Apr 2013 04:09:11 +0000 (04:09 +0000)]
gdb: disable on AArch64

The mainline gdb does not yet have AArch64 support at all, so let's
disable it for this platform. The external toolchain provided by
Linaro has gdbserver + cross-gdb, so it already provides what's
necessary to do some debugging.

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogdb: properly set the gdb site in all cases
Thomas Petazzoni [Sat, 13 Apr 2013 04:09:10 +0000 (04:09 +0000)]
gdb: properly set the gdb site in all cases

Until now, the gdb site for AVR32 was adjusted only when GDB_VERSION
was not set, i.e only when the cross-gdb is *not* built. We should in
fact also set the site when the cross-gdb is built, so when
GDB_VERSION is defined through package/gdb/Config.in.host.

So, instead, we now have something like:

ifeq ($(GDB_VERSION),)
 # we define here a default version that is used when the cross-gdb is
 # not built and only the target gdb is selected.
endif

ifeq ($(GDB_VERSION),something-special)
GDB_SITE = some-special-site-for-some-special-gdb-version
endif

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain-external: fix Linaro ARM URL
Thomas Petazzoni [Sat, 13 Apr 2013 06:37:07 +0000 (06:37 +0000)]
toolchain-external: fix Linaro ARM URL

Commit 79828fc01d92cee84f8703d25f72121f52880ee9 (toolchain-external:
update ARM Linaro toolchains) accidently broke the URL for the Linaro
2013.01 toolchain by replacing a .bz2 extension by .bz. This patch
fixes this problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain/gcc: bump 4.6.x version
Peter Korsgaard [Sat, 13 Apr 2013 07:40:01 +0000 (09:40 +0200)]
toolchain/gcc: bump 4.6.x version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux: bump 3.8.x stable version
Gustavo Zacarias [Fri, 12 Apr 2013 11:22:38 +0000 (11:22 +0000)]
linux: bump 3.8.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agokernel-headers: bump 3.{0, 2, 4, 8}.x stable version
Gustavo Zacarias [Fri, 12 Apr 2013 11:22:37 +0000 (11:22 +0000)]
kernel-headers: bump 3.{0, 2, 4, 8}.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agonitrogen6x: get rid of ext2 rev 1 notice now we can create it directly instead
Peter Korsgaard [Fri, 12 Apr 2013 13:02:18 +0000 (15:02 +0200)]
nitrogen6x: get rid of ext2 rev 1 notice now we can create it directly instead

And update the defconfig to do so.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agofs/ext2: bump journal overhead to 1300 blocks
Peter Korsgaard [Fri, 12 Apr 2013 12:57:36 +0000 (14:57 +0200)]
fs/ext2: bump journal overhead to 1300 blocks

A quick test with a ~3.5MB ext4 filesystem shows that 1081 blocks isn't
enough:

tune2fs 1.42.7 (21-Jan-2013)

Please run e2fsck on the filesystem.

Creating journal inode:
Journal size too big for filesystem.

So bump it a bit. Overestimating the journal size is probably not really
a big deal for the kind of systems using ext3/4 anyway.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agofs/ext2: remove count- and time-based fsck
Yann E. MORIN [Thu, 11 Apr 2013 12:17:54 +0000 (12:17 +0000)]
fs/ext2: remove count- and time-based fsck

Set the count- and time-based checks intervals to 0, thus effectively
disabling automatic checks at boot (after a suggestion by Arnout).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agofs/ext2: add support for ext2 rev0 and rev1
Yann E. MORIN [Thu, 11 Apr 2013 12:17:53 +0000 (12:17 +0000)]
fs/ext2: add support for ext2 rev0 and rev1

Some bootloaders have a buggy ext2 support, and require ext2 rev1
instead of the traditional ext2 rev0 that genext2fs produces.

tune2fs accepts only one '-O list' at a time, so we need to construct
a list of -O options.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agofs/ext2: add a symlink 'rootfs.ext#' -> 'rootfs.ext2'
Yann E. MORIN [Thu, 11 Apr 2013 12:17:52 +0000 (12:17 +0000)]
fs/ext2: add a symlink 'rootfs.ext#' -> 'rootfs.ext2'

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agofs/ext2: add ability to build ext3/4 too
Yann E. MORIN [Thu, 11 Apr 2013 12:17:51 +0000 (12:17 +0000)]
fs/ext2: add ability to build ext3/4 too

Use the host-e2fsprogs to tune2fs the generated rootfs.ext2 image,
and upgrade it to either one of ext2, ext3 or ext4.

Since calling tune2fs may require running e2fsck (tune2fs will warn
to do so when certain FS options are changed), we systematically call
e2fsck. This makes the code path simpler, and as a side-effect checks
that genext2fs did not generate garbage.

In turn, e2fsck will unconditionally add a UUID to the filesystem,
which is bad for reproducibility, so we call tune2fs again to remove
the UUID. This does not require checking the filesystem.

To ensure compatibility of Buildroot's .config, leave ext2 as the
default. Boards' .config can override this at will.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agofs/ext2: enclose the ext2 options in if...endif
Yann E. MORIN [Thu, 11 Apr 2013 12:17:50 +0000 (12:17 +0000)]
fs/ext2: enclose the ext2 options in if...endif

Use a 'if...endif' construct instead of repeating the
'depends on' for each symbols.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle <arnout@mind.be>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agojquery: bump to version 1.9.1
Gustavo Zacarias [Fri, 12 Apr 2013 02:15:23 +0000 (02:15 +0000)]
jquery: bump to version 1.9.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agojquery-validation: bump to version 1.11.1
Gustavo Zacarias [Fri, 12 Apr 2013 02:15:22 +0000 (02:15 +0000)]
jquery-validation: bump to version 1.11.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agojquery-sparkline: bump to version 2.1.1
Gustavo Zacarias [Fri, 12 Apr 2013 02:15:21 +0000 (02:15 +0000)]
jquery-sparkline: bump to version 2.1.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoflot: bump to version 0.8
Gustavo Zacarias [Fri, 12 Apr 2013 02:15:20 +0000 (02:15 +0000)]
flot: bump to version 0.8

Also change upstream website and download URL and add new Canvas option.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agompd: bump to version 0.17.4
Gustavo Zacarias [Fri, 12 Apr 2013 00:56:04 +0000 (00:56 +0000)]
mpd: bump to version 0.17.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agokmod: bump version
Peter Korsgaard [Fri, 12 Apr 2013 10:18:27 +0000 (12:18 +0200)]
kmod: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agokismet: bump to version 2013-03-R1b
Gustavo Zacarias [Thu, 11 Apr 2013 23:49:41 +0000 (23:49 +0000)]
kismet: bump to version 2013-03-R1b

Fixes issues in the configure script.
Also make libnl a mandatory dependency to fix:
http://autobuild.buildroot.net/results/c8bf63f4ee013bd3467934c87c61478a1f95e3eb/
Kismet isn't too useful without it anyway.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux: fix 3.8.x stable version
Simon Dawson [Thu, 11 Apr 2013 21:55:05 +0000 (21:55 +0000)]
linux: fix 3.8.x stable version

Commit c461e64201598eae85ff32e130ed3f0ccd9fed78 bumped the linux 3.8.x
stable version from 3.8.5 to 3.8.6, but did so in only one of the two places
in which the version number is hard-coded in linux/Config.in

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agokismet: fix license files info
Peter Korsgaard [Thu, 11 Apr 2013 21:57:07 +0000 (23:57 +0200)]
kismet: fix license files info

Fixes http://autobuild.buildroot.net/results/9a0ebe157438a07e145026e61c3031e5bf2283b9

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosystem/securetty: Add ttyPS[0-1]
Soren Brinkmann [Wed, 10 Apr 2013 10:34:38 +0000 (10:34 +0000)]
system/securetty: Add ttyPS[0-1]

Adding ttyPS0 and ttyPS1 to securetty for Zynq.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogdb: add back $ARCH-linux-gdb symlink for host-gdb
Peter Korsgaard [Thu, 11 Apr 2013 21:09:13 +0000 (23:09 +0200)]
gdb: add back $ARCH-linux-gdb symlink for host-gdb

Like we do for the toolchain and we used to to do for gdb.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain-external: support more gdbserver locations
Thomas Petazzoni [Sun, 7 Apr 2013 00:04:36 +0000 (00:04 +0000)]
toolchain-external: support more gdbserver locations

The x86/x86-64 CodeSourcery toolchains use some weird locations for
the gdbserver binary:

$ find . -name 'gdbserver'
./i686-pc-linux-gnu/libc/atom/usr/bin/gdbserver
./i686-pc-linux-gnu/libc/atom/usr/lib/bin/gdbserver
./i686-pc-linux-gnu/libc/core2/usr/bin/gdbserver
./i686-pc-linux-gnu/libc/core2/usr/lib64/bin/gdbserver
./i686-pc-linux-gnu/libc/usr/lib/bin/gdbserver
./i686-pc-linux-gnu/libc/usr/lib64/bin/gdbserver

Notice that it's sometimes hidden in a usr/{lib,lib64}/bin
directory. This patch changes the gdbserver logic to also try in this
location.

Originally based on work done by Daniel Nilsson, visible at
http://patchwork.ozlabs.org/patch/155767/.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogdb: install gdbserver into the SDK
Thomas Petazzoni [Sun, 7 Apr 2013 00:04:35 +0000 (00:04 +0000)]
gdb: install gdbserver into the SDK

In order for a Buildroot toolchain to be usable as an external
toolchain, we should copy the target gdbserver somewhere into
$(HOST_DIR). In order to match what Crosstool-NG does (and therefore
to match something the external toolchain logic already understands),
we install gdbserver in
$(HOST_DIR)/usr/<tuple>/debug-root/usr/bin/gdbserver.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogdb: do not allow gdbserver/cross-gdb build in some cases
Thomas Petazzoni [Sun, 7 Apr 2013 00:04:34 +0000 (00:04 +0000)]
gdb: do not allow gdbserver/cross-gdb build in some cases

When an external toolchain is used, and the user has chosen to copy
the external toolchain gdbserver to the target, then we should allow
the user to build a gdbserver and/or a cross-gdb: the ones of the
external toolchain should be used.

The reasoning is that one must use a gdbserver and cross-gdb of
identical versions to be sure that debugging will work properly.

Change suggested by Yann E. Morin.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agogdb: convert to the package infrastructure
Thomas Petazzoni [Sun, 7 Apr 2013 00:04:33 +0000 (00:04 +0000)]
gdb: convert to the package infrastructure

This commit converts gdb to the package infrastructure, and therefore
moves it from toolchain/gdb to package/gdb.

The target package is now visible in "Package selection for the
target" => "Debugging, profiling and benchmark". The main option,
"gdb", forcefully selects the "gdbserver" sub-option by
default. Another sub-option, "full debugger" allows to install the
complete gdb on the target. When this option is enabled, then
"gdbserver" is no longer forcefully selected. This ensures that at
least gdbserver or the full debugger gets built/installed, so that the
package is not a no-op.

The host debugger is still enabled through a configuration option in
"Toolchain". It is now visible regardless of the toolchain type (it
used to be hidden for External Toolchains). The configuration options
relative to the host debugger are now in package/gdb/Config.in.host,
similar to how we have package/binutils/Config.in.host.

Since gdb is now a proper package, it is no longer allowed to 'select
BR2_PTHREADS_DEBUG' to ensure thread debugging is available when
needed. Instead, it now 'depends on
BR2_TOOLCHAIN_HAS_THREADS_DEBUG'. This option, in turn, is selected by
the different toolchain backends when appropriate. The
'BR2_TOOLCHAIN_HAS_THREADS_DEBUG_IF_NEEDED' option is removed, since
we no longer need to know when it is allowed to 'select
BR2_PTHREADS_DEBUG'. Also, the 'BR2_PTHREADS_DEBUG' option is moved to
appear right below the thread implementation selection (in the case of
the Buildroot toolchain backend).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain/gcc: bump 4.7.x series to 4.7.3
Gustavo Zacarias [Thu, 11 Apr 2013 08:49:39 +0000 (08:49 +0000)]
toolchain/gcc: bump 4.7.x series to 4.7.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoalsa-utils: needs host-gettext
Gustavo Zacarias [Thu, 11 Apr 2013 04:22:56 +0000 (04:22 +0000)]
alsa-utils: needs host-gettext

Fixes:
http://autobuild.buildroot.net/results/31ca7306ca345bf057a844eab5b5d711e6c82842/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5/qt5quick1: new package
Thomas Petazzoni [Sun, 7 Apr 2013 09:57:28 +0000 (09:57 +0000)]
qt5/qt5quick1: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5webkit: add EGL dir to includepath
Floris Bos [Sun, 7 Apr 2013 09:57:27 +0000 (09:57 +0000)]
qt5webkit: add EGL dir to includepath

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5/qt5webkit: new package
Thomas Petazzoni [Sun, 7 Apr 2013 09:57:26 +0000 (09:57 +0000)]
qt5/qt5webkit: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5/qt5multimedia: new package
Thomas Petazzoni [Sun, 7 Apr 2013 09:57:25 +0000 (09:57 +0000)]
qt5/qt5multimedia: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5/qt5graphicaleffects: new package
Thomas Petazzoni [Sun, 7 Apr 2013 09:57:24 +0000 (09:57 +0000)]
qt5/qt5graphicaleffects: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5/qt5declarative: new package
Thomas Petazzoni [Sun, 7 Apr 2013 09:57:23 +0000 (09:57 +0000)]
qt5/qt5declarative: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5/qt5jsbackend: new package
Thomas Petazzoni [Sun, 7 Apr 2013 09:57:22 +0000 (09:57 +0000)]
qt5/qt5jsbackend: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5/qt5xmlpatterns: new package
Thomas Petazzoni [Sun, 7 Apr 2013 09:57:21 +0000 (09:57 +0000)]
qt5/qt5xmlpatterns: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5/qt5imageformats: new package
Thomas Petazzoni [Sun, 7 Apr 2013 09:57:20 +0000 (09:57 +0000)]
qt5/qt5imageformats: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5/qt5script: new package
Thomas Petazzoni [Sun, 7 Apr 2013 09:57:19 +0000 (09:57 +0000)]
qt5/qt5script: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5/qt5svg: new package
Thomas Petazzoni [Sun, 7 Apr 2013 09:57:18 +0000 (09:57 +0000)]
qt5/qt5svg: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5base: adjust linux-buildroot-g++ qmake.conf
Thomas Petazzoni [Sun, 7 Apr 2013 09:57:17 +0000 (09:57 +0000)]
qt5base: adjust linux-buildroot-g++ qmake.conf

In order for qmake to generate correct moc command lines, we need to
make sure INCLUDEPATH contains $(STAGING_DIR)/usr/include. To do so,
we add a new line in our custom qmake.conf.

Also, in order to clearly identify the Buildroot specific variables
from the qmake standard variables, we prefix all the custom Buildroot
variables by BUILDROOT_ in qmake.conf.

This solves compilation issues of qt5svg such as "Undefined
interface", due to the fact that moc isn't passed a -I path pointing
to the main header directory.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5base: support static library building
Thomas Petazzoni [Sun, 7 Apr 2013 09:57:16 +0000 (09:57 +0000)]
qt5base: support static library building

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotslib: correct option text
Peter Korsgaard [Thu, 11 Apr 2013 14:07:34 +0000 (16:07 +0200)]
tslib: correct option text

Option text should only be the package name, descriptions go in help text.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotslib: bump version
Yegor Yefremov [Mon, 8 Apr 2013 03:36:20 +0000 (03:36 +0000)]
tslib: bump version

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agomesa3d: requires host-bison and host-flex
Gustavo Zacarias [Sun, 7 Apr 2013 13:19:38 +0000 (13:19 +0000)]
mesa3d: requires host-bison and host-flex

Fixes a local build failure when testing other things.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolibev: also fails for blackfin
Gustavo Zacarias [Fri, 5 Apr 2013 00:47:32 +0000 (00:47 +0000)]
libev: also fails for blackfin

Also fails for blackfin because of a lack of memory fences so disable
it. Fixes:
http://autobuild.buildroot.net/results/d895f0b0a5f4b6c173c2843a76277e6fe611627b/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolm_sensors: needs host-bison and host-flex
Gustavo Zacarias [Fri, 5 Apr 2013 00:47:31 +0000 (00:47 +0000)]
lm_sensors: needs host-bison and host-flex

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

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoaircrack-ng: needs toolchain with threads support
gilles.talis@gmail.com [Thu, 4 Apr 2013 13:09:19 +0000 (13:09 +0000)]
aircrack-ng: needs toolchain with threads support

Fixes:
http://autobuild.buildroot.org/results/418c9385a9a5a5087a6790001560056d32cd9708

[Peter: drop iw comment]
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agofs/jffs2: refactor endianess selection to use BR2_ENDIAN
Thomas Petazzoni [Sun, 7 Apr 2013 09:25:24 +0000 (09:25 +0000)]
fs/jffs2: refactor endianess selection to use BR2_ENDIAN

Instead of explicitly listing the sub-architectures or architectures
that are big-endian, use BR2_ENDIAN directly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-geode: only available for i386 and x86_64
Gustavo Zacarias [Sun, 7 Apr 2013 14:25:59 +0000 (14:25 +0000)]
xdriver_xf86-video-geode: only available for i386 and x86_64

Builtin-video from NSC/AMD Geode x86 processors.
Fixes build failures on other architectures.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoxdriver_xf86-video-intel: only available for i386 and x86_64
Gustavo Zacarias [Sun, 7 Apr 2013 13:50:59 +0000 (13:50 +0000)]
xdriver_xf86-video-intel: only available for i386 and x86_64

Fixes build failures on other architectures.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoqt5: disallow the selection of Qt4 and Qt5
Thomas Petazzoni [Sun, 7 Apr 2013 09:57:15 +0000 (09:57 +0000)]
qt5: disallow the selection of Qt4 and Qt5

As noticed by Arnout, Qt4 and Qt5 cannot be installed together,
because for example the qt.conf installed by one version cannot be
understood by the qmake of another version. We therefore make them
mutually exclusive, which sounds reasonable for the embedded systems
targeted by Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agobarebox: add 2013.04.0, remove 2012.12.1
Fabio Porcedda [Sun, 7 Apr 2013 22:56:03 +0000 (22:56 +0000)]
barebox: add 2013.04.0, remove 2012.12.1

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agonitrogen6x_defconfig: drop double linux tarball location
Peter Korsgaard [Thu, 11 Apr 2013 08:10:48 +0000 (10:10 +0200)]
nitrogen6x_defconfig: drop double linux tarball location

Somehow the old setting wasn't dropped in 184850a42 (bump u-boot /
linux versions to current stable).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosupport/kconfig: add support for olddefconfig
Thomas Petazzoni [Thu, 4 Apr 2013 11:24:25 +0000 (11:24 +0000)]
support/kconfig: add support for olddefconfig

olddefconfig is a new target available in kconfig that allows to take
an old .config file, and update it to the latest version of the code,
without being asked for questions: it automatically assumes the
default value for options whose value was not defined.

It for example allows to take a minimal defconfig, copy it as .config,
and do 'make olddefconfig' to get the full .config.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agosupport/kconfig: upgrade to 3.9-rc2
Thomas Petazzoni [Thu, 4 Apr 2013 11:24:24 +0000 (11:24 +0000)]
support/kconfig: upgrade to 3.9-rc2

Our kconfig code is updated to the version of kernel 3.9-rc2. No major
issues during the migration, except:

 * Some conflicts when applying 03-change-config-option-prefix.patch
   due to upstream kernel changes.

 * The need of adding a new patch, 15-fix-qconf-moc-rule.patch, to fix
   the make rule that generates the moc file for the Qt-based
   interface.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agocifs-utils: bump to version 6.0
Gustavo Zacarias [Thu, 4 Apr 2013 09:09:16 +0000 (09:09 +0000)]
cifs-utils: bump to version 6.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoffmpeg: adjust ARM optimizations
Gustavo Zacarias [Thu, 4 Apr 2013 07:29:48 +0000 (07:29 +0000)]
ffmpeg: adjust ARM optimizations

We no longer support ARM less than v3 so kill dead code.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agospeex: adjust ARM optimizations
Gustavo Zacarias [Thu, 4 Apr 2013 07:29:47 +0000 (07:29 +0000)]
speex: adjust ARM optimizations

We no longer support ARM less than v4 so drop the generic asm option.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agoopenssl: adjust ARM optimizations
Gustavo Zacarias [Thu, 4 Apr 2013 07:29:46 +0000 (07:29 +0000)]
openssl: adjust ARM optimizations

We no longer support ARM less than v4 so just kill dead code that we had
for those cases.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain/arm: drop generic and old, add fa526/626, unify strongarm
Gustavo Zacarias [Thu, 4 Apr 2013 07:29:45 +0000 (07:29 +0000)]
toolchain/arm: drop generic and old, add fa526/626, unify strongarm

* Add Faraday FA526/626 as suggested on bug #1291
Note however that these cores are v4 and NOT v4t.

* Make the sa110 & sa1110 cores -> strongarm since they're the same.

* Drop all of the ARM variants lower than v4 including generic, there's
no point in supporting obsolete targets.

* Fix uClibc USE_BX logic, it was always on, this would break the new
FA526/626 support and broke StrongARM since it's a v4 core.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agokismet: bump to version 2013-03-R1a
Gustavo Zacarias [Thu, 4 Apr 2013 02:21:14 +0000 (02:21 +0000)]
kismet: bump to version 2013-03-R1a

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain-external: Only show MICROBLAZEBE_14_3 toolchain for BE systems
Peter Korsgaard [Thu, 11 Apr 2013 05:50:53 +0000 (07:50 +0200)]
toolchain-external: Only show MICROBLAZEBE_14_3 toolchain for BE systems

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain-external: get old microblaze toolchains from sources.buildroot.net
Peter Korsgaard [Thu, 11 Apr 2013 05:48:18 +0000 (07:48 +0200)]
toolchain-external: get old microblaze toolchains from sources.buildroot.net

git.xilinx.com is no longer available (moved to github), and github
doesn't allow downloading the tarball blobs directly, so use a local
mirror on sources.buildroot.net instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agouboot: simplify patch wildcard for BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR
Peter Korsgaard [Wed, 10 Apr 2013 22:16:10 +0000 (00:16 +0200)]
uboot: simplify patch wildcard for BR2_TARGET_UBOOT_CUSTOM_PATCH_DIR

To match the logic we have for BR2_LINUX_KERNEL_PATCH. The user has
already specified a custom patch directory, so we don't need to be
so specific about the what file names we accept, and it becomes quite
cumbersome when a custom git version is used.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agocollectd: bump to version 5.1.3
Gustavo Zacarias [Tue, 9 Apr 2013 02:58:48 +0000 (02:58 +0000)]
collectd: bump to version 5.1.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain-external: fix typo in Blackfin toolchain config option
Thomas Petazzoni [Sun, 7 Apr 2013 08:01:01 +0000 (08:01 +0000)]
toolchain-external: fix typo in Blackfin toolchain config option

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain-external: update AArch64 Linaro toolchains
Thomas Petazzoni [Sun, 7 Apr 2013 08:01:00 +0000 (08:01 +0000)]
toolchain-external: update AArch64 Linaro toolchains

Add the AArch64 Linaro toolchains 2013.02 and 2013.03, remove 2012.11
and 2012.12.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agotoolchain-external: update ARM Linaro toolchains
Thomas Petazzoni [Sun, 7 Apr 2013 08:00:59 +0000 (08:00 +0000)]
toolchain-external: update ARM Linaro toolchains

Add the ARM Linaro toolchains 2013.02 and 2013.03, remove 2012.11 and
2012.12.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agompg123: bump to version 1.15.3
Gustavo Zacarias [Sun, 7 Apr 2013 03:39:56 +0000 (03:39 +0000)]
mpg123: bump to version 1.15.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agolinux: bump 3.8.x stable version
Gustavo Zacarias [Fri, 5 Apr 2013 10:48:50 +0000 (10:48 +0000)]
linux: bump 3.8.x stable version

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
11 years agokernel-headers: bump 3.{0, 4, 8}.x stable version and EOL 3.7.x series
Gustavo Zacarias [Fri, 5 Apr 2013 10:48:49 +0000 (10:48 +0000)]
kernel-headers: bump 3.{0, 4, 8}.x stable version and EOL 3.7.x series

The 3.7.x series is EOLed upstream so match that marking it as
deprecated.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>