buildroot.git
10 years agomanual: contributing: minor rewording of 'submitting patches' section
Thomas De Schampheleire [Thu, 6 Mar 2014 10:07:32 +0000 (11:07 +0100)]
manual: contributing: minor rewording of 'submitting patches' section

This patch makes some minor changes to the section about submitting patches.
Content-wise there are little changes.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: contributing: add section on TODO list
Thomas De Schampheleire [Thu, 6 Mar 2014 10:07:31 +0000 (11:07 +0100)]
manual: contributing: add section on TODO list

This patch adds a small section about working on items from the TODO list.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: contributing: move section on patch reviews up and change intro
Thomas De Schampheleire [Thu, 6 Mar 2014 10:07:30 +0000 (11:07 +0100)]
manual: contributing: move section on patch reviews up and change intro

This patch moves the section about patch reviews and the
Tested-by/Reviewed-by/Acked-by tags upwards. Additionally, the first
paragraph is removed and replaced by another one. There are no other changes
in the text.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: contributing: move and expand autobuild section
Thomas De Schampheleire [Thu, 6 Mar 2014 10:07:29 +0000 (11:07 +0100)]
manual: contributing: move and expand autobuild section

This patch moves the section about autobuild fixing up, and expands it with
more details about what autobuilds are, and how you can help with it.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogst1-plugins-bad: add missing opencv ml module dependency
Samuel Martin [Wed, 5 Mar 2014 22:55:30 +0000 (23:55 +0100)]
gst1-plugins-bad: add missing opencv ml module dependency

gst1-plugins-bad source code does include the old-style global opencv
header "opencv/cv.h", which includes headers from the core, imgproc,
video, features2d, flann, calib3d, objdetect and legacy modules.

However, the legacy module, in addition to headers from some of the
previously listed modules, also includes headers from the ml module.

Thus, the ml module must be selected to be able to build the legacy
one, so the gst-plugins-bad's opencv plugin.

Fixes:
  http://autobuild.buildroot.net/results/d02/d02e1843ef90f4b40c99e3b23eddf376f827d46e/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibxmlrpc: disable parallel build
Alvaro G. M [Thu, 6 Mar 2014 08:53:33 +0000 (09:53 +0100)]
libxmlrpc: disable parallel build

Although upstream tries to support parallel builds, there are several
dependencies that, if fixed, would end up making the library build
linearly, so in the end there would be no benefit to fix those.

Fixes:

  http://autobuild.buildroot.net/results/996/996fc95b302fb6dfc7cd9a468fd395226a36c6c4/

Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Alvaro G. M. <alvaro.gamez@hazent.com>
Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibnspr: add support for AArch64
Alexander Khryukin [Mon, 18 Mar 2013 21:20:17 +0000 (01:20 +0400)]
libnspr: add support for AArch64

Signed-off-by: Alexander Khryukin <alexander@mezon.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain/wrapper: rename BR_DEBUG_WRAPPER
Yann E. MORIN [Mon, 3 Mar 2014 22:55:05 +0000 (23:55 +0100)]
toolchain/wrapper: rename BR_DEBUG_WRAPPER

The user-facing variables should be prefixed with BR2_, not BR_.

Also quote the variable in the manual.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agohost-python{, 3}: fix parallel install of libpython
Arnout Vandecappelle [Tue, 4 Mar 2014 23:29:49 +0000 (00:29 +0100)]
host-python{, 3}: fix parallel install of libpython

During installation, host-python and host-python3 run the freshly built
python executable. This is done with a proper LD_LIBRARY_PATH to make
sure it picks up the libpython in the build directory. However, the
python binary has an RPATH pointing to the $(HOST_DIR)/usr/lib.
Therefore, if libpython exists there, it will be used instead.

If the install step is run in parallel, it is possible that libpython
is already partially copied to $(HOST_DIR)/usr/lib when python is run.
This gives an error like:

python: error while loading shared libraries: $(HOST_DIR)/usr/lib/libpython3.4m.so.1.0: file too short

The fix is simple: use RUNPATH instead of RPATH, which allows
LD_LIBRARY_PATH to override RUNPATH. That way, the libpython in the
build directory is always used. RUNPATH is enabled by passing
--enable-new-dtags to the linker.

Fixes e.g.
http://autobuild.buildroot.net/results/2a6/2a62de3247ba5ad273f03d01e690a3eeb11aa7b4

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: contributing: add section on analyzing bug reports
Thomas De Schampheleire [Wed, 5 Mar 2014 16:24:28 +0000 (17:24 +0100)]
manual: contributing: add section on analyzing bug reports

This patch adds a small section to the manual promoting the reproduction,
analysis and fixing of bug reports.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: contributing: expand introduction
Thomas De Schampheleire [Wed, 5 Mar 2014 16:24:27 +0000 (17:24 +0100)]
manual: contributing: expand introduction

