buildroot.git
10 years agobusybox 1.22.x: disable touch -h
Gustavo Zacarias [Thu, 2 Jan 2014 00:38:31 +0000 (21:38 -0300)]
busybox 1.22.x: disable touch -h

Disable the busybox touch --no-dereference since it requires lutimes
support and breaks old toolchains that don't support it (example:
avr32). Probably nobody cares that much since it's a new feature. Fixes:
http://autobuild.buildroot.net/results/9c2/9c29379719ae5cf5800c0dcb4cf514c5dc15d9b6/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agominicom: bump to version 2.7
Gustavo Zacarias [Wed, 1 Jan 2014 14:04:12 +0000 (11:04 -0300)]
minicom: bump to version 2.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoautomake: bump to version 1.14.1
Gustavo Zacarias [Wed, 1 Jan 2014 13:59:36 +0000 (10:59 -0300)]
automake: bump to version 1.14.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibcgicc: bump to version 3.2.12
Gustavo Zacarias [Wed, 1 Jan 2014 13:58:47 +0000 (10:58 -0300)]
libcgicc: bump to version 3.2.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobusybox: add 1.22.x series, deprecate 1.19.x
Gustavo Zacarias [Wed, 1 Jan 2014 13:58:16 +0000 (10:58 -0300)]
busybox: add 1.22.x series, deprecate 1.19.x

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoiozone: add fix for missing pthread_setaffinity_np()
Thomas Petazzoni [Sun, 29 Dec 2013 17:03:55 +0000 (18:03 +0100)]
iozone: add fix for missing pthread_setaffinity_np()

The iozone code uses the pthread_setaffinity_np() function, but with
uClibc this function is only available when the NPTL thread
implementation is used. Some architectures, such as AVR32 and ARC do
not support the NPTL thread implementation, and therefore lack the
pthread_setaffinity_np() function.

This commit adds a patch that provides an empty implementation of
pthread_setaffinity_np() when we're using uClibc, but not with the
NPTL thread implementation. The reasoning is that there is a very high
chance that the few architectures that do not implement NPTL are
non-SMP architectures, and therefore setting the affinity is not very
useful.

In addition to this, this commit:

 * Renames the existing patch to use a sequence number, in order to
   guarantee a proper ordering when applying patches.

 * Removes the Kconfig dependency on !uClibc 0.9.31, which was
   introduced to prevent AVR32 from failing due to the
   pthread_setaffinity_np(). This conditional is no longer necessary
   due to the new patch, and the conditional was anyway not completely
   working since it was not taking into account the case of external
   toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotransmission: version bump to 2.8.2
Bernd Kuhls [Mon, 30 Dec 2013 17:41:23 +0000 (18:41 +0100)]
transmission: version bump to 2.8.2

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agocivetweb: fix build for xtensa
Baruch Siach [Tue, 31 Dec 2013 09:07:31 +0000 (11:07 +0200)]
civetweb: fix build for xtensa

The civetweb package bundled sqlite3 generates an object that is too large for
the xtensa default placement of literals in a dedicated section. Use
-mtext-section-literal to place literals in the text section.

Fixes
http://autobuild.buildroot.net/results/d14/d142f3ce17ab22cc39f9117c114318c1b5cadfc5/.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolmbench: fix build for xtensa
Baruch Siach [Tue, 31 Dec 2013 09:07:30 +0000 (11:07 +0200)]
lmbench: fix build for xtensa

The lmbench package generates a binary that is too large for the xtensa default
placement of literals in a dedicated section. Use -mtext-section-literal to
place literals in the text section.

Fixes
http://autobuild.buildroot.net/results/afe/afe9f4550e6ac9a41e4ba338773c1d51034273f7/.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agophp: fix build for xtensa
Baruch Siach [Tue, 31 Dec 2013 09:07:29 +0000 (11:07 +0200)]
php: fix build for xtensa

The php package generates a binary that is too large for the xtensa default
placement of literals in a dedicated section. Use -mtext-section-literal to
place literals in the text section.

Fixes
http://autobuild.buildroot.net/results/a9a/a9a1063104402ec28e01560ec7c8f8a5b6d43dd5/.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotaglib: depend on zlib if appropriate
Bernd Kuhls [Mon, 30 Dec 2013 18:02:49 +0000 (19:02 +0100)]
taglib: depend on zlib if appropriate

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain-external: add support for the Blackfin 2013R1 toolchain
Thomas Petazzoni [Fri, 27 Dec 2013 11:32:22 +0000 (12:32 +0100)]
toolchain-external: add support for the Blackfin 2013R1 toolchain

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain-external: mark Microblaze external toolchains as deprecated
Thomas Petazzoni [Fri, 27 Dec 2013 11:32:21 +0000 (12:32 +0100)]
toolchain-external: mark Microblaze external toolchains as deprecated

The Xilinx Microblaze external toolchains that we had support for are
very old, and are causing a huge number of build issues. Thanks to
Spenser Gilliland, we now have support for Microblaze in the internal
toolchain backend, and the autobuilders have been using the internal
toolchain backend since then. Therefore, it's time to deprecate those
old and unusable external toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain-external: update Linaro AArch64 toolchains
Thomas Petazzoni [Fri, 27 Dec 2013 11:32:20 +0000 (12:32 +0100)]
toolchain-external: update Linaro AArch64 toolchains

