buildroot.git
12 years agotoolchain-external: add Sourcery CodeBench MIPS 2011.09
Thomas Petazzoni [Sun, 3 Jun 2012 14:04:40 +0000 (16:04 +0200)]
toolchain-external: add Sourcery CodeBench MIPS 2011.09

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external: add Blackfin toolchain 2012R1-BETA1
Thomas Petazzoni [Sun, 3 Jun 2012 14:04:39 +0000 (16:04 +0200)]
toolchain-external: add Blackfin toolchain 2012R1-BETA1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external: remove ARM CodeSourcery 2009q3
Thomas Petazzoni [Sun, 22 Jul 2012 14:54:43 +0000 (16:54 +0200)]
toolchain-external: remove ARM CodeSourcery 2009q3

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external: remove Linaro 2012.01
Thomas Petazzoni [Sun, 22 Jul 2012 14:54:18 +0000 (16:54 +0200)]
toolchain-external: remove Linaro 2012.01

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoMake hard-float the default on Cortex-A8 and Cortex-A9
Thomas Petazzoni [Sun, 22 Jul 2012 14:08:28 +0000 (16:08 +0200)]
Make hard-float the default on Cortex-A8 and Cortex-A9

Cortex-A8 and Cortex-A9 ARM cores are guaranteed to provide a hardware
floating point unit, so there's no reason to default to software
floating point for them.

More importantly, the newest Linaro toolchains are hard float
toolchains, so basically an user choosing those toolchains and leaving
the default option of software float would run in compilation issues.

So let's make hard float the default for Cortex-A8 and Cortex-A9.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external: add Linaro 2012.06
Thomas Petazzoni [Sun, 22 Jul 2012 09:31:46 +0000 (11:31 +0200)]
toolchain-external: add Linaro 2012.06

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external: adjust logic to support Linaro 2012.05
Thomas Petazzoni [Sun, 3 Jun 2012 14:04:36 +0000 (16:04 +0200)]
toolchain-external: adjust logic to support Linaro 2012.05

The check_glibc function verifies that the C library of the external
toolchain is glibc. To do so, it verified that a file matching
ld-linux*.so.* or ld.so.* was found in the lib/ directory of the
toolchain's sysroot. However, with the Linaro 2012.05 toolchain, the
lib/ directory contains two links named ld-linux-armhf.so.3 and
ld-linux.so.3, which means that the first ld-linux*.so.* wildcard
expression expands to two files, which generates a syntax error for
the "test" program. We replace that with a more elaborate find+wc
combination to determine whether at least one matching file is
present.

The check_arm_abi function verifies the ABI of an ARM toolchain. For
EABI, it tested that the target name ends with eabi. However, with
Linaro 2012.05, the tuple is now arm-linux-gnueabihf (for hard float),
so we have to adjust the logic to accept this additional "hf"
specification in the tuple.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external: add Linaro 2012.05
Thomas Petazzoni [Sun, 3 Jun 2012 14:04:35 +0000 (16:04 +0200)]
toolchain-external: add Linaro 2012.05

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external: line up comments with reality
Thomas De Schampheleire [Fri, 22 Jun 2012 05:42:39 +0000 (07:42 +0200)]
toolchain-external: line up comments with reality

Line-up with changes from commit 3367d5ce770ac409e7b3f5bba2c7ed1a819b3ef7
"external-toolchain: run checks even on extracted toolchains"

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external: allow downloading a custom toolchain
Thomas De Schampheleire [Fri, 22 Jun 2012 05:42:38 +0000 (07:42 +0200)]
toolchain-external: allow downloading a custom toolchain

This patch adds the possibility to download a custom external
toolchain, in addition to the existing support of preinstalled custom
external toolchains.

With the modified configuration, the user is presented with the
following options:
- Toolchain type: Buildroot toolchain | External toolchain | Ct-ng toolchain

In case of External toolchain:
- Toolchain: the CodeSourcery toolchains | Custom toolchain
- Toolchain origin: Toolchain to be downloaded and installed | Pre-installed toolchain