This patch expands the introduction of the "Contributing to buildroot"
section. In general, the intention of this and subsequent patches is to
promote non-feature contributions, like autobuild fixes, bug report
analysis, TODO list work, etc.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoimagemagick: bump to version 6.8.8-7
Jerzy Grzegorek [Wed, 5 Mar 2014 07:56:53 +0000 (08:56 +0100)]
imagemagick: bump to version 6.8.8-7

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage: normalize separator size to 80
Jerzy Grzegorek [Wed, 5 Mar 2014 07:56:35 +0000 (08:56 +0100)]
package: normalize separator size to 80

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport: fix typo in mkusers
Philip Paeps [Wed, 5 Mar 2014 10:04:41 +0000 (11:04 +0100)]
support: fix typo in mkusers

This fixes the spurious "[: too many arguments" errors from mkusers.

Signed-off-by: Philip Paeps <philip@paeps.cx>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agontfs-3g: bump to version 2014.2.15
Axel Lin [Wed, 5 Mar 2014 11:32:26 +0000 (19:32 +0800)]
ntfs-3g: bump to version 2014.2.15

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.4
Axel Lin [Wed, 5 Mar 2014 12:50:06 +0000 (20:50 +0800)]
snmppp: bump to version 3.3.4

Changes snmp++v3.3.4:
- Fixed: Incorrect time values conversion in += and -= operators of the
  msec class in msec.cpp.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agokmod: disable --gc-sections ld option when building for xtensa
Max Filippov [Tue, 4 Mar 2014 20:30:31 +0000 (00:30 +0400)]
kmod: disable --gc-sections ld option when building for xtensa

This is a workaround for the following ld issue exhibited by --gc-sections
option, until a proper fix for binutils is ready:

ld: BFD (GNU Binutils) 2.22 internal error, aborting at elf32-xtensa.c line 3374 in elf_xtensa_finish_dynamic_sections

Fixes:

  http://autobuild.buildroot.org/results/97d/97d4c96d6f6cdc1ed4007456f4ab70be9dfa41b5/

Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosamba4: move x86_64 answer cache file
Gustavo Zacarias [Tue, 4 Mar 2014 01:02:03 +0000 (22:02 -0300)]
samba4: move x86_64 answer cache file

The x86_64 answer cache file from commit
d191d40e3fd8cef7fbf3168fdc261de8d4b114fd was intended for a previous
draft version of the samba4 package that resided in a different
directory.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agognutls: security bump to version 3.2.12
Gustavo Zacarias [Tue, 4 Mar 2014 01:02:42 +0000 (22:02 -0300)]
gnutls: security bump to version 3.2.12

Fixes CVE-2014-1959 / GNUTLS-SA-2014-1 and CVE-2014-0092 / GNUTLS-SA-2014.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibnftnl: exclude for CS PPC toolchains
Gustavo Zacarias [Tue, 4 Mar 2014 01:58:50 +0000 (22:58 -0300)]
libnftnl: exclude for CS PPC toolchains

The CS PPC 2011.3 and 2010.9 toolchains have a bad linux/socket.h header
that doesn't define sa_family_t which is used by linux/netlink.h (and
libnftnl).
Patching external toolchain headers wouldn't be too nice and they seem
to be the only CS toolchains affected.
It's definitely NOT a kernel header version issue, the toolchain is
based on 2.6.38 headers and vanilla 2.6.38 has the proper definitions in
place. Fixes:
http://autobuild.buildroot.net/results/1e2/1e2cac84f0faa9b8915a628260ef41765d86e174/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowpa_supplicant: add fix for WPS NFC support
Gustavo Zacarias [Tue, 4 Mar 2014 13:35:13 +0000 (10:35 -0300)]
wpa_supplicant: add fix for WPS NFC support

WPS NFC support wouldn't build properly unless AP mode was enabled.
Add upstream fix to correct this and enable NFC support.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowpa_supplicant: fix static linking
Gustavo Zacarias [Tue, 4 Mar 2014 13:35:12 +0000 (10:35 -0300)]
wpa_supplicant: fix static linking