Add Linaro AArch64 2013.10 and Linaro AArch64 2013.11, and remove
Linaro AArch64 2013.07 and Linaro AArch64 2013.08.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agotoolchain-external: update Linaro ARM toolchains
Thomas Petazzoni [Fri, 27 Dec 2013 11:32:19 +0000 (12:32 +0100)]
toolchain-external: update Linaro ARM toolchains

Add Linaro ARM 2013.10 and Linaro ARM 2013.11, and remove Linaro ARM
2013.07 and Linaro ARM 2013.08.

The main change for those versions is the switch to eglibc 2.18.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain-external: add Sourcery MIPS 2013.11, remove Sourcery MIPS 2012.03
Thomas Petazzoni [Fri, 27 Dec 2013 11:32:18 +0000 (12:32 +0100)]
toolchain-external: add Sourcery MIPS 2013.11, remove Sourcery MIPS 2012.03

This commit adds the support for the recently release Sourcery MIPS
2013.11 toolchain (gcc 4.8, gdb 7.6, glibc 2.18), and consequently
removes the support for the Sourcery MIPS 2012.03 toolchain.

While we're at it, also fix the incorrect help text related to the
MIPS64 multilib selection.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agocmake: add patch to fix Qt mkspecs detection
Thomas Petazzoni [Sun, 29 Dec 2013 13:09:46 +0000 (14:09 +0100)]
cmake: add patch to fix Qt mkspecs detection

The FindQt4 macros that search the mkspecs directory had a bug that
prevented the mkspecs directory from being found, causing build
failures of the qjson and grantlee.

Fixes:

  http://autobuild.buildroot.org/results/75b/75b45da597c12034baad50492c0c8150dc1bf0aa/build-end.log
  http://autobuild.buildroot.org/results/3b9/3b9d022b02c4497efed178f35c069ea99a7d3eef/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogrub: add web reference that documents how to generate a splashimage
Thomas Petazzoni [Sun, 29 Dec 2013 17:33:48 +0000 (18:33 +0100)]
grub: add web reference that documents how to generate a splashimage

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agogrub: align splashscreen handling with iso9660 code
Thomas Petazzoni [Sun, 29 Dec 2013 17:33:47 +0000 (18:33 +0100)]
grub: align splashscreen handling with iso9660 code

This commit aligns the Grub handling of the splash screen with what is
done in the ISO9660 code.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agoqt5webkit: depend on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
Fatih Aşıcı [Mon, 30 Dec 2013 09:34:17 +0000 (11:34 +0200)]
qt5webkit: depend on BR2_PACKAGE_QT5_JSCORE_AVAILABLE

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5script: depend on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
Fatih Aşıcı [Mon, 30 Dec 2013 09:34:16 +0000 (11:34 +0200)]
qt5script: depend on BR2_PACKAGE_QT5_JSCORE_AVAILABLE

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5: use a common option for JavaScriptCore dependencies
Fatih Aşıcı [Mon, 30 Dec 2013 09:34:15 +0000 (11:34 +0200)]
qt5: use a common option for JavaScriptCore dependencies

This will be used by other qt packages that contain a copy of
JavaScriptCore.

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxenomai: fix build failure when HAVE_OPEN64 is undefined
Romain Naour [Sun, 29 Dec 2013 22:06:19 +0000 (23:06 +0100)]
xenomai: fix build failure when HAVE_OPEN64 is undefined

fixes: http://autobuild.buildroot.org/results/d59/d590be34637a4043c929ce615f9db504484be435/build-end.log

Upstream patch:
http://git.xenomai.org/xenomai-2.6.git/commit/?id=71345fe15f126ae3a596af309945d0af6edfbbbb

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogstreamer: fix xtensa configure
Baruch Siach [Mon, 30 Dec 2013 10:20:32 +0000 (12:20 +0200)]
gstreamer: fix xtensa configure

Disable unaligned access to avoid configure run test.

Fixes
http://autobuild.buildroot.net/results/a0c/a0cca019b0b2f33b6c2be17e5a44a807bbb4dac1/.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agooprofile: disable on xtensa
Baruch Siach [Mon, 30 Dec 2013 10:00:07 +0000 (12:00 +0200)]
oprofile: disable on xtensa

Missing memory barrier definition. Fixes
http://autobuild.buildroot.net/results/df7/df797a81111fa15de9337adefca05cbac156d0b2/.

Also, add nios2 to the dependencies comment while at it.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofs/iso9660: add Grub splashscreen support
Thomas Petazzoni [Sun, 29 Dec 2013 17:33:46 +0000 (18:33 +0100)]
fs/iso9660: add Grub splashscreen support

When Grub is built with splashscreen support, copy the splashscreen
image to the ISO9660 filesystem. Otherwise, disable the splashscreen
in the grub menu.lst file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agolinux: enable initrd/initramfs support when cpio rootfs is chosen
Thomas Petazzoni [Sun, 29 Dec 2013 17:33:45 +0000 (18:33 +0100)]
linux: enable initrd/initramfs support when cpio rootfs is chosen

When one enables the generation of a cpio archive of the root
filesystem, the most likely usage is as an initramfs for the
kernel. This commit ensures that the kernel has initramfs support when
the rootfs cpio image format is chosen.

