buildroot.git
10 years agort-tests: use BR2_TOOLCHAIN_HAS_THREADS_NPTL
Thomas Petazzoni [Tue, 18 Feb 2014 21:09:01 +0000 (22:09 +0100)]
rt-tests: use BR2_TOOLCHAIN_HAS_THREADS_NPTL

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodocs/manual: indicate how to handle BR2_TOOLCHAIN_HAS_THREADS_NPTL
Thomas Petazzoni [Tue, 18 Feb 2014 21:09:00 +0000 (22:09 +0100)]
docs/manual: indicate how to handle BR2_TOOLCHAIN_HAS_THREADS_NPTL

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain: introduce a toolchain knob for NPTL
Thomas Petazzoni [Tue, 18 Feb 2014 21:08:59 +0000 (22:08 +0100)]
toolchain: introduce a toolchain knob for NPTL

As our architecture support expands to a number of architectures that
do not implement NPTL threading, and the number of packages that
depend on NPTL specific features, it has become necessary to be able
to know whether the toolchain has NPTL support or not.

This commit adds a new BR2_TOOLCHAIN_HAS_THREADS_NPTL hidden Config.in
option that allows packages to know whether NPTL is available or not.

This hidden option is:

 * Automatically enabled when glibc/eglibc or musl toolchains are
   used, either internal or external.

 * Automatically enabled when an internal uClibc toolchain with NPTL
   support is configured. It is left disabled otherwise for internal
   uClibc toolchains.

 * Configured according to a visible Config.in option for custom
   external uClibc toolchains.

[Peter: factor _EXTERNAL_HAS_THREADS in single if as suggested by Arnout]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoConfig: default BR2_PACKAGE_OVERRIDE_FILE to $(CONFIG_DIR)/local.mk
Yann E. MORIN [Wed, 29 Jan 2014 21:48:24 +0000 (22:48 +0100)]
Config: default BR2_PACKAGE_OVERRIDE_FILE to $(CONFIG_DIR)/local.mk

The current default for BR2_PACKAGE_OVERRIDE_FILE points to:
    $(TOPDIR)/local.mk

This works well for in-tree builds, but is not very useful for
out-of-tree builds, when the Buildroot source tree may be shared for
different concurrent builds.

Also, it seems to be more sensible to have local.mk alognside
the .config file.

Hence, change the default for BR2_PACKAGE_OVERRIDE_FILE to point to:
    $(CONFIG_DIR)/local.mk

Note that this does not change the current behaviour for in-tree
builds, since in that case $(CONFIG_DIR) == $(TOPDIR).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agojansson: bump to 2.6
Yegor Yefremov [Fri, 21 Feb 2014 13:25:55 +0000 (14:25 +0100)]
jansson: bump to 2.6

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoMakefile: fix target-finalize rule
Fabio Porcedda [Thu, 20 Feb 2014 14:26:18 +0000 (15:26 +0100)]
Makefile: fix target-finalize rule

Fix a bug introduced by the commit a24877586a566e052897e50e6a0c2f53cfb029f5
(Makefile: add support for top-level parallel make).

That commit put a new rule inside the target-finalize rule so it was
erroneously splitted in two parts.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboard: add support for the MinnowBoard
Thomas Petazzoni [Wed, 19 Feb 2014 19:10:21 +0000 (20:10 +0100)]
board: add support for the MinnowBoard

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogummiboot: new package
Thomas Petazzoni [Wed, 19 Feb 2014 19:10:20 +0000 (20:10 +0100)]
gummiboot: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agognu-efi: new package
Thomas Petazzoni [Wed, 19 Feb 2014 19:10:19 +0000 (20:10 +0100)]
gnu-efi: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Christophe Vu-Brugier <cvubrugier@yahoo.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogrub2: add new package
Thomas Petazzoni [Wed, 19 Feb 2014 19:10:18 +0000 (20:10 +0100)]
grub2: add new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: Change BR2_HOST_NEEDS_JAVA name
Maxime Hadjinlian [Wed, 19 Feb 2014 15:33:50 +0000 (16:33 +0100)]
infra: Change BR2_HOST_NEEDS_JAVA name

Change BR2_HOST_NEEDS_JAVA to BR2_NEEDS_HOST_JAVA as it makes more
sense.
The host doesn't need Java but Buildroot needs the host to have
Java in order to build the package that select this option.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: Introduce BR2_HOST_NEEDS_JAVA
Maxime Hadjinlian [Mon, 17 Feb 2014 23:37:12 +0000 (00:37 +0100)]
infra: Introduce BR2_HOST_NEEDS_JAVA

XBMC needs Java on the host in order to build, because it uses a
code-generator which is built in two phases: In the first phase SWIG is used
to parse C++ header files that define the API.  SWIG outputs an XML file
that contains a complete description of the structure of the API.  In the
second phase, the XML file is ingested by a Groovy (Java) program that then
creates C++ code that forms the bridge to the scripting language (Python).