In case of Toolchain to be downloaded, the user is presented with:
- Toolchain URL
In case of Pre-installed toolchain, the users sees:
- Toolchain Path

For CodeSourcery toolchains, the toolchain URL field is not used (the
URLs are directly coded in ext-tool.mk).

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agopkg-download.mk: support detection of URI schemes in DOWNLOAD
Thomas De Schampheleire [Fri, 22 Jun 2012 05:42:36 +0000 (07:42 +0200)]
pkg-download.mk: support detection of URI schemes in DOWNLOAD

When using one of the package infrastructures, the DOWNLOAD function
uses $(PKG)_SITE_METHOD to determine the appropriate download method,
which is autodetected based on the URI if none was explicitly set.

When the DOWNLOAD function is called directly, for example when
downloading a toolchain, or from a package that does not use one of
the package infrastructures, the SITE_METHOD is not autodetected,
and thus the download defaults to wget.

This patch adds URI scheme detection directly to the DOWNLOAD method,
in case no SITE_METHOD was detected yet.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agopkg-download.mk: use stripurischeme function in localfiles download method
Thomas De Schampheleire [Fri, 22 Jun 2012 05:42:35 +0000 (07:42 +0200)]
pkg-download.mk: use stripurischeme function in localfiles download method

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agopkg-download.mk: allow using localfiles outside of package infrastructure
Thomas De Schampheleire [Fri, 22 Jun 2012 05:42:34 +0000 (07:42 +0200)]
pkg-download.mk: allow using localfiles outside of package infrastructure

The localfiles download method uses $($(PKG)_SITE))) and
$($(PKG)_SOURCE) instead of $(1) and $(2). This means that it can only
be used for package downloads (through gentargets, autotargets, ...)
and not for other downloads like external toolchains.

This patch changes localfiles to allow this, just as the wget and scp
download methods already did.
For the version control download methods, nothing changes.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolua: fix typo
Thomas Petazzoni [Sun, 22 Jul 2012 09:32:35 +0000 (11:32 +0200)]
lua: fix typo

Commit c8da6d1dd656caf5454c50ee5dddb4beead60326 introduced a stupid
typo. Fix it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotoolchain-external/Config.in: fix indentation
Thomas De Schampheleire [Fri, 22 Jun 2012 05:42:37 +0000 (07:42 +0200)]
toolchain-external/Config.in: fix indentation

Fix the indentation of the external toolchain Config file, where tabs
and spaces are mixed as indentation even within the same block.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoAdd MXS bootlets package
Maxime Ripard [Wed, 18 Jul 2012 16:02:43 +0000 (18:02 +0200)]
Add MXS bootlets package

MXS platforms (imx23 and imx28) are relying on bootlets as their first
stage bootloaders, that can then either start a regular second stage
bootloader or directly a Linux kernel. However, the Makefile allows
only to build u-boot and linux images at the same time, which is
not very convenient as we will more likely use only one of them,
so we need to duplicate a bit what is already done so that we are able
to choose what we want to generate.

thomas.petazzoni@free-electrons.com:

 * Remove incorrect dependency on BR2_PACKAGE_ELFTOSB

 * Each board configuration option is for one board, not multiple
   boards, so use singular.

 * The i.MX28 support is for i.MX28 EVK only, reflect that in the
   option prompt and the option name.

 * Use 'generic-package' instead of GENTARGETS

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoAdd (Freescale) elftosb host package
Eric Jarrige [Wed, 18 Jul 2012 16:02:42 +0000 (18:02 +0200)]
Add (Freescale) elftosb host package

Elftosb is a Freescale toolset to build binary image files (like U-Boot.sb)
to be used with CPUs imx23, imx28, stp37xx

thomas.petazzoni@free-electrons.com:
 * Add -m 0755 when installing binaries
 * the _CLEAN_CMDS is not supposed to uninstall things from the
   HOST_DIR.
 * Use 'host-generic-package' instead of 'GENTARGETS,host'