This will for example ensure that if the user selects the ISO9660
filesystem format (which uses a cpio initramfs), the kernel will have
proper support to load and use the initramfs.

It is worth mentionning that when BR2_TARGET_ROOTFS_INITRAMFS is
enabled, then BR2_TARGET_ROOTFS_CPIO is always enabled. That's why we
move the enabling of CONFIG_BLK_DEV_INITRD from the initramfs case to
the cpio case.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agolockdev: Fix TARGET_DIR link
Bernd Kuhls [Sun, 29 Dec 2013 17:31:27 +0000 (18:31 +0100)]
lockdev: Fix TARGET_DIR link

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain-external: add Sourcery ARM 2013.11, remove Sourcery ARM 2011.09
Thomas Petazzoni [Fri, 27 Dec 2013 11:32:17 +0000 (12:32 +0100)]
toolchain-external: add Sourcery ARM 2013.11, remove Sourcery ARM 2011.09

This commit adds the support for the recently release Sourcery ARM
2013.11 toolchain (gcc 4.8, gdb 7.6, glibc 2.18), and consequently
removes the support for the Sourcery ARM 2011.09 toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agofs/iso9660: do not use an initrd in iso image when using initramfs
Thierry Bultel [Sat, 28 Dec 2013 14:56:37 +0000 (15:56 +0100)]
fs/iso9660: do not use an initrd in iso image when using initramfs

When using initramfs built into the kernel, it is useless to put an
initrd in the iso image.  This patch makes the image to only contain
the kernel image, and also removes the initrd line from menu.lst

Signed-off-by: Thierry Bultel <thierry.bultel@wanadoo.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogstreamer1: fix xtensa configure
Baruch Siach [Sun, 29 Dec 2013 11:30:55 +0000 (13:30 +0200)]
gstreamer1: fix xtensa configure

Disable unaligned access to avoid configure run test.

Fixes
http://autobuild.buildroot.net/results/1fb/1fb5bde77ea84f13fe8db7dedda5b8a29671b939/.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agouclibc: add a special Xtensa version
Thomas Petazzoni [Sun, 29 Dec 2013 11:26:26 +0000 (13:26 +0200)]
uclibc: add a special Xtensa version

Currently, the Xtensa architecture uses the "snapshot" version of
uClibc. This means that the build is not reproducible, since it will
pick whatever latest version of uClibc is available at the moment of
the build.

This commit replaces that by adding a special Xtensa version, which
points to a well-known Git commit. This is something we should
hopefully be able to remove once the uClibc people realize that doing
a 0.9.34 release would be useful.

Should probably fix:

  http://autobuild.buildroot.org/results/5d6/5d6072a038acf894d832704e36c1d43f0254abf5/build-end.log

at least I wasn't able to reproduce the build problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[baruch: use a more recent uClibc version]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogrub: really disable splash screen support
Thomas Petazzoni [Sat, 28 Dec 2013 14:56:38 +0000 (15:56 +0100)]
grub: really disable splash screen support

When BR2_TARGET_GRUB_SPLASH is enabled, we were passing
--enable-graphics, but when it was disabled, we were not doing
anything. However, in Grub, graphics support is enabled by default,
and you have to pass --disable-graphics to disable it.

Fix this by passing --enable-graphics or --disable-graphics as
appropriate.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agofs/iso9660: select ISO9660 support in Grub
Thomas Petazzoni [Sat, 28 Dec 2013 14:56:35 +0000 (15:56 +0100)]
fs/iso9660: select ISO9660 support in Grub

The fs/iso9660 logic assumes that the Grub bootloader is
used. Therefore, it should make sure that Grub is configured with the
support for the ISO9660 filesystem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agogrub: replace string option for filesystem selection by booleans
Thomas Petazzoni [Sat, 28 Dec 2013 14:56:34 +0000 (15:56 +0100)]
grub: replace string option for filesystem selection by booleans

In 1cece2813bf635ae29e9a8287322439b9c5992f7 (grub: add option to
configure the list of supported filesystems), we introduced the
BR2_TARGET_GRUB_FS_SUPPORT option which allows to provide a
space-separated list of filesystems that Grub should support.

However, it turns out that this not very practical, because the
iso9660 filesystem logic in Buildroot should force the ISO9660 support
to be enabled in Grub, which is not easy to do with a string option.

Therefore, this patch changes this option from a string option to a
list of boolean option, one per filesystem supported.

A few useful details:

 - Since Grub legacy is dead, the list of filesystem, and therefore
   the number of options, will not grow.

 - We have only added options for filesystems that are likely to be
   used in an embedded Linux context. Filesystems such as VSTAfs,
   Minix, UFS2 or FFS2 are not supported.

 - There is no need to add some Config.in.legacy support for the
   previous option, since it was added after Buildroot 2013.11, and
   was therefore never part of an official Buildroot release.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agogrub: enclose network driver options in a sub-menu
Thomas Petazzoni [Sat, 28 Dec 2013 14:56:33 +0000 (15:56 +0100)]
grub: enclose network driver options in a sub-menu

In preparation to a change to the configuration options of the
supported filesystem in Grub, enclose the network driver options in a
sub-menu.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agofs/iso9660: put the Buildroot boot entry first in Grub menu.lst
Thomas Petazzoni [Sat, 28 Dec 2013 14:56:32 +0000 (15:56 +0100)]
fs/iso9660: put the Buildroot boot entry first in Grub menu.lst