The second phase is why we need java on the host.

You can learn more at the XBMC's wiki:
http://wiki.xbmc.org/index.php?title=Codegeneration#How_it_works

In order to check that, this patch introduce this mechanism in
dependencies.sh, and it also defines the variable in Config.in

[Peter: fix error message]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosdl_image: add host version
Maxime Hadjinlian [Mon, 17 Feb 2014 23:37:11 +0000 (00:37 +0100)]
sdl_image: add host version

Host version is needed to build xbmc

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosdl: add host version
Maxime Hadjinlian [Mon, 17 Feb 2014 23:37:10 +0000 (00:37 +0100)]
sdl: add host version

Host version is needed to build xbmc

[Peter: use _PRE_CONFIGURE_HOOKS like target version]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython-pysnmp{, -apps, -mibs}: allow to build with Python 3
Thomas Petazzoni [Tue, 18 Feb 2014 20:40:13 +0000 (21:40 +0100)]
python-pysnmp{, -apps, -mibs}: allow to build with Python 3

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython-pycrypto: allow to build with Python 3
Thomas Petazzoni [Tue, 18 Feb 2014 20:40:12 +0000 (21:40 +0100)]
python-pycrypto: allow to build with Python 3

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython-pyasn: allow to build with Python 3
Thomas Petazzoni [Tue, 18 Feb 2014 20:40:11 +0000 (21:40 +0100)]
python-pyasn: allow to build with Python 3

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython-serial: allow to build with Python 3
Thomas Petazzoni [Tue, 18 Feb 2014 20:40:10 +0000 (21:40 +0100)]
python-serial: allow to build with Python 3

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython-bottle: allow to build with Python 3
Thomas Petazzoni [Tue, 18 Feb 2014 20:40:09 +0000 (21:40 +0100)]
python-bottle: allow to build with Python 3

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython-pyasn: use the real upstream
Thomas Petazzoni [Tue, 18 Feb 2014 20:40:08 +0000 (21:40 +0100)]
python-pyasn: use the real upstream

The https://code.google.com/p/pyasn/ project is not really the real
upstream for PyASN, and at least not the upstream for the PyASN
implementation recommended by the PySNMP developers.

Instead, the real upstream is
https://pypi.python.org/packages/source/p/pyasn1/, which has had much
more regular releases than the other PyASN implementation.

Therefore, we switch to using this implementation, as recommended by
the PySNMP developers on http://pysnmp.sourceforge.net/download.html.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython, python3: fix to ensure libpython is stripped
Przemyslaw Wrzos [Tue, 18 Feb 2014 20:40:07 +0000 (21:40 +0100)]
python, python3: fix to ensure libpython is stripped

The python and python3 builds mark libpython as read-only which
prevents it from being stripped out correctly for the target.

Signed-off-by: Przemyslaw Wrzos <przemyslaw.wrzos@calyptech.com>
Acked-by: Thomas De Schampheleire <thomas.de_schampheleire@alcatel-lucent.com>
Tested-by: Thomas De Schampheleire <thomas.de_schampheleire@alcatel-lucent.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython-setuptools: bump version to 2.1.2
Rohan Fletcher [Tue, 18 Feb 2014 20:40:06 +0000 (21:40 +0100)]
python-setuptools: bump version to 2.1.2

[Thomas: bump to 2.1.2 instead of 0.8, remove comment that no longer
made sense about setuptools being forked.]

Signed-off-by: Rohan Fletcher <rohfledev@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython, python3: enable unicodedata for host-python, needed by setuptools
Thomas Petazzoni [Tue, 18 Feb 2014 20:40:05 +0000 (21:40 +0100)]
python, python3: enable unicodedata for host-python, needed by setuptools

As we are going to bump setuptools to a much newer version, the host
python needs to be built with support for unicodedata.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage: allow Python packages with Python3
Thomas Petazzoni [Tue, 18 Feb 2014 20:40:04 +0000 (21:40 +0100)]
package: allow Python packages with Python3

Until now, Python external modules were only visible when Python 2.x
was selected. With this commit, we now source all the Config.in files
of Python external modules, as soon as one of the two Python
interpreters is enabled.

Since all Python external modules have a "depends on
BR2_PACKAGE_PYTHON" in their Config.in, this commit in practice does
not allow to enable any Python external module. However, thanks to
this, we can progressively and safely enable more and more Python
external modules to build with Python 3, by simply changing their
dependency to "depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3".

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage: add python3 support in the package infrastructure
Thomas Petazzoni [Tue, 18 Feb 2014 20:40:03 +0000 (21:40 +0100)]
package: add python3 support in the package infrastructure