Signed-off-by: Eric Jarrige <eric.jarrige@armadeus.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agomemtester: bump to version 4.3.0
Simon Dawson [Wed, 27 Jun 2012 20:52:24 +0000 (21:52 +0100)]
memtester: bump to version 4.3.0

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoowl-linux: new package
Simon Dawson [Fri, 20 Jul 2012 12:20:16 +0000 (13:20 +0100)]
owl-linux: new package

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agosound-theme-borealis: new package
Simon Dawson [Fri, 20 Jul 2012 09:20:03 +0000 (10:20 +0100)]
sound-theme-borealis: new package

[thomas.petazzoni@free-electrons.com:
  slightly adjust the installation process to just do a loop of calls
  to $(INSTALL).]

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agopython-nfc: new package
Simon Dawson [Fri, 20 Jul 2012 08:58:12 +0000 (09:58 +0100)]
python-nfc: new package

[thomas.petazzoni@free-electrons.com:
   add patch that creates a standard setup.py file. This allows the
   .pyc files to be generated at build time, and installed into the
   target. This is important because by default, Buildroot removes all
   .py files from the target, to keep only the .pyc files. The
   python-nfc.mk file was changed to use this setup.py standard build
   process.]

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agodfu-util: cosmetic fix
Thomas Petazzoni [Fri, 20 Jul 2012 18:05:24 +0000 (20:05 +0200)]
dfu-util: cosmetic fix

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agodfu-util: new package
gregory hermant [Fri, 20 Jul 2012 16:06:12 +0000 (18:06 +0200)]
dfu-util: new package

Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolinux: bump default to kernel version 3.4.6
Gustavo Zacarias [Fri, 20 Jul 2012 11:53:29 +0000 (08:53 -0300)]
linux: bump default to kernel version 3.4.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agokernel-headers: bump 3.{0, 4}.x stable versions
Gustavo Zacarias [Fri, 20 Jul 2012 11:53:28 +0000 (08:53 -0300)]
kernel-headers: bump 3.{0, 4}.x stable versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolua: use install -D everywhere
Thomas Petazzoni [Fri, 20 Jul 2012 16:56:38 +0000 (18:56 +0200)]
lua: use install -D everywhere

Installation of host-lua was failing because it was the first package
to be built, and $(HOST_DIR)/usr/lib didn't exist. Therefore, use
install -D everywhere so that intermediate directories are created as
needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolua: fix build issue with gcc 4.6
Thomas Petazzoni [Fri, 20 Jul 2012 16:55:23 +0000 (18:55 +0200)]
lua: fix build issue with gcc 4.6

gcc 4.6 has become more sensitive about option ordering, especially
libraries. It requires the -l flags to be placed after the object
files that need that library. See for example
http://nick.zoic.org/art/etc/gcc-linker-libs.html. We had -llua at the
beginning of the link command line, causing build issues (here on gcc
4.6 with host-lua).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolua: ensure that host-lua does not depend on host-readline and host-ncurses
Thomas Petazzoni [Fri, 20 Jul 2012 12:40:18 +0000 (14:40 +0200)]
lua: ensure that host-lua does not depend on host-readline and host-ncurses

Commit ad6af5819f88bac9ca7f50e565c4fc68d3e408cc removed the
HOST_LUA_DEPENDENCIES assignement to the empty variable, so from that
commit, the dependencies of host-lua are automatically computed from
the dependencies of lua. Since lua can depend on readline and ncurses,
it means that host-lua can depend on host-readline and host-ncurses,
and the host-readline package does not exist in Buildroot. Since there
is no reason to build host-lua with readline/ncurses support, just
re-add the HOST_LUA_DEPENDENCIES variable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Francois Perrad <fperrad@gmail.com>
12 years agolibnfc-llcp: new package
Simon Dawson [Wed, 18 Jul 2012 17:11:51 +0000 (18:11 +0100)]
libnfc-llcp: new package

This patch adds the libnfc-llcp package.

This package requires a minium libnfc version of 1.6. A separate patch has
been submitted to bump the libnfc version; that patch should be regarded as
a prerequisite for the present patch.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolibfreefare: bump version to 0.3.4
Simon Dawson [Wed, 18 Jul 2012 17:10:25 +0000 (18:10 +0100)]
libfreefare: bump version to 0.3.4