wpa_supplicant doesn't use pkg-config and upstream likely wouldn't take
a patch to do so (hostapd/wpa_supplicant are used in android builds, and
it doesn't use any auto* stuff either) so pass it in LIBS* since we
always build openssl with libz support.

Made ugly by the fact that wpa_supplicant uses LIBS for the
wpa_supplicant binary, LIBS_c for the wpa_cli binary and LIBS_p for the
wpa_passphrase binary.

Also do f62a1d887aee642593b3f9507d6f3ebcd82219d0 here too since it
applies when libnl is used.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agohostapd: fix static linking
Gustavo Zacarias [Tue, 4 Mar 2014 13:35:11 +0000 (10:35 -0300)]
hostapd: fix static linking

A rebase of Samuel Martin's http://patchwork.ozlabs.org/patch/312320/
hostapd doesn't use pkg-config and upstream likely wouldn't take a patch
to do so (hostapd/wpa_supplicant are used in android builds, and it
doesn't use any auto* stuff either) so pass it in LIBS since we
always build openssl with libz support.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoeudev: disable manpages
Gustavo Zacarias [Tue, 4 Mar 2014 16:30:11 +0000 (13:30 -0300)]
eudev: disable manpages

If host-libxslt or some libxslt is around (xsltproc) eudev will try to
build manpages with it. Problem is docbook DTDs might not be around and
things will break. We want no manpages anyway. Fixes:
http://autobuild.buildroot.net/results/c4e/c4e920b16c57e79df979f00cceaea7c0483f043c/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoRevert "packages infra: add function to get a Kconfig option"
Thomas Petazzoni [Tue, 4 Mar 2014 18:16:46 +0000 (19:16 +0100)]
Revert "packages infra: add function to get a Kconfig option"

This reverts commit c28a28eed1943c1efb958448a87a2e8f0baf48d6. The
whole host-lzop optional dependency logic cannot work, since the
configuration file will only be known after the kernel sources are
extracted, if an internal kernel defconfig is used, which is quite
common.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoRevert "linux: only depend on host-lzop if needed"
Thomas Petazzoni [Tue, 4 Mar 2014 18:16:41 +0000 (19:16 +0100)]
Revert "linux: only depend on host-lzop if needed"

This reverts commit ca80782f4571f004c2b8cf2d0e60e83343beff34. The
whole host-lzop optional dependency logic cannot work, since the
configuration file will only be known after the kernel sources are
extracted, if an internal kernel defconfig is used, which is quite
common.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoRevert "linux: check the configuration file exists"
Thomas Petazzoni [Tue, 4 Mar 2014 18:16:36 +0000 (19:16 +0100)]
Revert "linux: check the configuration file exists"

This reverts commit b4cacbf5b15db06132b5f401d39b4c8d4e79158e. The
whole host-lzop optional dependency logic cannot work, since the
configuration file will only be known after the kernel sources are
extracted, if an internal kernel defconfig is used, which is quite
common.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoRevert "linux: fix check of configuration file existence"
Thomas Petazzoni [Tue, 4 Mar 2014 18:16:30 +0000 (19:16 +0100)]
Revert "linux: fix check of configuration file existence"

This reverts commit 477c28cf1d637b224b819dd278103a05fb6f9dbb. The
whole host-lzop optional dependency logic cannot work, since the
configuration file will only be known after the kernel sources are
extracted, if an internal kernel defconfig is used, which is quite
common.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoRevert "linux: fix the KCONFIG_GET_OPT calls to be inside a BR2_LINUX_KERNEL test"
Thomas Petazzoni [Tue, 4 Mar 2014 18:15:45 +0000 (19:15 +0100)]
Revert "linux: fix the KCONFIG_GET_OPT calls to be inside a BR2_LINUX_KERNEL test"

This reverts commit 4ad1ea59a59f951fad072dcb19429e6f468abf05. The
whole host-lzop optional dependency logic cannot work, since the
configuration file will only be known after the kernel sources are
extracted, if an internal kernel defconfig is used, which is quite
common.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoRevert "i2c-tools: Add i2c-dev.h to staging directory for userspace i2c drivers."
Thomas Petazzoni [Tue, 4 Mar 2014 18:14:26 +0000 (19:14 +0100)]
Revert "i2c-tools: Add i2c-dev.h to staging directory for userspace i2c drivers."

This reverts commit ff673f9a22b1467878f1a117f2c6198e9683d5c7, as the
modified i2c-dev.h from i2c-tools has some definitions that conflict
with the i2c.h from the kernel headers. This means that a userspace
program or library that includes both will fail to build, as is the
case with libsoc.

Fixes:

  http://autobuild.buildroot.org/results/1f4/1f451a338487a2a3c8a8f9b18540d41b90ee5aac/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomysql: fix debugging options
Marcelo Gutierrez [Wed, 12 Feb 2014 22:39:34 +0000 (22:39 +0000)]
mysql: fix debugging options

The usual --{en,dis}able-debug passed by the infrastructure are not
recognised by mysql's ./configure, as it uses unusual options.

Also, debugging is only meaningful to the server, not the client.

Signed-off-by: Marcelo Gutierrez (UTN/FRH) <kuyurix@gmail.com>
[yann.morin.1998@free.fr: actually add the options, move in server if-block]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomysql: add option to build the server
Marcelo Gutierrez [Wed, 12 Feb 2014 22:39:33 +0000 (22:39 +0000)]
mysql: add option to build the server

Signed-off-by: Marcelo Gutierrez (UTN/FRH) <kuyurix@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoluajit: handles BR2_PREFER_STATIC_LIB
Francois Perrad [Sat, 1 Mar 2014 17:23:04 +0000 (18:23 +0100)]
luajit: handles BR2_PREFER_STATIC_LIB

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoluajit: refactor without shared-lib.patch
Francois Perrad [Sat, 1 Mar 2014 17:23:03 +0000 (18:23 +0100)]
luajit: refactor without shared-lib.patch

the variable BUILDMODE does the job

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoluajit: refactor without dont-strip.patch
Francois Perrad [Sat, 1 Mar 2014 17:23:02 +0000 (18:23 +0100)]
luajit: refactor without dont-strip.patch

the variable TARGET_STRIP does the job

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux: fix the KCONFIG_GET_OPT calls to be inside a BR2_LINUX_KERNEL test
Thomas Petazzoni [Mon, 3 Mar 2014 21:55:49 +0000 (22:55 +0100)]
linux: fix the KCONFIG_GET_OPT calls to be inside a BR2_LINUX_KERNEL test

The KCONFIG_GET_OPT calls added by
ca80782f4571f004c2b8cf2d0e60e83343beff34 ('linux: only depend on
host-lzop if needed') are made even if the kernel package is not
selected. This hangs the linux.mk parsing as they try to read from a
file that doesn't exist.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibxmlrpc: new package
Alvaro G. M [Wed, 9 Oct 2013 14:19:10 +0000 (16:19 +0200)]
libxmlrpc: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux: fix check of configuration file existence
Thomas Petazzoni [Mon, 3 Mar 2014 21:40:46 +0000 (22:40 +0100)]
linux: fix check of configuration file existence

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux: check the configuration file exists
Yann E. MORIN [Sat, 8 Feb 2014 16:26:06 +0000 (17:26 +0100)]
linux: check the configuration file exists

... and abort early, before we even use it.

Reported-by: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinux: only depend on host-lzop if needed
Yann E. MORIN [Sat, 8 Feb 2014 16:26:05 +0000 (17:26 +0100)]
linux: only depend on host-lzop if needed

There is no reason to always depend on host-lzop, even when the kernel
compression is not LZO.

Since LZO is not the default compression option in the kernel (and there
is not sign that will change in the foreseeable future), it will always
appear in a config file, whether it is a complete config file or it is
only a defconfig.

So, only depend on host-lzop if the LZO compression is enabled in the
kernel config file (either the defconfig or the custom config file).
This includes:
  - kernel compression itself
  - initrd compression
  - initramfs compression

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackages infra: add function to get a Kconfig option
Yann E. MORIN [Sat, 8 Feb 2014 16:26:04 +0000 (17:26 +0100)]
packages infra: add function to get a Kconfig option

We so far have no mean to get the value from a Kconfig option from the
.config file of a package (eg. linux, busybox...).

Add a new function that returns the unmangled value of an option.
It expect two arguments:
  - the Kconfig option name (complete, with leading CONFIG if necessary)
  - the .config file to get it from

Note that, if the Kconfig option is a string, the returned value will
contain the leading and trailing double-quotes.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoi2c-tools: Add i2c-dev.h to staging directory for userspace i2c drivers.
Jouko Nikula [Tue, 24 Sep 2013 10:18:43 +0000 (13:18 +0300)]
i2c-tools: Add i2c-dev.h to staging directory for userspace i2c drivers.

Signed-off-by: Jouko Nikula <jouko.nikula@espotel.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agozlog: new package
Yegor Yefremov [Mon, 3 Mar 2014 07:19:58 +0000 (08:19 +0100)]
zlog: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowebsite: new website !
Maxime Hadjinlian [Sun, 2 Mar 2014 18:04:24 +0000 (19:04 +0100)]
website: new website !

A new menu and logo for the website, also some of the contents has been
reworked.

This patch also removes files that are no longer used, like the old
stylesheet and a few pages. The content of theses pages has mostly been
merged in other pages or was redudant with the manual.

[Thomas: integrate a few typo fixes noticed by Thomas De
Schampheleire]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowebsite: add Buildroot javascript
Maxime Hadjinlian [Sun, 2 Mar 2014 18:01:55 +0000 (19:01 +0100)]
website: add Buildroot javascript

Add some specific Javascript to display commit and mailing recent
entries. Note that the git commit mail are ignored. Also load Google
Analytics.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowebsite: add Bootstrap and JQuery frameworks
Maxime Hadjinlian [Sun, 2 Mar 2014 18:00:39 +0000 (19:00 +0100)]
website: add Bootstrap and JQuery frameworks

Add Bootstrap framework, along with JQuery.

Theses files were downloaded from:
  - http://getbootstrap.com
  - http://jquery.com/

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodocs: Move README file to root
Maxime Hadjinlian [Sun, 2 Mar 2014 18:21:41 +0000 (19:21 +0100)]
docs: Move README file to root

Move the README file from the subdirectory doc to the root.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoglibc: needs MMU
Yann E. MORIN [Mon, 3 Mar 2014 18:31:27 +0000 (19:31 +0100)]
glibc: needs MMU

Like eglibc, glibc is only available to MMU-based architectures.

Re-order select/depends to be in-line with eglibc, just above.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosamba4: fix readline support
Gustavo Zacarias [Mon, 3 Mar 2014 11:44:12 +0000 (08:44 -0300)]
samba4: fix readline support

Add automatic readline support since it's used when available.
Also add a patch to update to new-style typedefs that were removed from
readline 6.3 that causes build breakage. Fixes:
http://autobuild.buildroot.net/results/b13/b137c237ff6df81dd10f7895278d1f2f5d2326de/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowget: fix build against uclibc snapshot
Baruch Siach [Mon, 3 Mar 2014 09:06:50 +0000 (11:06 +0200)]
wget: fix build against uclibc snapshot

Same fix as a728e2fe3 (coreutils: fix build against uclibc snapshot).

uClibc development version adds support for POSIX spawn routines. However,
unlike glibc these routines are in librt. This breaks gnulib autoconf
detection. Teach gnulib autoconf to look for POSIX spawn in librt.

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

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoQt5: patches for linuxfb only systems
Peter Kümmel [Fri, 14 Feb 2014 15:22:07 +0000 (16:22 +0100)]
Qt5: patches for linuxfb only systems

Merged patches from the official qtbase/stable branch,
not part of 5.2.1.

Signed-off-by: Peter Kümmel <syntheticpp@gmx.net>
Acked-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoQt5: update to 5.2.1
Peter Kümmel [Fri, 14 Feb 2014 15:22:06 +0000 (16:22 +0100)]
Qt5: update to 5.2.1

Removed patches are now part of the 5.2.1 release.

Signed-off-by: Peter Kümmel <syntheticpp@gmx.net>
Acked-by: Fatih Aşıcı <fatih.asici@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopkg-infra: DOWNLOAD is never called with two arguments
Yann E. MORIN [Sun, 2 Mar 2014 17:51:34 +0000 (18:51 +0100)]
pkg-infra: DOWNLOAD is never called with two arguments

Currently, the DOWNLOAD helper accepts one or two arguments:
  - the source URI
  - the source filename; if missing, it is derived from the URI

But we have no caller of DOWNLOAD that passes a second argument.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoconfigs/raspberrypi: bump kernel version
Yann E. MORIN [Sun, 2 Mar 2014 17:07:13 +0000 (18:07 +0100)]
configs/raspberrypi: bump kernel version

Bump from rpi-3.10.29 to rpi-3.10.32.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/rpi-firmware: bump version
Yann E. MORIN [Sun, 2 Mar 2014 17:07:12 +0000 (18:07 +0100)]
package/rpi-firmware: bump version

Fixes and enhancements for:
  - audio: clock, HDMI passthrough, DTS
  - video playback: unpacked bitstreams
  - 3D: HW textures orientation
  - PWM: boot-time options
  - undisclosed changes

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/rpi-userland: bump version
Yann E. MORIN [Sun, 2 Mar 2014 17:07:11 +0000 (18:07 +0100)]
package/rpi-userland: bump version

Fixes memory leaks due to improper thrads handling.
Fixes to example code.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosystemd: fix license info
Gustavo Zacarias [Sun, 2 Mar 2014 19:20:56 +0000 (16:20 -0300)]
systemd: fix license info

File is LICENSE.GPL2, not LICENSE.GPLV2, fixes:
http://autobuild.buildroot.net/results/e6c/e6c4dc22c014e62ce35273945a2a2307315ec3f7/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agohostapd: rework .config and bump to version 2.1
Gustavo Zacarias [Thu, 27 Feb 2014 20:47:11 +0000 (17:47 -0300)]
hostapd: rework .config and bump to version 2.1

Rework .config file editing as was done for wpa_supplicant and bump to
version 2.1 which includes 802.11ac and ACS support.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowpa_supplicant: bump to version 2.1
Gustavo Zacarias [Thu, 27 Feb 2014 20:47:10 +0000 (17:47 -0300)]
wpa_supplicant: bump to version 2.1

Now with 802.11ac and P2P support.

CONFIG_LIBNL32 was a hidden option so switch to ENABLE/DISABLE now.
CONFIG_DRIVER_ATMEL was dropped.
CONFIG_DELAYED_MIC is no longer optional.
CONFIG_AP was also hidden so also switch to ENABLE/DISABLE.
CONFIG_EAP_* now blindly enabled instead of doing one per each.

P2P support is unified with the AP mode config knob since it's the more
likely scenario and share code between them.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agowpa_supplicant: modify .config rework order
Gustavo Zacarias [Thu, 27 Feb 2014 20:47:09 +0000 (17:47 -0300)]
wpa_supplicant: modify .config rework order

Switch to first enable and then disable.
Otherwise a wildcard enable can't have a single option disabled which is
far more usual than the opposite (and required for a simple bump to
version 2.1).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodmraid: rename init script and use FOO_INSTALL_INIT_SYSV
Maxime Hadjinlian [Tue, 4 Feb 2014 10:06:05 +0000 (11:06 +0100)]
dmraid: rename init script and use FOO_INSTALL_INIT_SYSV

This commit fixes the init script to use the correct
FOO_INSTALL_INIT_SYSV hook.

[Thomas: slightly reword commit log.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agodmraid: bump version to 1.0.0.rc16-3
Maxime Hadjinlian [Tue, 4 Feb 2014 10:06:04 +0000 (11:06 +0100)]
dmraid: bump version to 1.0.0.rc16-3

dmraid rc15 does not support later Intel Software RAID (isw) chipsets
correctly. Updating dmraid to a later edition fixes this issue.

Also cleanup and remove now useless patches.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Antony Vennard <arv@vx9.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolvm2: enable cmdlib and dmeventd
Maxime Hadjinlian [Tue, 4 Feb 2014 10:06:03 +0000 (11:06 +0100)]
lvm2: enable cmdlib and dmeventd

In order to use a newer dmraid, the lvm2 package needs
to be compiled with --enable-cmdlib --enable-dmeventd, which
dmraid can then invoke on boot.

[Thomas: slightly reformat the list of configure options.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Antony Vennard <arv@vx9.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosamba4: add comment arch dependencies
Baruch Siach [Sun, 2 Mar 2014 14:35:14 +0000 (16:35 +0200)]
samba4: add comment arch dependencies

Hide the comment for unsupported architectures.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: clarify Tested-by/Reviewed-by/Acked-by tags
Thomas De Schampheleire [Sun, 2 Mar 2014 14:17:22 +0000 (15:17 +0100)]
manual: clarify Tested-by/Reviewed-by/Acked-by tags

This patch updates the manual with more clarified descriptions of tags
Tested-by, Reviewed-by, and Acked-by, as discussed on the Buildroot
developer days in February 2014.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosystemd: add missing host-gperf dependency
Thomas Petazzoni [Sun, 2 Mar 2014 15:14:21 +0000 (16:14 +0100)]
systemd: add missing host-gperf dependency

Fixes:

  http://autobuild.buildroot.org/results/910/91010b43e63b82e050046b8f10c2c42f31a8a620/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosamba4: add cross answers for x86_64
Christophe Vu-Brugier [Sat, 8 Feb 2014 14:34:21 +0000 (15:34 +0100)]
samba4: add cross answers for x86_64

Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosamba4: new package
Gustavo Zacarias [Sun, 2 Mar 2014 12:42:18 +0000 (09:42 -0300)]
samba4: new package

Samba 4.1.x uses the waf build system which isn't very cross-compile
friendly, and also some tests are formulated in a way that isn't
cross-build friendly either by needing to run them.

For this reason the samba4 build system includes a way to define
answers for many of the tests, but this support isn't complete
and some tests still want to be executed.

Samba 4.1.x also requires a proper answers file for each architecture,
and at the moment i've only tested for ARM and PowerPC so only those
architectures are supported to begin with. To add support for another
architecture basically copy one of the cache files to the proper name,
enable it in Config.in and adjust endianess and all of the "size of"
answers. I'm in the process of automating the sizeof and endianess
answers within the samba build system to make them cross friendly
to simplify the answers file to just one generic linux variant.
The 3.6.x branch is still security supported for the forseeable future.

I'm currently working with samba upstream to solve many of these
issues but this will probably happen with the yet unreleased
4.2 branch only.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosamba: update description and rename patches
Gustavo Zacarias [Sun, 2 Mar 2014 12:42:17 +0000 (09:42 -0300)]
samba: update description and rename patches

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoheimdal: new package
Gustavo Zacarias [Sun, 2 Mar 2014 12:42:16 +0000 (09:42 -0300)]
heimdal: new package

host-heimdal is required for samba 4.1.x since it can't (yet) link
with an external heimdal implementation and can't cross-compile the
internal tools.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython: fixup python-config script
Gustavo Zacarias [Sun, 2 Mar 2014 12:42:15 +0000 (09:42 -0300)]
python: fixup python-config script

The original version uses sysconfig from the python interpreter
(normally host-python) which isn't really suited to provide information
of the target python.
Use the pure shell preprocessed backport from the upcoming python 3.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoconfigs: add SoCkit defconfig
Sebastien Bourdelin [Tue, 25 Feb 2014 19:16:16 +0000 (14:16 -0500)]
configs: add SoCkit defconfig

This commit introduces initial support for the Arrow SoCkit
boards, featuring an Altera Cyclone V SoC:
http://www.altera.com/b/arrow-sockit.html

It is based on Roman Diouskine's work at
https://github.com/rndi/buildroot-alt.

The kernel and the u-boot used is the one developped by the
rocketboards.org community, as mainline support is not fully
available yet.

More info is available in the board/altera/sockit/readme.txt file.

[Thomas: remove a number of not really needed empty new lines in the
readme.txt file, update the defconfig for the new kernel headers
options.]

Signed-off-by: Sebastien Bourdelin <sebastien.bourdelin@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibdrm: bump to version 2.4.52
Bernd Kuhls [Sat, 1 Mar 2014 15:41:12 +0000 (16:41 +0100)]
libdrm: bump to version 2.4.52

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibdrm: Remove dependency towards X11
Bernd Kuhls [Sat, 1 Mar 2014 15:41:11 +0000 (16:41 +0100)]
libdrm: Remove dependency towards X11

Using this defconfig

BR2_x86_pentium_mmx=y
BR2_ENABLE_DEBUG=y
BR2_OPTIMIZE_2=y
BR2_TOOLCHAIN_BUILDROOT_LARGEFILE=y
# BR2_UCLIBC_INSTALL_UTILS is not set
BR2_BINUTILS_VERSION_2_23_2=y
BR2_GCC_VERSION_4_8_X=y
BR2_PACKAGE_LIBDRM=y
BR2_PACKAGE_LIBDRM_RADEON=y
BR2_PACKAGE_LIBDRM_NOUVEAU=y
BR2_PACKAGE_LIBDRM_VMWGFX=y

libdrm (w/o Intel API) compiles without BR2_PACKAGE_LIBATOMIC_OPS and without
BR2_PACKAGE_XLIB_LIBPCIACCESS, so USE_WCHAR, TOOLCHAIN_HAS_THREADS and
!BR2_PREFER_STATIC_LIB, previously added by the Xorg dependency, do not seem
to be necessary for libdrm at all.

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-Off-By: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoxlib_libpthread-stubs: Rename package to libpthread-stubs
Bernd Kuhls [Sat, 1 Mar 2014 15:41:10 +0000 (16:41 +0100)]
xlib_libpthread-stubs: Rename package to libpthread-stubs

Signed-off-by: Bernd Kuhls <berndkuhls@hotmail.com>
Signed-Off-By: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoflot: bump to version 0.8.2
Gustavo Zacarias [Sun, 2 Mar 2014 12:58:38 +0000 (09:58 -0300)]
flot: bump to version 0.8.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agojquery-keyboard: bump to version 1.18.2
Gustavo Zacarias [Sun, 2 Mar 2014 12:58:37 +0000 (09:58 -0300)]
jquery-keyboard: bump to version 1.18.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agojquery-ui-themes: bump to version 1.10.4
Gustavo Zacarias [Sun, 2 Mar 2014 12:58:36 +0000 (09:58 -0300)]
jquery-ui-themes: bump to version 1.10.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agojquery-ui: bump to version 1.10.4
Gustavo Zacarias [Sun, 2 Mar 2014 12:58:35 +0000 (09:58 -0300)]
jquery-ui: bump to version 1.10.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agojquery: bump to version 1.11.0
Gustavo Zacarias [Sun, 2 Mar 2014 12:58:34 +0000 (09:58 -0300)]
jquery: bump to version 1.11.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolftp: needs fork(), requires MMU support
Thomas Petazzoni [Sun, 2 Mar 2014 10:17:22 +0000 (11:17 +0100)]
lftp: needs fork(), requires MMU support

Fixes:

  http://autobuild.buildroot.org/results/321/321a6eedd2c79ce45c047cd8ebddb67124da092c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoparted: add readline bump fix patch
Gustavo Zacarias [Sun, 2 Mar 2014 04:21:11 +0000 (01:21 -0300)]
parted: add readline bump fix patch

Fixes:
http://autobuild.buildroot.net/results/1e9/1e90929bfaf617381d490dc0b99f333968624ce7/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolvm2: add readline bump fix patch
Gustavo Zacarias [Sun, 2 Mar 2014 04:21:10 +0000 (01:21 -0300)]
lvm2: add readline bump fix patch

Fixes:
http://autobuild.buildroot.net/results/d6f/d6f4d388c62ec2137560aabbff46c4a30c584e18/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoqt5multimedia: install gsttools library to target
Fatih Aşıcı [Fri, 24 Jan 2014 14:06:20 +0000 (16:06 +0200)]
qt5multimedia: install gsttools library to target

It is built when gst-plugins-base is selected.

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Noticed-by: Paweł Gibaszek <gibol666@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoljlinenoise: new package
Francois Perrad [Sat, 1 Mar 2014 17:23:08 +0000 (18:23 +0100)]
ljlinenoise: new package

[Thomas: indicate that ljsyscall is a run-time dependency only.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoluarocks: remove luainterpreter dependency
Francois Perrad [Sat, 1 Mar 2014 22:30:55 +0000 (23:30 +0100)]
luarocks: remove luainterpreter dependency

All packages using the luarocks infrastructure need a dependency on
luainterpreter, because having the Lua interpreter for the target is
needed to built native Lua modules. This dependency is already taken
care of in pkg-luarocks.mk.

However, host-luarocks, which is built as a dependency of the extract
step of any luarocks package, also had a dependency on
luainterpreter. Not only this was not necessary, but it was causing
problems with 'make legal-info'. Since 'make legal-info' triggers the
extraction of all packages, as soon as a luarocks package was enabled,
it would trigger the build of host-luarocks, itself triggering the
build of luainterpreter and therefore its dependencies, amongst which
the entire cross-compilation toolchain.

[Thomas: reword commit log to include more detailed explanations.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobustle: use TARGET_MAKE_ENV instead of setting PATH in the make environment
Samuel Martin [Sat, 1 Mar 2014 19:59:08 +0000 (20:59 +0100)]
bustle: use TARGET_MAKE_ENV instead of setting PATH in the make environment

TARGET_MAKE_ENV already contains the PATH definition among other useful
variables.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython-pyasn: fix version number to match upstream tarball
Thomas Petazzoni [Sat, 1 Mar 2014 20:09:39 +0000 (21:09 +0100)]
python-pyasn: fix version number to match upstream tarball

The upstream tarball at
https://pypi.python.org/packages/source/p/pyasn1/ is actually in
version 0.1.7, not 0.17.

Reported-by: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolzip: new package
Gustavo Zacarias [Sat, 1 Mar 2014 19:04:15 +0000 (16:04 -0300)]
lzip: new package

The host variant is in preparation for possibly some gnu packages
shipping tar.lz versions only.
At least ed 1.10 did it (still needed to add extraction support for it).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibmicrohttpd: disable curl testcases
Gustavo Zacarias [Sat, 1 Mar 2014 18:41:49 +0000 (15:41 -0300)]
libmicrohttpd: disable curl testcases

They require a toolchain with IPv6. Fixes:
http://autobuild.buildroot.net/results/edb/edb1b5ee1ffaa6a495b4d7c2976f618c8331b5d2/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agophp-gnupg: force gnupg detection
Gustavo Zacarias [Sat, 1 Mar 2014 18:26:21 +0000 (15:26 -0300)]
php-gnupg: force gnupg detection

Hardcode the gpg path and detection otherwise it will fail on a host
that doesn't have gnupg installed. Fixes:
http://autobuild.buildroot.net/results/757/757fb0b12af12de4f128d9c503d45b20776c2313/
Also define PHP_AUTOCONF and PHP_AUTOHEADER as other extensions do to
avoid stray issues.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agobash: always prefix readline
Gustavo Zacarias [Sat, 1 Mar 2014 17:54:26 +0000 (14:54 -0300)]
bash: always prefix readline

Always prefix the readline directory otherwise autodetection may pick up
the host readline when headers are available and target == host (or are
link-compatible). Fixes:
http://autobuild.buildroot.org/results/44a/44a962623be757143a3d6d37fc6cd14964094f79/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/mmc-utils: requires kernel headers >= 3.0
Yann E. MORIN [Sat, 1 Mar 2014 14:53:08 +0000 (15:53 +0100)]
package/mmc-utils: requires kernel headers >= 3.0

mmc-utils needs the mmc ioctls, introduced in linux 3.0.

Fixes:
    http://autobuild.buildroot.net/results/0c1/0c15e2b193418c6f0edbc98a6ea3957bdf71a98b

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/tvheadend: requires kernel headers >= 3.2
Yann E. MORIN [Sat, 1 Mar 2014 14:53:07 +0000 (15:53 +0100)]
package/tvheadend: requires kernel headers >= 3.2

tvheadend requires SYS_TURBO, introduced in linux 3.2.

Fixes:
    http://autobuild.buildroot.net/results/4df/4df8cd85e0287910567df81c0394b2914570e98a

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/weston: requires kernel headers >= 3.0
Yann E. MORIN [Sat, 1 Mar 2014 14:53:06 +0000 (15:53 +0100)]
package/weston: requires kernel headers >= 3.0

It needs K_OFF, introduced in 2.6.39.

Since we do not have dependencies on kernel headers before 3.0,
just depend on kernel headers 3.0.

Fixes:
    http://autobuild.buildroot.net/results/aa5/aa54b1aaf0ac89531d7a1e7dd3900b35605ae3f5

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/w_scan: requires kernel headers >= 3.0
Yann E. MORIN [Sat, 1 Mar 2014 14:53:05 +0000 (15:53 +0100)]
package/w_scan: requires kernel headers >= 3.0

It needs DVB API version 5.3 or later, introduced in linux 3.0.

Fixes:
    http://autobuild.buildroot.net/results/6e7/6e7c691099a8f3eef4fc84860ceb1a94f25873eb

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/dvb-apps: requires kernel headers >= 3.3
Yann E. MORIN [Sat, 1 Mar 2014 14:53:04 +0000 (15:53 +0100)]
package/dvb-apps: requires kernel headers >= 3.3

dvb-apps requires linux kernel headers >= 3.3, for:
    SYS_TURBO, SYS_DVBC_ANNEX_A      : introduced in 3.2
    SYS_DVBC_ANNEX_C, DTV_ENUM_DELSYS: introduced in 3.3

Fixes:
    http://autobuild.buildroot.net/results/a77/a7786dffa28e5472fbc9c8fe4ab302c84d7a3cb9

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomanual: document minimal kernel headers dependency
Yann E. MORIN [Sat, 1 Mar 2014 14:53:03 +0000 (15:53 +0100)]
manual: document minimal kernel headers dependency

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain/internal: check kernel headers version for manually-specified version
Yann E. MORIN [Sat, 1 Mar 2014 14:53:02 +0000 (15:53 +0100)]
toolchain/internal: check kernel headers version for manually-specified version

Ensure the kernel headers version matches exactly the one manually
specified by the user.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain/external: check kernel headers version for custom toolchain
Yann E. MORIN [Sat, 1 Mar 2014 14:53:01 +0000 (15:53 +0100)]
toolchain/external: check kernel headers version for custom toolchain

Ensure the kernel headers version used in the custom external toolchain,
or the manually-specified kernel headers version, matches exactly the one
selected by the user.

We do not care about the patch-level, since headers are not supposed to
change between patchlevels. This applies only to kernels >= 3.0, but
those are actually the ones we do care about; we treat all 2.6.x kernels
as being a single version, since we do not support any 2.6 kernels for
packages with kernel-dependant features.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>