This commit improves the Python package infrastructure to allow Python
packages to be built with Python 3. The changes are fairly simple:

 * Use either PYTHON_PATH or PYTHON3_PATH as the PYTHONPATH depending
   on which Python is used.

 * Depend on host-python or host-python3 and python or python3
   depending on which Python is used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython3: provide a PYTHON3_PATH
Thomas Petazzoni [Tue, 18 Feb 2014 20:40:02 +0000 (21:40 +0100)]
python3: provide a PYTHON3_PATH

The Python package infrastructure will need the Python 3 package to
provide a PYTHON3_PATH environment variable in order to build
third-party Python modules.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython3: bump to 3.4.0rc1
Thomas Petazzoni [Tue, 18 Feb 2014 20:40:01 +0000 (21:40 +0100)]
python3: bump to 3.4.0rc1

This commit bumps the Python3 package to use Python 3.4.0rc1.

About the patches:

 * The patches below 100 are significantly changed, because like for
   Python 2.x, a good number of improvements have been made in the
   upstream Python for cross-compilation. Therefore, almost all of
   these patches have been modified.

 * All the patches above 100 are simply updated for Python 3.4.0, with
   a small refactoring for the handling of test modules.

The details of the python3.mk changes are:

 * --without-ensurepip to tell Python to not use PIP at build time.

 * Many environment variables are no longer passed, they were specific
   to our cross-compilation patches

 * The fixup of the LIBDIR in the Python Makefile is no longer needed
   since Python has switched to _sysconfigdata.py for distutils
   configuration instead of parsing the Makefile.

 * A new post patch hooks touches the two files generated by pgen to
   make sure they are newer than the pgen sources, which ensures pgen
   is not built/executed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython3: use proper PYTHON3_VERSION_MAJOR instead of harcoding 3.3
Thomas Petazzoni [Tue, 18 Feb 2014 20:40:00 +0000 (21:40 +0100)]
python3: use proper PYTHON3_VERSION_MAJOR instead of harcoding 3.3

Some parts of python3.mk were hardcoding the 3.3 version as the major
version, which does not work for Python 3.4 and other future
versions. Instead, use the existing PYTHON3_VERSION_MAJOR.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython3: add python -> python3 symlink for the host variant
Thomas Petazzoni [Tue, 18 Feb 2014 20:39:58 +0000 (21:39 +0100)]
python3: add python -> python3 symlink for the host variant

The target python3 depends on host-python3, but most of the scripts
call "python", so we need to ensure that $(HOST_DIR)/usr/bin/python
exists. This patch achieves this by creating a python -> python3
symbolic link in $(HOST_DIR), just like we are already doing for the
target Python 3.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython3: make it exclusive from python
Thomas Petazzoni [Tue, 18 Feb 2014 20:39:57 +0000 (21:39 +0100)]
python3: make it exclusive from python