The ISO9660-specific Grub menu.lst contains two entries: one entry to
chainload the bootloader available in the first hard drive, and
another entry to boot the Buildroot system.

However, it defaults to booting the first entry, i.e chainloading
what's on the first hard drive. For a Buildroot generated system, this
is quite odd: we're not even booting the system built by Buildroot.

So, switch the two entries, and put the Buildroot boot entry first.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agographs: support generating png graphs
Yann E. MORIN [Sat, 28 Dec 2013 17:39:13 +0000 (18:39 +0100)]
graphs: support generating png graphs

PDF files can not be easily embedded in other documents (eg. ODT, or HTML).

Add support for generating PNG graphs, by setting the GRAPH_OUT=pdf|png on
the command line:
    make GRAPH_OUT=png graph-build graph-depends

The default is still to generate PDF graphs.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoMakefile: expose 'graph-depends' to generate a graph of the dependency tree
Yann E. MORIN [Sat, 28 Dec 2013 17:39:12 +0000 (18:39 +0100)]
Makefile: expose 'graph-depends' to generate a graph of the dependency tree

Generate the graph of the complete dependency tree by calling:
    make graph-depends

It's also possible to generate the graph-depends for a single package:
    make PKG-graph-depends

The graphs are generated in $(O)/graphs/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoMakefile: expose target 'graph-build' to generate the build-time graphs
Yann E. MORIN [Sat, 28 Dec 2013 17:39:11 +0000 (18:39 +0100)]
Makefile: expose target 'graph-build' to generate the build-time graphs

Generate the build-time graphs by calling:
    make graph-build

This generates the graphs in $(O)/graphs/

It is possible to use the alternate color-scheme by setting the variable
GRAPH_ALT=1 on the command line:
    make GRAPH_ALT=1 graph-build

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agograph-build-time: generate graphs based on timing data
Thomas Petazzoni [Sat, 28 Dec 2013 17:39:10 +0000 (18:39 +0100)]
graph-build-time: generate graphs based on timing data

This script generates graphs of packages build time, from the timing
data generated by Buildroot in the $(O)/build-time.log file.

Example usage:

  ./support/scripts/graph-build-time \
      --type=histogram --input=$(O)/build-time.log --output=foobar.pdf

Three graph types are available :

  * histogram, which creates an histogram of the build time for each
    package, decomposed by each step (extract, patch, configure,
    etc.). The order in which the packages are shown is
    configurable: by package name, by build order, or by duration
    order. See the --order option.

  * pie-packages, which creates a pie chart of the build time of
    each package (without decomposition in steps). Packages that
    contributed to less than 1% of the overall build time are all
    grouped together in an "Other" entry.

  * pie-steps, which creates a pie chart of the time spent globally
    on each step (extract, patch, configure, etc...)

The default is to generate an histogram ordered by package name.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[yann.morin.1998@free.fr: adapt to the format of the step-hooks build-time.log,
    add sort order by name, default to name-ordered histogram, use our colours
    for pie-charts, add alternate color-scheme, add short-options, add
    --input/-i]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxenomai: enable armv5tej support
Romain Naour [Sat, 28 Dec 2013 17:10:59 +0000 (18:10 +0100)]
xenomai: enable armv5tej support

The br-arm-full-2013.11-rc2 toolchain is builded with arch=armv5te
and tune=arm926ej-s, which is not recognized by xenomai.

fixes: http://autobuild.buildroot.net/results/e3b/e3b534dafb6dd7d788b0c3629ccc0b25702790f0/build-end.log

This patch has already been merged upstream:

http://git.xenomai.org/xenomai-2.6.git/commit/?id=ebc2779baa222db4a5936c3d3022803355585b8c

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxenomai: bump to version 2.6.3
Romain Naour [Sat, 28 Dec 2013 17:10:58 +0000 (18:10 +0100)]
xenomai: bump to version 2.6.3

Add --disable-doc-install to configure script.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoavrdude: add missing dependencies on host-flex and host-bison
Thomas Petazzoni [Sun, 29 Dec 2013 10:59:39 +0000 (11:59 +0100)]
avrdude: add missing dependencies on host-flex and host-bison

Fixes:

  http://autobuild.buildroot.org/results/374/374608a852e66b89d02bbee1199a8dc9817d3aa0/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofswebcam: new package
Lucas De Marchi [Sat, 28 Dec 2013 13:00:39 +0000 (11:00 -0200)]
fswebcam: new package

[Thomas:
 - use the autotools-package infrastructure, since the package uses an
   autoconf configure script.
 - remove uninstall and clean commands since those are no longer
   supported by Buildroot.
 - rewrap the help text.
 - order alphabetically the package in package/Config.in]

Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoavrdude: new package
Wojciech M. Zabolotny [Tue, 24 Dec 2013 22:38:00 +0000 (23:38 +0100)]
avrdude: new package

[Thomas:
 - remove empty newline at the end of Config.in
 - use lowercase for the package name in the comment header
 - reword the comment explaining why autoreconf is needed
 - add optional dependency on libftdi, which avrdude can use
 - remove avrdude.conf.bak file from /etc]