This patch bumps the libfreefare package from version 0.3.2 to version 0.3.4.

Version 0.3.4 requires a minium libnfc version of 1.6. A separate patch has
been submitted to bump the libnfc version; that patch should be regarded as
a prerequisite for the present patch.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoAdd support for the Calao-systems USB-A9G20-LPW
gregory hermant [Thu, 19 Jul 2012 09:38:09 +0000 (11:38 +0200)]
Add support for the Calao-systems USB-A9G20-LPW

Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoAdd support for the Calao-systems USB-A9263
gregory hermant [Thu, 19 Jul 2012 08:19:17 +0000 (10:19 +0200)]
Add support for the Calao-systems USB-A9263

Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agobwm-ng: move bwm-ng from "Networking applications" to "System tools".
Kelvin Cheung [Thu, 19 Jul 2012 08:54:08 +0000 (16:54 +0800)]
bwm-ng: move bwm-ng from "Networking applications" to "System tools".

bwm-ng can monitor not only network bandwidth but also disk-io
bandwidth, so it is more appropriate to put bwm-ng into System tools.

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agosam-ba: only propose it if the host is x86 or x86_64
Jean-Christophe PLAGNIOL-VILLARD [Tue, 17 Apr 2012 05:05:40 +0000 (05:05 +0000)]
sam-ba: only propose it if the host is x86 or x86_64

As sam-ba is delivered as a binary for x86

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
12 years agolua: refactor without sed
Francois Perrad [Wed, 18 Jul 2012 13:59:12 +0000 (15:59 +0200)]
lua: refactor without sed

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoluajit: fix dependencies of Lua modules
Francois Perrad [Wed, 18 Jul 2012 13:59:11 +0000 (15:59 +0200)]
luajit: fix dependencies of Lua modules

BR2_PACKAGE_LUA_SHARED_LIBRARY is an internal of lua package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoluajit: new package
Francois Perrad [Wed, 18 Jul 2012 13:59:10 +0000 (15:59 +0200)]
luajit: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoadd host arch detection and Kconfig BR2_HOSTARCH
Francois Perrad [Wed, 18 Jul 2012 13:59:09 +0000 (15:59 +0200)]
add host arch detection and Kconfig BR2_HOSTARCH

This will allow to install binary package only if they are supported by the
host. As example Atmel SAM-BA (x86 only).

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
12 years agolibexif: security bump to version 0.6.21
Gustavo Zacarias [Tue, 17 Jul 2012 12:54:27 +0000 (09:54 -0300)]
libexif: security bump to version 0.6.21

Fixes CVE-2012-2812, CVE-2012-2813, CVE-2012-2814, CVE-2012-2836,
CVE-2012-2837, CVE-2012-2840, CVE-2012-2841 and CVE-2012-2845.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolibnfc: bump version to recent svn revision
Simon Dawson [Wed, 18 Jul 2012 08:00:10 +0000 (09:00 +0100)]
libnfc: bump version to recent svn revision

The libnfc package is currently at version 1.5.1 in Buildroot. This patch
bumps the version to a recent svn revision, for the following reasons.

* Version 1.5.1 is marked as "unstable" on the libnfc download site.

* The nfc-tools project at

    http://code.google.com/p/nfc-tools/

  includes a library that extends libnfc with LLCP functionality.
  Unfortunately, to build this requires a libnfc version no lower than 1.6.
  The version 1.6.0-rc1 Release Candidate does not build; svn commits to fix
  the build problems have not yet been back-ported into a Release Candidate.

* The libfreefare package is currently at version 0.3.2 in Buildroot. To bump
  this to the most recent version (0.3.4) also requires a libnfc version no
  lower than 1.6.

I suggest that this patch be regarded as a temporary fix, pending the release
of libnfc 1.6, which will allow other dependent packages to be progressed in
the interim.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agopackage/usbutils: bump to version 006
Daniel Mack [Wed, 18 Jul 2012 15:40:16 +0000 (17:40 +0200)]
package/usbutils: bump to version 006

Also, as the kernel.org archives are back up, use them as official site
again.