In Buildroot, we do not support installing both Python 2.x and Python
3.x on the target.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython3: removal of *.py/*.pyc is now done globally
Thomas Petazzoni [Tue, 18 Feb 2014 20:39:56 +0000 (21:39 +0100)]
python3: removal of *.py/*.pyc is now done globally

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython-distutilscross: remove package that is no longer needed
Thomas Petazzoni [Tue, 18 Feb 2014 20:39:55 +0000 (21:39 +0100)]
python-distutilscross: remove package that is no longer needed

Thanks to the previous commit that makes distutilscross unecessary for
setuptools packages, the host-distutilscross package can now be
removed. There is no need for any Config.in.legacy handling, since
there is no target variant, or visible Config.in option for
host-distutilscross.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopkg-python: no longer use distutilscross for setuptools
Thomas Petazzoni [Tue, 18 Feb 2014 20:39:54 +0000 (21:39 +0100)]
pkg-python: no longer use distutilscross for setuptools

Thanks to the bump of Python 2.x, distutilscross is no longer needed
to achieve cross-compilation for setuptools packages. The host Python
2.x interpreter can be tricked into using the target compiler thanks
to pointing it to a different sysconfigdata module, which is achieved
using PYTHON_PATH.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogst1-plugins-bad: add assrender option
Peter Korsgaard [Mon, 17 Feb 2014 10:13:15 +0000 (11:13 +0100)]
gst1-plugins-bad: add assrender option

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogst1-plugins-bad: add vo-aacenc option
Peter Korsgaard [Mon, 17 Feb 2014 10:04:18 +0000 (11:04 +0100)]
gst1-plugins-bad: add vo-aacenc option

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage: add vo-aacenc (aac encoder)
Peter Korsgaard [Mon, 17 Feb 2014 09:16:27 +0000 (10:16 +0100)]
package: add vo-aacenc (aac encoder)

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosystemd: fix sed line in "sanitize path in units" hook
Ivan Sergeev [Sat, 15 Feb 2014 02:42:57 +0000 (18:42 -0800)]
systemd: fix sed line in "sanitize path in units" hook

The expanded SED variable already contains -e, so the extra -e was being
interpreted as the sed command and causing sed to fail.

Signed-off-by: Ivan Sergeev <vsergeev@kumunetworks.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocore: remove .py/.pyc for Python
Thomas Petazzoni [Thu, 13 Feb 2014 20:48:55 +0000 (21:48 +0100)]
core: remove .py/.pyc for Python

The main Buildroot Makefile was removing *.py or *.pyc if Python 2 was
enabled, but for Python 3, this action was taken care of by a post
install target hook of python3.mk, which means it wouldn't work with
external modules (the .py/.pyc removal would be done before external
Python modules are installed).

We fix this by making the global *.py/*.pyc removal in the main
Makefile work for both Python 2 and Python 3.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopkg-python: simplifications after the Python 2.x bump
Thomas Petazzoni [Thu, 13 Feb 2014 20:48:54 +0000 (21:48 +0100)]
pkg-python: simplifications after the Python 2.x bump

Thanks to the Python 2.x bump, it is no longer needed to pass
PYTHONCPREFIX, and CROSS_COMPILING when building third-party Python
modules.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython: bump to 2.7.6
Thomas Petazzoni [Thu, 13 Feb 2014 20:48:53 +0000 (21:48 +0100)]
python: bump to 2.7.6

Even though jumping from 2.7.3 to 2.7.6 looks like a minor version
bump, it is in fact a fairly significant one, because a good number of
changes to help cross-compilation have been merged into Python
upstream. Therefore, most of our patches are affected by this change.

In detail, this commit:

 * Renames all the patches to follow the naming convention of patches
   in Buildroot: the patch file names should not have any version
   number.

 * The patches numbered above 100, that add configuration options to
   disable certain modules of the Python standard library, are only
   renamed and slightly adapted, they didn't change that much.

 * The patches numbered below 100 are almost entirely rewritten: many
   of the cross-compilation problems that used to exist in Python
   2.7.3 no longer exist, and the number of remaining problems is
   smaller, and can be fixed with smaller patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopkg-python: also pass PYTHONPATH when building distutils packages
Thomas Petazzoni [Thu, 13 Feb 2014 20:48:52 +0000 (21:48 +0100)]
pkg-python: also pass PYTHONPATH when building distutils packages

With the upcoming bump of Python 2.x, it will become important that
the PYTHONPATH is passed whenever we build third-party packages, be
they using the distutils build mechanism, or the setuptools build
mechanism. This is because passing PYTHONPATH is what will allow
Python to find a special Python module that contains all the
compiler/library/headers definitions that are relevant when
cross-compiling.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopkg-python: use the newly defined PYTHON_PATH variable
Thomas Petazzoni [Thu, 13 Feb 2014 20:48:51 +0000 (21:48 +0100)]
pkg-python: use the newly defined PYTHON_PATH variable

Now that the Python package exposes its PYTHON_PATH variable, we can
use it in the package infrastructure. This prepares both the upcoming
bump of Python 2.x, and the introduction of Python 3 support in the
Python package infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython: expose PYTHON_PATH
Thomas Petazzoni [Thu, 13 Feb 2014 20:48:50 +0000 (21:48 +0100)]
python: expose PYTHON_PATH

As a preparation to make the Python infrastructure support both Python
and Python 3, as well as the bump of Python 2 and 3, we need the
Python package to expose the Python module path in a variable called
PYTHON_PATH. It will be used by the following commits.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoi.MX: Update versions to match latest Freescale release
Eric Nelson [Fri, 14 Feb 2014 00:26:19 +0000 (17:26 -0700)]
i.MX: Update versions to match latest Freescale release

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoi.MX: Use FREESCALE_IMX_SITE for Freescale packages
Eric Nelson [Fri, 14 Feb 2014 00:26:18 +0000 (17:26 -0700)]
i.MX: Use FREESCALE_IMX_SITE for Freescale packages

This patch consolidates the URLs for various Freescale-supplied
packages to use FREESCALE_IMX_SITE.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Reviewed-by: "Thomas Petazzoni" <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosdl: add support for top-level parallel make
Fabio Porcedda [Fri, 14 Feb 2014 09:55:09 +0000 (10:55 +0100)]
sdl: add support for top-level parallel make

To be sure that host-autoconf dependency is already built move the
call to autogen.sh from SDL_POST_PATCH_HOOKS to SDL_PRE_CONFIGURE_HOOKS.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoMakefile: update comment about top-level parallel Makefile
Fabio Porcedda [Fri, 14 Feb 2014 09:55:08 +0000 (10:55 +0100)]
Makefile: update comment about top-level parallel Makefile

After the latest patches top-level parallel Makefile is working but
there is still an issue when a package has an unspecified optional
dependency so change the comment to explain that.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage: enable jobserver for recursive make
Fabio Porcedda [Fri, 14 Feb 2014 09:55:07 +0000 (10:55 +0100)]
package: enable jobserver for recursive make

Add '+' prefix to the $($(PKG)_BUILD_CMDS) and $($(PKG)_INSTALL*_CMDS)
commands to enable jobserver for the sub-make.

Without the '+' prefix GNU make does not detect the sub-make so it
disable the jobserver for the sub-make.

>From GNU make documentation:
Using the MAKE variable has the same effect as using a â€˜+’ character
at the beginning of the recipe line.  This special feature is only
enabled if the MAKE variable appears directly in the recipe: it does
not apply if the MAKE variable is referenced through expansion of
another variable. In the latter case you must use the â€˜+’ token to get
these special effects.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoMakefile: add support for top-level parallel make
Fabio Porcedda [Fri, 14 Feb 2014 09:55:06 +0000 (10:55 +0100)]
Makefile: add support for top-level parallel make

To be able to use top-level parallel make we must not depend in a rule
on the order of evaluation of the prerequisites, so instead of relyng on
the left to right ordering of evaluation of the prerequisites add an
explicit rule to describe the dependencies.

Add explicit rules to describe the following dependency chain:
$(TARGETS) -> target-finalize -> rootfs-* -> target-post-image

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage: add support for top-level parallel make
Fabio Porcedda [Fri, 14 Feb 2014 09:55:05 +0000 (10:55 +0100)]
package: add support for top-level parallel make

To be able to use top-level parallel make we must not depend in a rule
on the order of evaluation of the prerequisites, so instead of relying
on the left to right ordering of evaluation of the prerequisites add
an explicit rule to describe the dependencies.

We cannot use the pattern rules because they must have the same
dependency for every package, but we need to change the dependencies
depending on $(2)_OVERRIDE_SRCDIR variable value, so we must use a
more flexible way like $(2)_TARGET_% variables.

So add explicit dependencies for the following stamp files:
  $(2)_TARGET_EXTRACT
  $(2)_TARGET_PATCH
  $(2)_TARGET_CONFIGURE
  $(2)_TARGET_BUILD
  $(2)_TARGET_INSTALL_STAGING
  $(2)_TARGET_INSTALL_TARGET
  $(2)_TARGET_INSTALL_IMAGES
  $(2)_TARGET_INSTALL_HOST

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage: add toolchain dependency to every target package
Fabio Porcedda [Fri, 14 Feb 2014 09:55:04 +0000 (10:55 +0100)]
package: add toolchain dependency to every target package

This commit makes the dependency from the target toolchain explicit.
This way we can buid from command line a package that use
inner-generic-package right after the configuration phase, example:

make clean <package-name>

Also remove TARGETS_ALL because the only purpose was to add toolchain
dependency so it's superseded by this commit.

To prevent circular dependency add the new variable
<pkgname>_ADD_TOOLCHAIN_DEPENDENCY to avoid adding the toolchain
dependency for toolchain packages.

This is also a step forward supporting top-level parallel make.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage: add base dependency to every package
Fabio Porcedda [Fri, 14 Feb 2014 09:55:03 +0000 (10:55 +0100)]
package: add base dependency to every package

Move "dependencies" "dirs" "prepare" dependencies from "toolchain" to
every package.
This way we can build correctly every package right after the clean
stage.
As example with this commit we can build successfully the glibc right
after the clean stage:
make clean glibc

This is also a step forward supporting top-level parallel make.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodbus: ensure dbus user is created
Samuel Martin [Tue, 4 Feb 2014 11:46:19 +0000 (12:46 +0100)]
dbus: ensure dbus user is created

Since we are changing the default dbus user, make sure this user is
consistently created.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodbus: bump version to 1.6.8
Samuel Martin [Tue, 4 Feb 2014 11:46:18 +0000 (12:46 +0100)]
dbus: bump version to 1.6.8

Cc: Gary Coulbourne <bear@bears.org>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoltp-testsuite: bump version to 20140115
Vicente Olivert Riera [Wed, 5 Feb 2014 13:21:57 +0000 (13:21 +0000)]
ltp-testsuite: bump version to 20140115

Fixes:
   http://autobuild.buildroot.net/results/14c/14c107a735bb54f55c99391b0ea0ff6bd1234e12/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibatomic_ops: Update repository and bump version
Maxime Hadjinlian [Wed, 5 Feb 2014 18:12:17 +0000 (19:12 +0100)]
libatomic_ops: Update repository and bump version

Change the download source to a Github repository which is more recent.
This patch also bump libatomic_ops version and remove a patch that is
now upstream.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoglibc: add 2.19 as a supported version
Thomas Petazzoni [Mon, 10 Feb 2014 17:43:46 +0000 (18:43 +0100)]
glibc: add 2.19 as a supported version

glibc 2.19 has been released recently
(https://sourceware.org/ml/libc-alpha/2014-02/msg00224.html). This
commit allows to build a toolchain with this new version. In order to
allow this, we add a version selection that did not exist for
glibc. We default to 2.18, which was the only supported version until
now, and add an option for 2.19.

For microblaze, which uses a specific glibc version, the version
selection choice is not displayed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogdb: arc: bump to git commit cb15acc
Anton Kolesov [Thu, 13 Feb 2014 12:41:48 +0000 (16:41 +0400)]
gdb: arc: bump to git commit cb15acc

Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agouclibc: arc: bump to git commit f37101d
Anton Kolesov [Thu, 13 Feb 2014 12:41:47 +0000 (16:41 +0400)]
uclibc: arc: bump to git commit f37101d

Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobinutils: arc: Bump to git commit a934fe5
Anton Kolesov [Thu, 13 Feb 2014 12:41:46 +0000 (16:41 +0400)]
binutils: arc: Bump to git commit a934fe5

Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoRevert "dmraid: disable on ARC arch"
Anton Kolesov [Thu, 13 Feb 2014 12:41:45 +0000 (16:41 +0400)]
Revert "dmraid: disable on ARC arch"

This reverts commit 262a4c0bf7fb64d632ae6d40c22a62380c0af65f.

Compiler error has been fixed, and building this package doesn't cause an
ICE anymore.

Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: arc: bump to git commit c6227bc
Anton Kolesov [Thu, 13 Feb 2014 12:41:44 +0000 (16:41 +0400)]
gcc: arc: bump to git commit c6227bc

This fixes two issues: one segmentation fault in GCC and one invalid code
generation. Those fix numerous autobuild failures, including:
http://autobuild.buildroot.net/results/715/7158a2a19da6bfa950125a951a39061ccaa73101/
http://autobuild.buildroot.net/results/9d4/9d4fbcb91cf76e01c833d70c401c0828ad37631a/
http://autobuild.buildroot.net/results/ef6/ef6a0e2d382ae202bb8f0e9fc9f5e48c90119faf/
http://autobuild.buildroot.net/results/276/27692619efee482cded56967017f260bd30eefe7/

Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual: update /dev management section.
eric.le.bihan.dev@free.fr [Fri, 7 Feb 2014 13:21:35 +0000 (14:21 +0100)]
manual: update /dev management section.

This patch updates the /dev management section in the manual with information
about eudev, which replaces udev.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosystemd: bump to v207
eric.le.bihan.dev@free.fr [Fri, 7 Feb 2014 13:21:34 +0000 (14:21 +0100)]
systemd: bump to v207

This patch bumps systemd to v207 but also declares it as a provider for the
udev virtual package.

Starting with systemd 183, udev has been merged into
systemd. The udev daemon is now installed as /lib/systemd/systemd-udevd.
This means that /dev management using udev is only available if systemd
is chosen as init system.

When configuring systemd, the following options are available:

- activation of systemd-journal-gatewayd, to access the journal via
  HTTP.
- activation of extra features like journal compression and sealing.

Support for uClibc has also been removed because:

- upstream has no interest in supporting uClibc.
- using a shrinked libc brings no advantage, given the size of all the
  programs included in Systemd. So using glibc does not matter.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoudev: convert to virtual package
eric.le.bihan.dev@free.fr [Fri, 7 Feb 2014 13:21:33 +0000 (14:21 +0100)]
udev: convert to virtual package

This patch converts udev to a virtual package. For the moment, there is only
one provider for the udev features: eudev.

Packages meant to provide udev-like features must select the symbol
BR2_PACKAGE_HAS_UDEV.

Packages depending on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV or
BR2_PACKAGE_UDEV have been converted to use the new symbol.

[Peter: move legacy symbols under 2014.05]
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoeudev: new package
eric.le.bihan.dev@free.fr [Fri, 7 Feb 2014 13:21:32 +0000 (14:21 +0100)]
eudev: new package

eudev is a userspace device management daemon. It is a standalone
version, independent from systemd. It is a fork maintained by Gentoo.

Features:

 - No extra configuration options are available: Gudev is build if
   libglib2 is selected.
 - No dependency on hwdata as the package uses its own hardware
   database (as does systemd).

eudev 1.3 is in sync with systemd v207.

[Peter: add BR2_USE_MMU dependency]
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoAdd OpenTyrian package (SDL game)
Julien Boibessot [Tue, 11 Feb 2014 08:43:19 +0000 (09:43 +0100)]
Add OpenTyrian package (SDL game)

[Peter: hide -data package if opentyrian isn't enabled]
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogit: bump to version 1.8.5.4
Jerzy Grzegorek [Thu, 6 Feb 2014 14:05:05 +0000 (15:05 +0100)]
git: bump to version 1.8.5.4

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agophp-imagick: new package
Gustavo Zacarias [Tue, 28 Jan 2014 21:26:31 +0000 (18:26 -0300)]
php-imagick: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agophp-ssh2: new package
Gustavo Zacarias [Tue, 28 Jan 2014 21:26:30 +0000 (18:26 -0300)]
php-ssh2: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agophp-yaml: new package
Gustavo Zacarias [Tue, 28 Jan 2014 21:26:29 +0000 (18:26 -0300)]
php-yaml: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agophp-zmq: new package
Gustavo Zacarias [Tue, 28 Jan 2014 21:26:28 +0000 (18:26 -0300)]
php-zmq: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agophp: fix for external extensions
Gustavo Zacarias [Tue, 28 Jan 2014 21:26:27 +0000 (18:26 -0300)]
php: fix for external extensions

Adjust phpize and php-config to make them work for cross-compiled
external extensions.
While at it also fix dl* issues that prevent said extensions from
loading.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogst1-libav: bump version
Peter Korsgaard [Wed, 12 Feb 2014 10:47:37 +0000 (11:47 +0100)]
gst1-libav: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogst1-plugins-bad: bump version
Peter Korsgaard [Wed, 12 Feb 2014 10:46:57 +0000 (11:46 +0100)]
gst1-plugins-bad: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogst1-plugins-ugly: bump version
Peter Korsgaard [Wed, 12 Feb 2014 10:45:17 +0000 (11:45 +0100)]
gst1-plugins-ugly: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogst1-plugins-good: bump version
Peter Korsgaard [Wed, 12 Feb 2014 10:44:47 +0000 (11:44 +0100)]
gst1-plugins-good: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogst1-plugins-base: bump version
Peter Korsgaard [Wed, 12 Feb 2014 10:44:21 +0000 (11:44 +0100)]
gst1-plugins-base: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogstreamer1: bump version
Peter Korsgaard [Wed, 12 Feb 2014 10:43:54 +0000 (11:43 +0100)]
gstreamer1: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconnman: bump version
Peter Korsgaard [Tue, 11 Feb 2014 18:01:41 +0000 (19:01 +0100)]
connman: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agousb_modeswitch_data: bump to version 20140129
Axel Lin [Thu, 6 Feb 2014 11:50:52 +0000 (19:50 +0800)]
usb_modeswitch_data: bump to version 20140129

20140129:
    Minor bug fix in configs 19d2:0149 and 19d2:2000 (Lars Melin reported)

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agousb_modeswitch: bump to version 2.1.0
Axel Lin [Thu, 6 Feb 2014 11:50:01 +0000 (19:50 +0800)]
usb_modeswitch: bump to version 2.1.0

Version 2.1.0, 2014/01/28
    ATTENTION: -I flag meaning reversed, default is to skip SCSI inquiry;
    introduction of StandardEject, replacing many MessageContents with the
    same function, reducing size of device config files, and always including
    the 'Allow Medium Removal' before ejecting (thanks to Lars Melin for
    the idea); fix in "bulk_read", removing bogus CSW request (report from
    "Sonya@zte")

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agof2fs-tools: bump to version 1.3.0
Axel Lin [Sun, 9 Feb 2014 02:48:52 +0000 (10:48 +0800)]
f2fs-tools: bump to version 1.3.0

This version includes:
 - add f2fstat tool
 - critical bug fix on nat bitmaps

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokickoff 2014.05 development cycle
Peter Korsgaard [Tue, 11 Feb 2014 12:42:08 +0000 (13:42 +0100)]
kickoff 2014.05 development cycle

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoUpdate for 2014.02-rc1
Peter Korsgaard [Tue, 11 Feb 2014 11:37:42 +0000 (12:37 +0100)]
Update for 2014.02-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoCHANGES: update with recent changes
Peter Korsgaard [Tue, 11 Feb 2014 11:32:56 +0000 (12:32 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosdl: fix autoreconf timing issue
Maxime Hadjinlian [Tue, 11 Feb 2014 09:12:35 +0000 (10:12 +0100)]
sdl: fix autoreconf timing issue

Context:
The autobuilders were failing on the symbol _XData32 being in conflicts.
A patch had been added to SDL to add a check to the configure.in

Problem:
Sometimes, the build would fail, because of an _XData32 symbol being in
conflicts eventhrough the patch was here.

What was happening:
Following the classic buildroot workflow:
   - Extract
   - [...]
   - Apply 001 patch, which touches configure.in AND configure
   - Apply 002 patch, which touches configure.in
   - Invoke autogen.sh
   - [...]

Right before running autogen.sh, we have configure.in which is more
recent than configure, which is fine.
We then, execute autogen.sh which, basically, runs autoconf.

If your machine was lighty loaded, the time difference between
configure.in and configure was really tiny (ms order), which seems to be
neglected by autoconf.
The results was that the configure was *NOT* generated. And our second
patch was not taken into account.

If your machine was under heavy load, the time difference between the
two files would have been greater and then *maybe* picked up by
autoconf. And then the configure file was re-generated.

When the 0001 patch was introduced, SDL package did *NOT* run it's
autogen.sh, which is why it touches also the configure.
This came later, causing this behavior.

Fixes:
  http://autobuild.buildroot.net/results/d1c/d1c36f634dbf6b6e5d18444c2a23dfd129202b80/

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibsigsegv: disable for ARC
Anton Kolesov [Tue, 11 Feb 2014 09:19:12 +0000 (13:19 +0400)]
libsigsegv: disable for ARC

Fixes http://autobuild.buildroot.net/results/5cd/5cd051937a9471f7fb47363e868cb4b61d788d75/build-end.log

The ARC uClibc port doesn't provide ucontext_i.sym file required to enable
context manipulation routines that libsigsegv needs.

Signed-off-by: Anton Kolesov <anton.kolesov@synopsys.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agorpcbind: uses fork(), needs MMU
Thomas Petazzoni [Tue, 11 Feb 2014 09:02:55 +0000 (10:02 +0100)]
rpcbind: uses fork(), needs MMU

Fixes:

  http://autobuild.buildroot.net/results/d7c/d7c788749b54275154cc3934a7a32385cd72be61/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoMakefile.legacy: fix recursive invocation with BUILDROOT_DL_DIR and _CONFIG
Arnout Vandecappelle [Mon, 10 Feb 2014 21:48:55 +0000 (22:48 +0100)]
Makefile.legacy: fix recursive invocation with BUILDROOT_DL_DIR and _CONFIG

The legacy support for the old BUILDROOT_DL_DIR and BUILDROOT_CONFIG
breaks down when make is invoked recursively - which is done in a few
cases, e.g. silentoldconfig, external-defs, ... These targets always
give a legacy error.

For BUILDROOT_DL_DIR, this is fixed by making sure that the original
value of BR2_DL_DIR taken from the environment is also exported again.

For BUILDROOT_CONFIG, this is fixed with an additional comparison of
the environment variable's value with the fake value that we introduce
ourselves.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agojpeg-turbo: fix "jpegtran" spelling in target-install hook
Danomi Manchego [Tue, 11 Feb 2014 02:07:38 +0000 (21:07 -0500)]
jpeg-turbo: fix "jpegtran" spelling in target-install hook

Use correct bin name so that JPEG_TURBO_REMOVE_USELESS_TOOLS fixup
actually removes it.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibjpeg: fix "jpegtran" spelling in target-install hook
Danomi Manchego [Tue, 11 Feb 2014 02:07:14 +0000 (21:07 -0500)]
libjpeg: fix "jpegtran" spelling in target-install hook

Use correct bin name so that LIBJPEG_REMOVE_USELESS_TOOLS fixup
actually removes it.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoCHANGES: update with recent changes
Peter Korsgaard [Mon, 10 Feb 2014 21:29:44 +0000 (22:29 +0100)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconfigs/raspberrypi: remove packages not strictly required
Yann E. MORIN [Mon, 10 Feb 2014 20:53:25 +0000 (21:53 +0100)]
configs/raspberrypi: remove packages not strictly required

rpi-userland and libcoffi are not strictly required to boot up the
Raspberry Pi, so remove them from the defconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconfigs/raspberrypi: bump kernel version
Yann E. MORIN [Mon, 10 Feb 2014 20:53:24 +0000 (21:53 +0100)]
configs/raspberrypi: bump kernel version

Bump from rpi-3.10.27 to rpi-3.10.29.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocpanminus: remove it
Francois Perrad [Mon, 10 Feb 2014 12:23:15 +0000 (13:23 +0100)]
cpanminus: remove it

cpanminus was marked as broken, now it becomes useless with the Perl infrastructure.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoperl: remove useless patch
Francois Perrad [Mon, 10 Feb 2014 12:23:13 +0000 (13:23 +0100)]
perl: remove useless patch

The Perl infrastructure uses a host version of Module-Build
(see previous commit "host-perl-module-build: new package").
The target version is never used, so no need to patch it.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohost-perl: export and rename PERL5LIB
Francois Perrad [Mon, 10 Feb 2014 12:23:08 +0000 (13:23 +0100)]
host-perl: export and rename PERL5LIB

The official Perl documentation refers only to PERL5LIB.
PERLLIB is obsolete, we don't need to be compatible with Perl4.

PERL5LIB is used in all environment, so it is simpler to just export it.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobeaglebone: change to zImage
Anders Darander [Mon, 10 Feb 2014 08:40:00 +0000 (09:40 +0100)]
beaglebone: change to zImage

The default U-Boot configuration is now to use a zImage instead of uImage.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobeaglebone: update to latest U-Boot
Anders Darander [Mon, 10 Feb 2014 08:39:59 +0000 (09:39 +0100)]
beaglebone: update to latest U-Boot

Update to the default version of U-Boot, at this time 2013.10.

Tested with an old uEnv.txt (i.e. using uImage) and with the
currently prefered zImage.

Signed-off-by: Anders Darander <anders@chargestorm.se>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>