Signed-off-by: Wojciech M. Zabolotny <wzab01@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/kconfig: Fix remaining 'kernel' mention
Maxime Hadjinlian [Fri, 27 Dec 2013 21:18:29 +0000 (22:18 +0100)]
support/kconfig: Fix remaining 'kernel' mention

This patch update the patch for kernel's kconfig to add remaining
'kernel' mention.
It also applies this patch to buildroot's kconfig.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/kconfig: Update kconfig to 3.13-rc5
Maxime Hadjinlian [Fri, 27 Dec 2013 21:18:28 +0000 (22:18 +0100)]
support/kconfig: Update kconfig to 3.13-rc5

Only minor changes are registered, mainly help text.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agologrotate: bump to version 3.8.7
Axel Lin [Sat, 28 Dec 2013 02:22:28 +0000 (10:22 +0800)]
logrotate: bump to version 3.8.7

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibevdev: fix minor typo
Thomas Petazzoni [Sat, 28 Dec 2013 14:58:16 +0000 (15:58 +0100)]
libevdev: fix minor typo

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libevdev: add dependency on host-python
Yann E. MORIN [Sat, 28 Dec 2013 12:27:52 +0000 (13:27 +0100)]
package/libevdev: add dependency on host-python

libevdev needs python to generate a header file. We can't rely on the
1system pPython, since it may be too old (missing argparse in python
2.6).

Fixes:
    http://autobuild.buildroot.net/results/1f5c0689ae129ae5fa30f31a4f47ccbd7705ff00/
    http://autobuild.buildroot.net/results/1729043d9c977a59a4fdd7ccd3d16cfc8aef7678/
    http://autobuild.buildroot.net/results/3ab080e96576e0012fea853009811247338e665e/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage: deprecate some more development tools
Thomas Petazzoni [Fri, 27 Dec 2013 11:50:20 +0000 (12:50 +0100)]
package: deprecate some more development tools

Since some time, we have removed the support to build a toolchain for
the target, and therefore the support for several development tools on
the target.

This commit deprecates a few additional development tools: m4, bison,
flex and gob2. For flex, we retain the ability to build libfl, we only
deprecated the ability to build the flex binary itself.

The original motivation for this patch is that m4 is causing build
issues in some configurations, but there isn't really much incentive
to fix this package for the target, since it is not really useful for
embedded Linux systems.

Bison, Flex and Gob2 are deprecated because they are reverse
dependencies of m4.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agoAdd Armadeus systems APF51 SOM basic support.
Julien Boibessot [Fri, 27 Dec 2013 13:04:52 +0000 (14:04 +0100)]
Add Armadeus systems APF51 SOM basic support.

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

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5: disable on avr32
Fatih Aşıcı [Fri, 27 Dec 2013 14:53:10 +0000 (16:53 +0200)]
qt5: disable on avr32

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5base: restore posix_fallocate() patch
Fatih Aşıcı [Fri, 27 Dec 2013 13:27:23 +0000 (15:27 +0200)]
qt5base: restore posix_fallocate() patch

It was removed in e4a839277f7d74104e25fb4fd846f9c2bf3f9c1e.

Fixes: http://autobuild.buildroot.net/results/a24/a249b0cd5b20a2c3eee34b585cd58d4a03a9338e/
Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosnmppp: fix legal informations after version bump
Thomas Petazzoni [Fri, 27 Dec 2013 11:29:14 +0000 (12:29 +0100)]
snmppp: fix legal informations after version bump

Fixes:

  http://autobuild.buildroot.org/results/e64/e64c3edcb00132620b07ad815c6e4d33b70c262f/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5webkit: add upstream patch to fix build on ARM softfp
Fatih Aşıcı [Fri, 27 Dec 2013 08:02:24 +0000 (10:02 +0200)]
qt5webkit: add upstream patch to fix build on ARM softfp

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoimagemagick: bump to version 6.8.8-0
Jerzy Grzegorek [Fri, 27 Dec 2013 07:33:26 +0000 (08:33 +0100)]
imagemagick: bump to version 6.8.8-0

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agocryptsetup: bump to version 1.6.3
Axel Lin [Fri, 27 Dec 2013 06:57:59 +0000 (14:57 +0800)]
cryptsetup: bump to version 1.6.3

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosnmppp: bump to version 3.3.2
Axel Lin [Fri, 27 Dec 2013 01:53:37 +0000 (09:53 +0800)]
snmppp: bump to version 3.3.2

Changes snmp++v3.3.2

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

- Fixed: Regression through [APP-19] which lead to too long timeouts
  on systems with clock_gettime.
- Fixed: Restored missing files (CHANGES, READMEs) to distribution.
- Fixed: Fixed compilation error when using poll syscall.
- Fixed: Do not use _vscprintf as it is not portable, instead just
  truncate the log message.
- Fixed: Fixed test that produced an error during configure:
  checking which _XOPEN_SOURCE macro must be defined...
  ./configure: line 6229: test: : integer expression expected
- Fixed: msec.cpp: timezone is a struct and not a class.

Changes snmp++v3.3.1
====================

- Fixed: Replaced strcasecmp usage in consoleExamples by _stricmp
  for WIN32 platform.
- Improved: Debug output buffer length is now computed exactly on
  WIN32.