[thomas.petazzoni@free-electrons.com: use BR2_KERNEL_MIRROR]

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agosqlite: do not assume thread support is available
Thomas Petazzoni [Wed, 18 Jul 2012 07:48:24 +0000 (09:48 +0200)]
sqlite: do not assume thread support is available

The --enable-threadsafe option was unconditionally passed, without
taking into account whether the underlying toolchain had thread
support or not. Now, we properly pass --enable-threadsafe or
--disable-threadsafe depending on the availability of thread support.

Fixes
http://autobuild.buildroot.net/results/defdc098cff293baabf2f89587476eba71f1c0d0/build-end.log.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolibnss: fix 64-bit build
Arnout Vandecappelle (Essensium/Mind) [Tue, 10 Jul 2012 22:30:36 +0000 (00:30 +0200)]
libnss: fix 64-bit build

On some architectures (found on x86_64, but probably others too),
libnss builds with -m32 unless it is configured for 64-bit build.  So
force 64-bit build on 64-bit architectures.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolibnspr: fix 64-bit build
Arnout Vandecappelle (Essensium/Mind) [Tue, 10 Jul 2012 22:25:45 +0000 (00:25 +0200)]
libnspr: fix 64-bit build

On some architectures (found on x86_64, but probably others too),
libnspr builds with -m32 unless it is configured for 64-bit build.  So
force 64-bit build on 64-bit architectures.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agonew package: luacjson
Danomi Manchego [Mon, 16 Jul 2012 03:00:27 +0000 (23:00 -0400)]
new package: luacjson

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agonew package: LuaExpat
Danomi Manchego [Mon, 16 Jul 2012 02:59:26 +0000 (22:59 -0400)]
new package: LuaExpat

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolua: embed sub-options into a if...endif instead of depends on
Thomas Petazzoni [Tue, 17 Jul 2012 19:28:32 +0000 (21:28 +0200)]
lua: embed sub-options into a if...endif instead of depends on

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolua: refactor root path tuning
Francois Perrad [Tue, 17 Jul 2012 08:18:28 +0000 (10:18 +0200)]
lua: refactor root path tuning

Use a patch rather than sed'ing files in the build process.

Signed-off-by: Francois Perrad <fperrad@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolua: split and rename patches
Francois Perrad [Tue, 17 Jul 2012 08:18:27 +0000 (10:18 +0200)]
lua: split and rename patches

Signed-off-by: Francois Perrad <fperrad@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolinux: bump default to kernel version 3.4.5
Gustavo Zacarias [Tue, 17 Jul 2012 12:24:27 +0000 (09:24 -0300)]
linux: bump default to kernel version 3.4.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agokernel-headers: bump 3.{0, 4}.x stable versions
Gustavo Zacarias [Tue, 17 Jul 2012 12:24:26 +0000 (09:24 -0300)]
kernel-headers: bump 3.{0, 4}.x stable versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agodoc: minor documentation fixes after package infrastructure changes
Thomas Petazzoni [Tue, 17 Jul 2012 18:27:05 +0000 (20:27 +0200)]
doc: minor documentation fixes after package infrastructure changes

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoClean up naming of old GENTARGETS infrastructure
Arnout Vandecappelle (Essensium/Mind) [Thu, 5 Jul 2012 22:06:46 +0000 (00:06 +0200)]
Clean up naming of old GENTARGETS infrastructure

With the renaming of XXXTARGETS to xxx-package, the names of the
pkg-xxx.mk files is inconsistent, as well as some internal names in
the documentation.  These inconsistencies are cleaned up here.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 ...kages-autotargets.txt => adding-packages-autotools.txt} |    4 ++--
 ...packages-cmaketargets.txt => adding-packages-cmake.txt} |    4 ++--
 docs/manual/adding-packages-directory.txt                  |   12 ++++++------
 ...packages-gentargets.txt => adding-packages-generic.txt} |    4 ++--
 docs/manual/adding-packages.txt                            |    6 +++---
 package/Makefile.in                                        |    6 +++---
 package/{pkg-autotargets.mk => pkg-autotools.mk}           |    0
 package/{pkg-cmaketargets.mk => pkg-cmake.mk}              |    0
 package/{pkg-gentargets.mk => pkg-generic.mk}              |    0
 9 files changed, 18 insertions(+), 18 deletions(-)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoall packages: rename XXXTARGETS to xxx-package
Arnout Vandecappelle (Essensium/Mind) [Mon, 2 Jul 2012 22:07:32 +0000 (00:07 +0200)]
all packages: rename XXXTARGETS to xxx-package

Also remove the redundant $(call ...).

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoRename XXXTARGETS to xxx-package
Arnout Vandecappelle (Essensium/Mind) [Mon, 2 Jul 2012 22:07:08 +0000 (00:07 +0200)]
Rename XXXTARGETS to xxx-package

With the introduction of a specific macro for host targets, it was decided
to also make the names of the macros more intuitive: generic-package,
autotools-package and cmake-package.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
12 years agoall packages: use new host-xxx-package macros
Arnout Vandecappelle (Essensium/Mind) [Mon, 2 Jul 2012 22:06:54 +0000 (00:06 +0200)]
all packages: use new host-xxx-package macros

This is a purely mechanical change, performed with
find package linux toolchain boot -name \*.mk | \
  xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \
               -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \
               -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agopkg-infra: add host-xxx-package macro
Arnout Vandecappelle (Essensium/Mind) [Mon, 2 Jul 2012 22:05:46 +0000 (00:05 +0200)]
pkg-infra: add host-xxx-package macro

Create host-generic-package, host-autotools-package and
host-cmake-package macros.  Such a macro is more intuitive to use than
the $(call ...,host) construct.  Also it speeds things up by having
one less $(call ...) evaluation.

Also includes documentation update, but not for buildroot.html.

This brings the time for 'make -qp' (which is used by bash-completion)
down from 1.85s to 1.35s on my laptop.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agonasm: bump version to 2.10.01, remove dummy target package
Thomas Petazzoni [Tue, 17 Jul 2012 18:03:53 +0000 (20:03 +0200)]
nasm: bump version to 2.10.01, remove dummy target package

The target package was only present because at the time 'nasm' was
packaged, there was a bug in the package infrastructure that prevented
a package from having a host only variant. This has been fixed since
then, so we can get rid of the useless dummy target package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agosyslinux: bump to 4.05
Aras Vaichas [Thu, 5 Jul 2012 20:01:31 +0000 (22:01 +0200)]
syslinux: bump to 4.05

* bump syslinux from 4.04 to 4.05
* add patch to fix build problem with 4.05, see
http://old.nabble.com/syslinux-fails-to-build-td34112447.html
* add util-linux dependency and make sure the build finds it

Signed-off-by: Aras Vaichas <aras.vaichas@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agograph-depends: ignore a few more uninteresting targets
Thomas Petazzoni [Sat, 7 Jul 2012 15:51:17 +0000 (17:51 +0200)]
graph-depends: ignore a few more uninteresting targets

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agodoc: get rid of the old HTML-only documentation
Thomas Petazzoni [Tue, 17 Jul 2012 17:42:40 +0000 (19:42 +0200)]
doc: get rid of the old HTML-only documentation