- Fixed: Compilation of IPv6Utility.h with Visual Studio 2013.
- Fixed: Removed #define of Uint32 in eventlistholder.h.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoc-ares: new package
Gustavo Zacarias [Thu, 26 Dec 2013 23:23:54 +0000 (20:23 -0300)]
c-ares: new package

Add c-ares library from bug #6482.
Most of the credit goes to Gennady Proskurin <gpq@mail.ru>

[Thomas: fix comment explaining why we need autoreconf.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoMakefile: ignore .config for defconfig
Yann E. MORIN [Thu, 26 Dec 2013 23:04:29 +0000 (00:04 +0100)]
Makefile: ignore .config for defconfig

Currently, we do not include .config for all '%_defconfig' targets, but
we forgot to also exclude plain 'defconfig'.

Reported-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython: fix invalid library paths leaking into the build, and other improvements
Thomas Petazzoni [Sun, 22 Dec 2013 17:02:10 +0000 (18:02 +0100)]
python: fix invalid library paths leaking into the build, and other improvements

This commit improves the cross-compilation patches we have on top of
Python, to fix the problem of host library paths leaking into the
build of target modules, as seen at:

 http://autobuild.buildroot.org/results/fcc/fccd7e08cd9d4713eb4208097dd48c5ab25749bc/build-end.log
 http://autobuild.buildroot.org/results/0bd/0bda780bf4b759b12edec26ac20b88cde617db4d/build-end.log

To do so, it ensures that the right python2.7/config/Makefile is used
when building target modules, and adjusts at runtime the paths read
from this Makefile if we are cross-compiling.

In addition, it installs the pgen program into the host directory, and
points the target python build to use python and pgen from $(HOST_DIR)
instead of from the host python source directory, which looks cleaner.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage: fix alphabetical ordering after libevdev addition
Thomas Petazzoni [Thu, 26 Dec 2013 22:28:46 +0000 (23:28 +0100)]
package: fix alphabetical ordering after libevdev addition

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibevdev: new package
Naumann Andreas [Fri, 20 Dec 2013 15:05:23 +0000 (16:05 +0100)]
libevdev: new package

[Thomas: fix license details, improve comment explaining why
 autoreconf is needed.]

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoarch: pass cpu option instead of tune option on ARM
Thomas Petazzoni [Sat, 2 Nov 2013 15:39:06 +0000 (16:39 +0100)]
arch: pass cpu option instead of tune option on ARM

Currently, the ARM Config.in logic specifies values for
--with-arch/-march and --with-tune/-mtune, but not for
--with-cpu/-mcpu. However, this causes problems on ARMv4, because
specifying --with-arch=armv4t isn't enough to make gcc generate ARMv4
code: one should also pass --with-cpu=<some ARMv4 CPU>.

Moreover, since Buildroot is generally designed to generate code
specifically for the configured target, it makes sense to give our own
--with-cpu/-mcpu value instead of relying on the default value used by
gcc, and only do small optimizations with -mtune.

Reported-by: Adam Hussein <kryme76@yahoo.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
10 years agobluez_utils: broken for static builds
Vicente Olivert Riera [Thu, 5 Dec 2013 17:56:48 +0000 (17:56 +0000)]
bluez_utils: broken for static builds

The bluez_utils package requires shared library support unconditionally.
We can't fix it to make it build on static because, for instance,
"plugin.c" file uses dlfcn and it's a basic prereq for bluetoothd, so
add "depend on !BR2_PREFER_STATIC_LIB" to it and recursively to all
packages that selects BR2_PACKAGE_BLUEZ_UTILS.

Fixes:

   http://autobuild.buildroot.net/results/d81/d81970024649c1e89c01da491c63760afdad6cb6/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoaiccu: disable for uClibc 0.9.31/0.9.32
Thomas Petazzoni [Thu, 26 Dec 2013 17:42:22 +0000 (18:42 +0100)]
aiccu: disable for uClibc 0.9.31/0.9.32

aiccu uses the dn_skipname() function, which was only introduced in
uClibc 0.9.33. Therefore, we disable this package when uClibc 0.9.31
and 0.9.32. Most likely, only AVR32 users will be affected by this, so
we don't add a specific kconfig comment for that.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
10 years agofreetype: bump to version 2.5.2
Gustavo Zacarias [Thu, 26 Dec 2013 20:02:18 +0000 (17:02 -0300)]
freetype: bump to version 2.5.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage: add <PKG>_VERSION_MAJOR variable
Jerzy Grzegorek [Mon, 23 Dec 2013 08:36:48 +0000 (09:36 +0100)]
package: add <PKG>_VERSION_MAJOR variable

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibmpd: change download URL
Jerzy Grzegorek [Mon, 23 Dec 2013 08:36:47 +0000 (09:36 +0100)]
libmpd: change download URL

The old and new URLs are equivalent, but the new URL is not specific
to an older version of libmpd, which seems more logical.

[Thomas: update commit log.]

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotzdata/zic: bump to version 2013i
Axel Lin [Thu, 26 Dec 2013 02:51:27 +0000 (10:51 +0800)]
tzdata/zic: bump to version 2013i

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agocramfs: add licensing info
Axel Lin [Thu, 26 Dec 2013 02:02:26 +0000 (10:02 +0800)]
cramfs: add licensing info

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoulogd: disable DB backends if no threads
Gustavo Zacarias [Thu, 26 Dec 2013 11:34:42 +0000 (08:34 -0300)]
ulogd: disable DB backends if no threads

Database backends need threads even if sqlite does not.
The mysql client libs need them too but include them in the exclusion
closure anyway to state it very clearly. Fixes:
http://autobuild.buildroot.net/results/1ce/1cece0db309dfe5cecc69e88b02428615ed87316/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowireshark: bump to version 1.10.5
Gustavo Zacarias [Thu, 26 Dec 2013 12:00:12 +0000 (09:00 -0300)]
wireshark: bump to version 1.10.5

Fixes a couple of runtime regressions from the 1.10.4 security release.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoinadyn: bump to version 1.99.6
Gustavo Zacarias [Thu, 26 Dec 2013 12:16:35 +0000 (09:16 -0300)]
inadyn: bump to version 1.99.6

Also switch to github helper and install sample configuration file mode
600 - o+r is really bad for password-bearing configuration files.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoboard: updates APF28 SOM support to Linux 3.12
Julien Boibessot [Thu, 26 Dec 2013 12:54:53 +0000 (13:54 +0100)]
board: updates APF28 SOM support to Linux 3.12

Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogdbm: bump to version 1.11 and fix license
Gustavo Zacarias [Thu, 26 Dec 2013 17:02:09 +0000 (14:02 -0300)]
gdbm: bump to version 1.11 and fix license

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agognutls: add crywrap clock_gettime patch
Gustavo Zacarias [Thu, 26 Dec 2013 16:13:56 +0000 (13:13 -0300)]
gnutls: add crywrap clock_gettime patch

Fixes:
http://autobuild.buildroot.net/results/1bd/1bd67b616e996d684dd584576569517f4653addd/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowireless-regdb: bump to 2013.11.27
Gustavo Zacarias [Thu, 26 Dec 2013 17:39:46 +0000 (14:39 -0300)]
wireless-regdb: bump to 2013.11.27

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/linux-firmware: install license files with 'make legal-info'
Yann E. MORIN [Wed, 25 Dec 2013 20:29:06 +0000 (21:29 +0100)]
package/linux-firmware: install license files with 'make legal-info'

Currently, the license files for the many firmware files are installed
in the target, alongside the firmware files, and are not available to the
legal-info infrastructture.

This patch separates the license files from the firmware files, and makes
them available to the legal-info infrastructure, so they get installed
with all the other license files.

Since most firmware files are proprietary (at least those we currently
install), we just have a single license definition. When we later support
other firmwares that have an OSS license, those can add their own
licensing information on a case-by-case basis.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/linux-firmware: add Atheros 9170 firmware
Yann E. MORIN [Wed, 25 Dec 2013 20:29:05 +0000 (21:29 +0100)]
package/linux-firmware: add Atheros 9170 firmware

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/linux-firmware: bump version
Yann E. MORIN [Wed, 25 Dec 2013 20:29:04 +0000 (21:29 +0100)]
package/linux-firmware: bump version

Get a bunch of new firmwares, and some firmware bumps.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoconfigs: bump kernel for raspberrypi_defconfig
Yann E. MORIN [Wed, 25 Dec 2013 20:29:03 +0000 (21:29 +0100)]
configs: bump kernel for raspberrypi_defconfig

Bump to the latest /stable/ linux 3.10.y for the Raspberry Pi defconfig.

Brings in quite a few bug-fixes (now based on 3.10.25), and a few
(minor) improvements (add DAC support).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofio: prevent selection with unusable uClibc versions
Thomas Petazzoni [Thu, 26 Dec 2013 09:44:45 +0000 (10:44 +0100)]
fio: prevent selection with unusable uClibc versions

The fio program uses posix_madvise(). However, posix_madvise() is only
available in the Git tree of uClibc, and in Buildroot's version of
uClibc 0.9.33, thanks to the huge number of backported patches that we
carry.

Therefore, trying to build fio with an external uClibc toolchain is
most likely going to fail (as the uClibc version is most likely an
official stable release, and no stable release of uClibc ever had the
support for posix_madvise()). And similarly, building fio with uClibc
0.9.31 and 0.9.32 is always going to fail. We disable those use cases
to avoid repeated autobuilder failures.

No kconfig comment has been added, because we don't have a
well-defined way of specifying such exceptions.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/cryptodev: switch to package-defined providers
Yann E. MORIN [Fri, 20 Dec 2013 22:27:59 +0000 (23:27 +0100)]
package/cryptodev: switch to package-defined providers

For the underlying reasons, see previous patch, titled:
    package/opengl/libegl: switch to package-defined providers

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>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/libjpeg: switch to package-defined providers
Yann E. MORIN [Fri, 20 Dec 2013 22:27:58 +0000 (23:27 +0100)]
package/libjpeg: switch to package-defined providers

For the underlying reasons, see previous patch, titled:
    package/opengl/libegl: switch to package-defined providers

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>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/powervr: switch to package-defined providers
Yann E. MORIN [Fri, 20 Dec 2013 22:27:57 +0000 (23:27 +0100)]
package/powervr: switch to package-defined providers

For the underlying reasons, see previous patch, titled:
    package/opengl/libegl: switch to package-defined providers

Reported-by: David Corvoysier <david.corvoysier@orange.com>
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>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/opengl/libopenmax: switch to package-defined providers
Yann E. MORIN [Fri, 20 Dec 2013 22:27:56 +0000 (23:27 +0100)]
package/opengl/libopenmax: switch to package-defined providers

For the underlying reasons, see previous patch, titled:
    package/opengl/libegl: switch to package-defined providers

Reported-by: David Corvoysier <david.corvoysier@orange.com>
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>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/opengl/libopenvg: switch to package-defined providers
Yann E. MORIN [Fri, 20 Dec 2013 22:27:55 +0000 (23:27 +0100)]
package/opengl/libopenvg: switch to package-defined providers

For the underlying reasons, see previous patch, titled:
    package/opengl/libegl: switch to package-defined providers

Reported-by: David Corvoysier <david.corvoysier@orange.com>
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>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/opengl/libgles: switch to package-defined providers
Yann E. MORIN [Fri, 20 Dec 2013 22:27:54 +0000 (23:27 +0100)]
package/opengl/libgles: switch to package-defined providers

For the underlying reasons, see previous patch, titled:
    package/opengl/libegl: switch to package-defined providers

Reported-by: David Corvoysier <david.corvoysier@orange.com>
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>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/opengl/libegl: switch to package-defined providers
Yann E. MORIN [Fri, 20 Dec 2013 22:27:53 +0000 (23:27 +0100)]
package/opengl/libegl: switch to package-defined providers

It seems weird that the libegl package has to know all of the packages
that may provide the EGL implementation.

This also breaks implementation provided by packages in BR2_EXTERNAL,
since we can't easily depend on the order of packages before we can
derive the dependencies of libegl.

So, Arnout and I separately came up to the same conclusion: move the
dependency selection from out of libegl, and into each of the packages
that provides an EGL implementation. Here it is.

Since we no longer depend on the order packages are included, but on
values set at Kconfig-time, we can now have EGL providers in BR2_EXTERNAL.

Reported-by: David Corvoysier <david.corvoysier@orange.com>
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>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5connectivity: new package
Fatih Aşıcı [Wed, 25 Dec 2013 13:36:34 +0000 (15:36 +0200)]
qt5connectivity: new package

QtNfc is not installed since it is not supported on Linux.

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5: install headers into /usr/include/qt5
Fatih Aşıcı [Tue, 24 Dec 2013 06:53:57 +0000 (08:53 +0200)]
qt5: install headers into /usr/include/qt5

There are places in Qt's source where headers included with the name of
the module subdirectory (e.g. #include <QtCore/QHash>). Therefore, the
build system passes the top header directory to the compiler; but this
results in a error when building host tools since sysroot/usr/include
directory includes architecture specific system headers.

In order to prevent this, install all Qt headers into a subdirectory in
/usr/include.

Fixes: http://autobuild.buildroot.net/results/4f1/4f16c0b38bdd6e40efcc781c12fae81c0bfabb72/
Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5: remove qt5jsbackend package
Fatih Aşıcı [Tue, 24 Dec 2013 06:34:51 +0000 (08:34 +0200)]
qt5: remove qt5jsbackend package

Upstream did not release a new version of this package since it is
superseded by the builtin qml engine found in new qt5declarative.

Fixes: http://autobuild.buildroot.net/results/3861aa91e03154c7d20f4157f0c3a1fa14838af1/
Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agonetsnmp: do not force --disable-static
universe II [Mon, 18 Nov 2013 15:02:18 +0000 (16:02 +0100)]
netsnmp: do not force --disable-static

The following patch enables the generation of static libraries
additionally to the shared ones for the netsnmp package.

[Thomas: fixed commit log.]

Signed-off-by: Andreas Ehmanns <universeii@gmx.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolua: remove a too invasive patch
Francois Perrad [Sun, 22 Dec 2013 20:42:11 +0000 (21:42 +0100)]
lua: remove a too invasive patch

the static version of luac is enough

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: update for multiple global patch dirs
Ryan Barnett [Wed, 18 Dec 2013 10:25:02 +0000 (04:25 -0600)]
manual: update for multiple global patch dirs

Updating the documentation to reflect that multiple directories can
now be specified for BR2_GLOBAL_PATCH_DIR. Along with giving an
example use case of how to use multiple global patch directories.

[Thomas: fix minor typo mentionned by Thomas De Schampheleire.]

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoSupport for multiple BR2_GLOBAL_PATCH_DIR
Ryan Barnett [Wed, 18 Dec 2013 10:25:01 +0000 (04:25 -0600)]
Support for multiple BR2_GLOBAL_PATCH_DIR

Adding support for specifying multiple directories in
BR2_GLOBAL_PATCH_DIR. This will allow for a layered approach for the
patching of a package.

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agognutls: fix libopts detection causing build failures
Thomas Petazzoni [Wed, 25 Dec 2013 16:14:44 +0000 (17:14 +0100)]
gnutls: fix libopts detection causing build failures

Following the recent bump of gnutls to version 3.2.8, the build
started to fail on some machines where libopts is installed on the
system: gnutls configure script was incorrectly assuming that libopts
was available.

Since we don't have a package in Buildroot, this commit tells gnutls
to use its builtin libopts version.

Fixes (tested on gcc20):

  http://autobuild.buildroot.org/results/18f/18f61b3be6aed73f83b449b5082492a4a6ba8ffb/build-end.log

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