Users keep falling on this documentation, which is no longer kept
up-to-date with the developments. Get rid of it now.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agodoc: Add FAQ entries from the old HTML-only documentation
Thomas Petazzoni [Tue, 17 Jul 2012 17:42:04 +0000 (19:42 +0200)]
doc: Add FAQ entries from the old HTML-only documentation

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoberkeleydb: define license
Luca Ceresoli [Thu, 17 May 2012 17:33:21 +0000 (19:33 +0200)]
berkeleydb: define license

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agonetsnmp: define license
Luca Ceresoli [Thu, 17 May 2012 17:33:20 +0000 (19:33 +0200)]
netsnmp: define license

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agopcre: define license
Luca Ceresoli [Thu, 17 May 2012 17:33:19 +0000 (19:33 +0200)]
pcre: define license

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolibusb: define license
Luca Ceresoli [Thu, 17 May 2012 17:33:18 +0000 (19:33 +0200)]
libusb: define license

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolzop: define license
Luca Ceresoli [Thu, 17 May 2012 17:33:17 +0000 (19:33 +0200)]
lzop: define license

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolzo: define license
Luca Ceresoli [Thu, 17 May 2012 17:33:16 +0000 (19:33 +0200)]
lzo: define license

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoiostat: define license
Luca Ceresoli [Thu, 17 May 2012 17:33:15 +0000 (19:33 +0200)]
iostat: define license

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agodirectfb: define license
Luca Ceresoli [Thu, 17 May 2012 17:33:14 +0000 (19:33 +0200)]
directfb: define license

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agobzip2: define license
Luca Ceresoli [Thu, 17 May 2012 17:33:13 +0000 (19:33 +0200)]
bzip2: define license

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agofakeroot: define license
Luca Ceresoli [Thu, 17 May 2012 17:33:12 +0000 (19:33 +0200)]
fakeroot: define license

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agompc: define license
Luca Ceresoli [Thu, 17 May 2012 17:33:11 +0000 (19:33 +0200)]
mpc: define license

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agom4: define license
Luca Ceresoli [Thu, 17 May 2012 17:33:10 +0000 (19:33 +0200)]
m4: define license

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolinux: define license
Luca Ceresoli [Thu, 17 May 2012 17:33:09 +0000 (19:33 +0200)]
linux: define license

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agomanual: add advice about GPL compliance for Buildroot
Luca Ceresoli [Thu, 17 May 2012 17:33:08 +0000 (19:33 +0200)]
manual: add advice about GPL compliance for Buildroot

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agomanual: document usage of the legal-info feature
Luca Ceresoli [Thu, 17 May 2012 17:33:07 +0000 (19:33 +0200)]
manual: document usage of the legal-info feature

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agovpnc: warn that legal-info is not implemented
Luca Ceresoli [Thu, 17 May 2012 17:33:06 +0000 (19:33 +0200)]
vpnc: warn that legal-info is not implemented

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agottcp: warn that legal-info is not implemented
Luca Ceresoli [Thu, 17 May 2012 17:33:05 +0000 (19:33 +0200)]
ttcp: warn that legal-info is not implemented

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agonewt: warn that legal-info is not implemented
Luca Ceresoli [Thu, 17 May 2012 17:33:04 +0000 (19:33 +0200)]
newt: warn that legal-info is not implemented

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agonetkittelnet: warn that legal-info is not implemented
Luca Ceresoli [Thu, 17 May 2012 17:33:03 +0000 (19:33 +0200)]
netkittelnet: warn that legal-info is not implemented

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agonetkitbase: warn that legal-info is not implemented
Luca Ceresoli [Thu, 17 May 2012 17:33:02 +0000 (19:33 +0200)]
netkitbase: warn that legal-info is not implemented

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agogettext: warn that legal-info is not implemented
Luca Ceresoli [Thu, 17 May 2012 17:33:01 +0000 (19:33 +0200)]
gettext: warn that legal-info is not implemented

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolegal-info: infrastructure to collect legally-relevant material
Luca Ceresoli [Thu, 17 May 2012 17:33:00 +0000 (19:33 +0200)]
legal-info: infrastructure to collect legally-relevant material

This allows to automatically collect material that may be needed to comply with
the license of packages that Buildroot prepares for the target device.

The core of the implementation is made by the following parts:
 - in package/pkg-utils.mk some helper functions are defined for common actions
   such as generating a warning, producing info about a package etc;
 - in package/pkg-gentargets.mk, within the GENTARGETS framework, a new
   <PKG>-legal-info target produces all the info for a given package;
 - Makefile implements the top-level targets:
   - legal-info-prepare creates the output directory and produces legal info
     about Buildroot itself and the toolchain, which mostly means just warning
     the user that this is not implemented;
   - legal-info, the only target that is supposed to be used directly, depends
     on all of the above and finishes things by producing the README files from
     the various pieces.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoopencv: get rid of unused SSE41 and SSE42 options
Thomas Petazzoni [Tue, 17 Jul 2012 09:53:55 +0000 (11:53 +0200)]
opencv: get rid of unused SSE41 and SSE42 options

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
12 years agoopencv: bump to version 2.4.2
Samuel Martin [Mon, 16 Jul 2012 21:37:30 +0000 (23:37 +0200)]
opencv: bump to version 2.4.2

Update Config.in and .mk according to the new features.

Remove the patch handling build with uclibc without long double support,
which seems not necessary anymore.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agosdl_sound: refactor *_CONF_OPT assignment with cpu-feature options
Samuel Martin [Mon, 16 Jul 2012 21:37:29 +0000 (23:37 +0200)]
sdl_sound: refactor *_CONF_OPT assignment with cpu-feature options

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agosdl_gfx: refactor *_CONF_OPT assignment with cpu-feature options
Samuel Martin [Mon, 16 Jul 2012 21:37:28 +0000 (23:37 +0200)]
sdl_gfx: refactor *_CONF_OPT assignment with cpu-feature options

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolibevas: refactor *_CONF_OPT assignment with cpu-feature options
Samuel Martin [Mon, 16 Jul 2012 21:37:27 +0000 (23:37 +0200)]
libevas: refactor *_CONF_OPT assignment with cpu-feature options

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agotarget: add symbols for i386/x86_64 cpu features
Samuel Martin [Mon, 16 Jul 2012 21:37:26 +0000 (23:37 +0200)]
target: add symbols for i386/x86_64 cpu features

Selecting the target subarchitecture variant automatically selects the
appropriated set of features.

[thomas.petazzoni@free-electrons.com:
  removed depends on inside hidden options, not needed.
  removed SSE41/SSE42 options, not used.]

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agogrep: bump to version 2.13
Gustavo Zacarias [Sun, 15 Jul 2012 13:47:45 +0000 (10:47 -0300)]
grep: bump to version 2.13

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agocifs-utils: bump to version 5.5
Gustavo Zacarias [Sun, 15 Jul 2012 13:47:44 +0000 (10:47 -0300)]
cifs-utils: bump to version 5.5

Bump cifs-utils to version 5.5
Also switch to http source instead of ftp.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoipset: bump to version 6.13
Gustavo Zacarias [Sun, 15 Jul 2012 13:47:43 +0000 (10:47 -0300)]
ipset: bump to version 6.13

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agofreetype: bump to version 2.4.10
Gustavo Zacarias [Sun, 15 Jul 2012 13:47:42 +0000 (10:47 -0300)]
freetype: bump to version 2.4.10

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoradvd: bump to version 1.9.1
Gustavo Zacarias [Sun, 15 Jul 2012 13:47:41 +0000 (10:47 -0300)]
radvd: bump to version 1.9.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agompfr: bump to version 3.1.1
Gustavo Zacarias [Sun, 15 Jul 2012 13:47:40 +0000 (10:47 -0300)]
mpfr: bump to version 3.1.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoorc: remove redundant HOST_ORC_DEPENDENCIES
Arnout Vandecappelle (Essensium/Mind) [Sat, 14 Jul 2012 20:32:11 +0000 (22:32 +0200)]
orc: remove redundant HOST_ORC_DEPENDENCIES

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoncurses: remove redundant HOST_NCURSES_DEPENDENCIES
Arnout Vandecappelle (Essensium/Mind) [Sat, 14 Jul 2012 20:32:06 +0000 (22:32 +0200)]
ncurses: remove redundant HOST_NCURSES_DEPENDENCIES

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agolibcap: remove redundant HOST_LIBCAP_DEPENDENCIES
Arnout Vandecappelle (Essensium/Mind) [Sat, 14 Jul 2012 20:32:02 +0000 (22:32 +0200)]
libcap: remove redundant HOST_LIBCAP_DEPENDENCIES

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12 years agoicu: remove redundant HOST_ICU_DEPENDENCIES
Arnout Vandecappelle (Essensium/Mind) [Sat, 14 Jul 2012 20:31:57 +0000 (22:31 +0200)]
icu: remove redundant HOST_ICU_DEPENDENCIES

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>