buildroot.git
13 years agoinitramfs: fix boot with dynamic /dev
Peter Korsgaard [Wed, 20 Jul 2011 14:30:14 +0000 (16:30 +0200)]
initramfs: fix boot with dynamic /dev

Devtmpfs (which is used by devtmpfs/mdev/udev options) doesn't get
automounted by the kernel when an initramfs is used, causing boot
failures when a dynamic /dev is used.

Fix it by adding a pre-init script to mount devtmpfs before running init.

Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosdl: build alsa support if enabled
Peter Korsgaard [Tue, 19 Jul 2011 21:11:57 +0000 (23:11 +0200)]
sdl: build alsa support if enabled

Ensure alsa-lib gets built before SDL if enabled, so the SDL configure
script correctly detects alsa support.

Noticed by Ayla on IRC.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouboot: fix custom patch dir typo
Peter Korsgaard [Tue, 19 Jul 2011 11:59:42 +0000 (13:59 +0200)]
uboot: fix custom patch dir typo

Noticed by robinmholt on IRC.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouboot-tools: enable fw_printenv by default
Peter Korsgaard [Tue, 19 Jul 2011 10:26:27 +0000 (12:26 +0200)]
uboot-tools: enable fw_printenv by default

Normally people want to atleast use fw_printenv if they are using u-boot
tools, so default to 'y'.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Mon, 18 Jul 2011 21:34:10 +0000 (23:34 +0200)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosh: Fix Buildroot sh targets to match gnuconfig targets
Phil Edworthy [Mon, 9 May 2011 13:12:53 +0000 (14:12 +0100)]
sh: Fix Buildroot sh targets to match gnuconfig targets

sh2eb and sh2a_nofpueb gnuconfig targets are no longer supported
in Buildroot. This patch replaces these Buildroot targets with sh2
and sh2a respectively, and adds sh4a targets as these are widely
used.

To build for devices without an fpu, the relevant toolchain flags
will have to be specified.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogvfs: fix installation of gsettings schemas
Sven Neumann [Wed, 13 Jul 2011 16:54:49 +0000 (18:54 +0200)]
gvfs: fix installation of gsettings schemas

Install gvfs into staging and compile the installed schemas for
use on the target.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogvfs: drop dbus-glib dependency
Sven Neumann [Wed, 13 Jul 2011 16:54:48 +0000 (18:54 +0200)]
gvfs: drop dbus-glib dependency

Drop the dbus-glib dependency as gvfs uses dbus directly.

Also change dependency on the XML parser for dbus to be more
in sync with the dbus package.

[Peter: drop expat|libxml2 deps as shared-mime-type already selects libxml2]
Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogvfs: update to latest upstream version (1.8.2)
Sven Neumann [Wed, 13 Jul 2011 16:54:47 +0000 (18:54 +0200)]
gvfs: update to latest upstream version (1.8.2)

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoshared-mime-info: remove default options
Peter Korsgaard [Mon, 18 Jul 2011 20:57:21 +0000 (22:57 +0200)]
shared-mime-info: remove default options

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoshared-mime-info: update to version 0.90
Sven Neumann [Thu, 14 Jul 2011 07:16:28 +0000 (09:16 +0200)]
shared-mime-info: update to version 0.90

Need to use $(MAKE1) as parallel builds appear to be broken.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agocmake: bump version
Peter Korsgaard [Mon, 18 Jul 2011 20:25:39 +0000 (22:25 +0200)]
cmake: bump version

qt4 patch is now upstream.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoproftpd: bump version
Peter Korsgaard [Mon, 18 Jul 2011 14:01:37 +0000 (16:01 +0200)]
proftpd: bump version

Fixes several security-related issues.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoiso9660: fix build after af52661d (linux: rename LINUX26 to LINUX)
Peter Korsgaard [Mon, 18 Jul 2011 13:33:35 +0000 (15:33 +0200)]
iso9660: fix build after af52661d (linux: rename LINUX26 to LINUX)

iso9660 used LINUX26_IMAGE_PATH, which got renamed. Adjust to match
the new name.

Reported-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouboot-tools: add fw_printenv, rename to uboot-tools
Peter Korsgaard [Mon, 18 Jul 2011 13:22:13 +0000 (15:22 +0200)]
uboot-tools: add fw_printenv, rename to uboot-tools

Move fw_printenv / fw_setenv options from the uboot bootloader build to
the uboot-mkimage package, and rename it to uboot-tools.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux-fusion: fix build after af52661d (linux: rename LINUX26 to LINUX)
Peter Korsgaard [Mon, 18 Jul 2011 11:10:24 +0000 (13:10 +0200)]
linux-fusion: fix build after af52661d (linux: rename LINUX26 to LINUX)

linux-fusion uses a number of linux-specific variables. Adjust to match
their new names.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMakefile.package.in: use "" for MESSAGE arguments
Peter Korsgaard [Mon, 18 Jul 2011 10:49:25 +0000 (12:49 +0200)]
Makefile.package.in: use "" for MESSAGE arguments

Otherwise we get output like:

>>> host-pkg-config 0.25 'Installing to host directory'

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain-buildroot: NPTL is only supported with EABI on ARM
Peter Korsgaard [Mon, 18 Jul 2011 10:10:48 +0000 (12:10 +0200)]
toolchain-buildroot: NPTL is only supported with EABI on ARM

So hide option if OABI is selected.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomake help: sort defconfigs for make 3.82
Danomi Mocelopolis [Sun, 17 Jul 2011 20:17:08 +0000 (22:17 +0200)]
make help: sort defconfigs for make 3.82

Closes #3985

The wildcard function in make 3.82 no longer sorts the output, so
add an explicit sort so the defconfigs are listed in a sensible order.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/crosstool-NG: use the package infrastructure
Yann E. MORIN [Thu, 14 Jul 2011 22:24:07 +0000 (00:24 +0200)]
toolchain/crosstool-NG: use the package infrastructure

Move crosstool-NG to package/ and make it an autotarget package.
This requires a new patch (now upstream).

Now, the crosstool-NG toolchain backend only contains enough to build
the toolchain, there's no more reference to building crosstool-NG as
a package.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodbus-glib: update to version 0.94
Sven Neumann [Thu, 14 Jul 2011 20:01:14 +0000 (22:01 +0200)]
dbus-glib: update to version 0.94

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agognutls: update to version 2.10.3
Sven Neumann [Thu, 14 Jul 2011 07:10:55 +0000 (09:10 +0200)]
gnutls: update to version 2.10.3

There are newer releases available, but this is the last release that
uses libgcrypt. Newer versions prefer nettle over gcrypt. But then there
are users of gnutls (for example libsoup and glib-networking) that
assume that gnutls uses gcrypt as its crypto backend. They won't compile
with a version of gnutls that uses nettle.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMakefile: unbreak source-check
Yann E. MORIN [Thu, 14 Jul 2011 11:02:33 +0000 (13:02 +0200)]
Makefile: unbreak source-check

'source-check' breaks because the *_DEFCONFIG options are empty strings.
There is an explicit check to avoid erroring-out when doing 'source', but
not when doing 'source-check'.

This patch set DL_MODE right from the first sub-make call.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add libyaml
Evgeni Dobrev [Thu, 14 Jul 2011 20:27:51 +0000 (22:27 +0200)]
package: add libyaml

YAML 1.1 parser and emitter written in C

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux-fusion: change linux26 dependency to linux
Sven Neumann [Thu, 14 Jul 2011 20:00:06 +0000 (22:00 +0200)]
linux-fusion: change linux26 dependency to linux

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: fix build with release candidates
Peter Korsgaard [Thu, 14 Jul 2011 14:38:07 +0000 (16:38 +0200)]
linux: fix build with release candidates

Fixes *** Recursive variable `LINUX_SITE' references itself

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosheevaplug_defconfig: use 2.6.39.3
Peter Korsgaard [Thu, 14 Jul 2011 11:43:37 +0000 (13:43 +0200)]
sheevaplug_defconfig: use 2.6.39.3

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouboot: unbreak kirkwood format handling after a4ca959321
Peter Korsgaard [Thu, 14 Jul 2011 11:41:29 +0000 (13:41 +0200)]
uboot: unbreak kirkwood format handling after a4ca959321

Commit a4ca959321 (u-boot: rename to uboot) forgot to change the kirkwood
format handling to look for the new variable name, breaking support.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agojpeg: bump version
Peter Korsgaard [Thu, 14 Jul 2011 07:35:52 +0000 (09:35 +0200)]
jpeg: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolzo: bump version
Peter Korsgaard [Thu, 14 Jul 2011 07:33:44 +0000 (09:33 +0200)]
lzo: bump version

This contains an updated build system, so the patches are no longer needed.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoxz: bump version
Peter Korsgaard [Thu, 14 Jul 2011 07:10:25 +0000 (09:10 +0200)]
xz: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibpng: bump version
Peter Korsgaard [Thu, 14 Jul 2011 07:08:30 +0000 (09:08 +0200)]
libpng: bump version

Security fix.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Wed, 13 Jul 2011 20:43:12 +0000 (22:43 +0200)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add Mini-XML
Baruch Siach [Wed, 13 Jul 2011 14:34:19 +0000 (17:34 +0300)]
package: add Mini-XML

[Peter: don't build mxmldoc as it needs spawn.h]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoNew package: acl
Yegor Yefremov [Wed, 13 Jul 2011 09:13:59 +0000 (11:13 +0200)]
New package: acl

POSIX Access Control Lists, which are used to define more
fine-grained discretionary access rights for files and
directories.

[Peter: needs largefile]
Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoNew package: attr
Yegor Yefremov [Wed, 13 Jul 2011 09:12:29 +0000 (11:12 +0200)]
New package: attr

Commands for Manipulating Filesystem Extended Attributes.

[Peter: needs largefile]
Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add libroxml
Peter Korsgaard [Wed, 13 Jul 2011 10:44:42 +0000 (12:44 +0200)]
package: add libroxml

Closes #3595

Based on patch by Tristan Lelong <tristan.lelong@blunderer.org>.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain-external: download/show external toolchain with make source/external-deps
Peter Korsgaard [Wed, 13 Jul 2011 06:49:52 +0000 (08:49 +0200)]
toolchain-external: download/show external toolchain with make source/external-deps

Based on patch by HervĂ© Fache <h-fache@ti.com>.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/crosstool-ng: allow pre-downloading the sources
Yann E. MORIN [Tue, 12 Jul 2011 23:07:45 +0000 (01:07 +0200)]
toolchain/crosstool-ng: allow pre-downloading the sources

On "make source", just download the required sources, and do not
build the entire toolchain. This requires a new patch against
crosstool-NG (got from upstream).

The "uclibc-source" rule requires an installed and configured
crosstool-NG, so it has to be after the variables declaration.
For consistency, move down the main rule "uclibc".

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoFix colon location in S01logging script
H Hartley Sweeten [Wed, 13 Jul 2011 00:45:22 +0000 (17:45 -0700)]
Fix colon location in S01logging script

The S01logging script currently displays the start/stop messages like this:

Start logging :OK

The normal form for these messages is:

Start logging: OK

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibargtable2: fix source tarball name
Peter Korsgaard [Wed, 13 Jul 2011 06:09:41 +0000 (08:09 +0200)]
libargtable2: fix source tarball name

Last minute brown paper bag bug.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobridge-utils: bump to version 1.5
Gustavo Zacarias [Fri, 6 May 2011 14:04:45 +0000 (11:04 -0300)]
bridge-utils: bump to version 1.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosh: Add SH2A CodeSourcery external toolchain
Phil Edworthy [Fri, 6 May 2011 14:23:04 +0000 (15:23 +0100)]
sh: Add SH2A CodeSourcery external toolchain

Added the CodeSourcery uCLinux/uClibc toolchain for the SH2A big
endian devices.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMakefile.package.in: Add BR2_XZCAT for LZMA compression type
Allan W. Nielsen [Tue, 10 May 2011 06:17:05 +0000 (08:17 +0200)]
Makefile.package.in: Add BR2_XZCAT for LZMA compression type

Signed-off-by: Allan W. Nielsen <a@awn.dk>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add libargtable2
Robin Holt [Mon, 13 Jun 2011 12:14:05 +0000 (07:14 -0500)]
package: add libargtable2

The argtable2 sourceforge project provides easy parsing of command line
options and file contents.

[Peter: Misc cleanup/fixes]
Signed-off-by: Robin Holt <holt@sgi.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add gnutls
Daniel Mack [Mon, 11 Jul 2011 13:34:27 +0000 (15:34 +0200)]
package: add gnutls

[Peter: move to crypto section]
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibgcrypt: bump version to 1.5.0
Daniel Mack [Mon, 11 Jul 2011 13:34:26 +0000 (15:34 +0200)]
libgcrypt: bump version to 1.5.0

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosysvinit: package name typo
Milton Soares Filho [Tue, 12 Jul 2011 05:04:39 +0000 (01:04 -0400)]
sysvinit: package name typo

This fails when Make decides to process sysvinit targets before busybox.

Signed-off-by: Milton Soares Filho <milton.soares.filho@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobarebox: bump version
Peter Korsgaard [Mon, 11 Jul 2011 21:46:22 +0000 (23:46 +0200)]
barebox: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouboot: Add 2011.06, remove 2010.03
Thomas Petazzoni [Mon, 11 Jul 2011 20:46:17 +0000 (22:46 +0200)]
uboot: Add 2011.06, remove 2010.03

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: add support for 3.x and -rc versions
Thomas Petazzoni [Mon, 11 Jul 2011 20:46:16 +0000 (22:46 +0200)]
linux: add support for 3.x and -rc versions

The assumption that all kernels are in
http://www.kernel.org/pub/linux/kernel/v2.6/ is no longer true:
versions 3.x are in separate directories.

We now compute the directory name from the major and minor versions of
the version provided by the user. This assumes that the 3.1 version
will be in a /v3.1/ directory, which we don't know yet because the 3.1
cycle hasn't started yet.

At the same time, we add support for the official -rcX versions.

Patch tested by compiling 3.0-rc6, which Buildroot has successfully
downloaded and built.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoat91dataflashboot: use "config" instead of "menuconfig"
Thomas Petazzoni [Mon, 11 Jul 2011 20:46:15 +0000 (22:46 +0200)]
at91dataflashboot: use "config" instead of "menuconfig"

Since at91dataflashboot has no suboption, using "menuconfig" is
useless and confusing, as it creates an empty submenu in the
configuration interface.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobarebox: bump version
Thomas Petazzoni [Mon, 11 Jul 2011 20:46:14 +0000 (22:46 +0200)]
barebox: bump version

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoAdd x-loader bootloader
Philippe Reynes [Mon, 11 Jul 2011 20:46:13 +0000 (22:46 +0200)]
Add x-loader bootloader

Signed-off-by: Philippe Reynes <tremyfr@yahoo.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
merge xloader
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agou-boot: allow specification of custom Git repo as source
Thomas Petazzoni [Mon, 11 Jul 2011 20:46:12 +0000 (22:46 +0200)]
u-boot: allow specification of custom Git repo as source

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: allow specification of a custom Git repository as a source
Thomas Petazzoni [Mon, 11 Jul 2011 20:46:11 +0000 (22:46 +0200)]
linux: allow specification of a custom Git repository as a source

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoImprove TARGETS handling for bootloaders and kernel
Thomas Petazzoni [Mon, 11 Jul 2011 20:46:10 +0000 (22:46 +0200)]
Improve TARGETS handling for bootloaders and kernel

As the kernel and bootloaders do not use the normal BR2_PACKAGE_*
Kconfig options, their target name was not automatically added to the
global TARGETS variable. Each bootloader .mk and the linux.mk had to
add their own target manually to TARGETS, and the package
infrastructure was making tests on non-existing Kconfig variables.

This commit improves the package infrastructure so that it looks at
BR2_PACKAGE_<pkg> for packages, BR2_TARGET_<pkg> for bootloaders and
at the special BR2_LINUX_KERNEL for the linux package.

This allows to simplify a little bit the bootloaders and linux .mk
files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agou-boot: rename to uboot
Thomas Petazzoni [Mon, 11 Jul 2011 20:46:09 +0000 (22:46 +0200)]
u-boot: rename to uboot

This will allow to match the currently Config.in option
BR2_TARGET_UBOOT, in order to make it easy to integrate U-Boot into
the package infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: convert to the GENTARGETS infrastructure
Thomas Petazzoni [Mon, 11 Jul 2011 20:46:08 +0000 (22:46 +0200)]
linux: convert to the GENTARGETS infrastructure

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: rename LINUX26 to LINUX
Thomas Petazzoni [Mon, 11 Jul 2011 20:46:07 +0000 (22:46 +0200)]
linux: rename LINUX26 to LINUX

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agovalgrind: bump to 3.6.1 and add support for ARMv7
Thomas Petazzoni [Mon, 11 Jul 2011 20:17:16 +0000 (22:17 +0200)]
valgrind: bump to 3.6.1 and add support for ARMv7

We removed the shell script that wrapped valgrind (not nice to install
such non-standard things), and will let the user use the uclibc.supp
suppression file if needed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoebtables: new package
Baruch Siach [Mon, 11 Jul 2011 14:33:31 +0000 (17:33 +0300)]
ebtables: new package

[Peter: add ipv6 dependency]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: provide /etc/mdev.conf if mdev is used
Luca Ceresoli [Mon, 11 Jul 2011 10:25:51 +0000 (12:25 +0200)]
busybox: provide /etc/mdev.conf if mdev is used

Without an mdev.conf file installed, mdev generates some /dev entries in
an incorrect or non-standard way. Some examples:
 1. /dev/null has permissions 660, but it should be accessible to normal
    users;
 2. alsa devices get created in /dev, not /dev/snd as is more common,
    and as the default value of BR2_PACKAGE_ALSA_LIB_DEVDIR suggests;
 3. event<N> files are created in /dev, not /dev/input.

This mdev.conf is a selection from the examples provided in the busybox
sources with minor tweaks.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Mon, 11 Jul 2011 05:44:24 +0000 (07:44 +0200)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add libnss
Will Newton [Fri, 8 Jul 2011 13:19:16 +0000 (14:19 +0100)]
package: add libnss

NSS is the Network Security Services library developed as part of
the Mozilla project. It provides similar functions to OpenSSL but
allows MPL, GPL and LGPL licensing.

[Peter: fix target install]
Signed-off-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agofs/skeleton: allow rootfs not to be remounted read-write
Luca Ceresoli [Sun, 3 Jul 2011 10:56:03 +0000 (12:56 +0200)]
fs/skeleton: allow rootfs not to be remounted read-write

[Peter: prefix option with TARGET_GENERIC_]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add support for post-download hooks
Thomas Petazzoni [Tue, 5 Jul 2011 19:54:11 +0000 (21:54 +0200)]
package: add support for post-download hooks

This will be needed for the Linux kernel package, which needs to
download patches in a custom way.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouboot-mkimage: add target support
Peter Korsgaard [Sun, 10 Jul 2011 20:11:09 +0000 (22:11 +0200)]
uboot-mkimage: add target support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouboot-mkimage: use correct host compiler/flags
Peter Korsgaard [Sun, 10 Jul 2011 19:59:54 +0000 (21:59 +0200)]
uboot-mkimage: use correct host compiler/flags

As used elswwhere in BR.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouboot-mkimage: new package
Thomas Petazzoni [Tue, 5 Jul 2011 19:54:08 +0000 (21:54 +0200)]
uboot-mkimage: new package

The mkimage for the host is now built by a package, so that
boot/u-boot/u-boot.mk is no longer responsible for doing this. It
makes things a lot easier to handle, as linux/linux.mk now simply
depends on host-uboot-mkimage.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agou-boot: convert to GENTARGETS
Thomas Petazzoni [Tue, 5 Jul 2011 19:54:07 +0000 (21:54 +0200)]
u-boot: convert to GENTARGETS

The feature of building mkimage for the target is removed, it wasn't
building with current U-Boot, and doesn't make a lot of sense (mkimage
is needed only to prepare a kernel image, or an U-Boot script).

The feature of building mkimage for the host is moved to a proper
package. It duplicates a few things (U-Boot URL, etc.) but it makes
things a lot cleaner than having it handled by boot/u-boot/u-boot.mk.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: bump 2.6.39.x stable version
Peter Korsgaard [Sun, 10 Jul 2011 18:39:44 +0000 (20:39 +0200)]
linux: bump 2.6.39.x stable version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agokernel-headers: bump 2.6.39.x stable version
Peter Korsgaard [Sun, 10 Jul 2011 18:38:56 +0000 (20:38 +0200)]
kernel-headers: bump 2.6.39.x stable version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibarchive: add optional libxml2 support
Peter Korsgaard [Sun, 10 Jul 2011 17:52:52 +0000 (19:52 +0200)]
libarchive: add optional libxml2 support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibarchive: bump to version 2.8.4
Baruch Siach [Sun, 10 Jul 2011 13:30:33 +0000 (16:30 +0300)]
libarchive: bump to version 2.8.4

The libxml2 dependency is new in this version, and does not behave nicely with
cross compile. The configure script looks for the host xml2-config. Add
'--disable-xml2' as a workaround for now.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogrub2: remove package
Thomas Petazzoni [Tue, 5 Jul 2011 19:54:06 +0000 (21:54 +0200)]
grub2: remove package

Grub 2 has been marked BROKEN in June 2010, and nobody cared to fix it
since then.

At that time, it was marked broken because the build process needed a
Ruby interpreter available on the host, and it's really a pain that
building a bootloader needs such a thing.

I've tried to upgrade the package to Grub2 1.99-rcX, and now it does
not need a Ruby interpreter anymore, but instead requires a tool
called "autogen", which itself needs the Guile Scheme interpreter.

Since we haven't heard any complaints about Grub2 being marked broken,
and since it's such a pain to package, let's get rid of it. Of course,
anybody interested in Grub2 is invited to contribute a working
package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogrub: convert to AUTOTARGETS
Thomas Petazzoni [Tue, 5 Jul 2011 19:54:05 +0000 (21:54 +0200)]
grub: convert to AUTOTARGETS

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosyslinux: convert to GENTARGETS
Thomas Petazzoni [Tue, 5 Jul 2011 19:54:04 +0000 (21:54 +0200)]
syslinux: convert to GENTARGETS

Moreover, the installation of pxelinux and/or isolinux is now handled
as suboptions, like we traditionally do for other packages. This allows
to have a single option (BR2_TARGET_SYSLINUX) that enables the
syslinux package.

[Peter: drop basename in install step]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoat91dataflashboot: convert to GENTARGETS
Thomas Petazzoni [Tue, 5 Jul 2011 19:54:02 +0000 (21:54 +0200)]
at91dataflashboot: convert to GENTARGETS

This commit converts the at91dataflashboot bootloader build process to
GENTARGETS. It also does the following changes :

 * As the package directory name is at91dataflashboot, the
   configuration options and make variables are renamed to
   AT91DATAFLASHBOOT instead of DATAFLASHBOOT.

 * Since the board selection in Kconfig wasn't used anywhere, get rid
   of it. at91dataflashboot is only for AT91RM9200 apparently anyway.

[Peter: add ':=' -> '=' change]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoat91bootstrap: convert to GENTARGETS
Thomas Petazzoni [Tue, 5 Jul 2011 19:54:00 +0000 (21:54 +0200)]
at91bootstrap: convert to GENTARGETS

[Peter: add ':=' -> '=' change]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobarebox: convert to GENTARGETS
Thomas Petazzoni [Tue, 5 Jul 2011 19:53:59 +0000 (21:53 +0200)]
barebox: convert to GENTARGETS

[Peter: add ':=' -> '=' change]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibgtk2: fix host build after 7a41cbf938d (fix patching procedure for host packages)
Peter Korsgaard [Fri, 8 Jul 2011 12:17:39 +0000 (14:17 +0200)]
libgtk2: fix host build after 7a41cbf938d (fix patching procedure for host packages)

NOHOSTPKG is no more, use RAWNAME instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: fix patching procedure for host packages
Thomas Petazzoni [Tue, 5 Jul 2011 19:53:57 +0000 (21:53 +0200)]
package: fix patching procedure for host packages

The patching procedure was using $($(NOHOSTPKG)_NAME) to find the name
of the package without the host- prefix for host packages, which is
needed to find the package directory and the prefix of the patches.

However, this $($(NOHOSTPKG)_NAME) variable is empty when there is
only an host variant for the package and no target variant for it.

Therefore, instead of using this $($(NOHOSTPKG)_NAME) variable, we now
use a new $(RAWNAME) variable, which is always the name of the package
without the host- prefix, even for host packages.

Thanks to Yann E. Morin for providing the tip on using patsubst
instead of subst.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add infrastructure to install things in images/
Thomas Petazzoni [Tue, 5 Jul 2011 19:53:56 +0000 (21:53 +0200)]
package: add infrastructure to install things in images/

This will allow the bootloader makefiles and the kernel makefile to
rely on the GENTARGETS infrastructure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: simplify modules check
Peter Korsgaard [Thu, 7 Jul 2011 21:40:09 +0000 (23:40 +0200)]
linux: simplify modules check

No need to mix make and shell code.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: make it possible to install the kernel in /boot
Thomas Petazzoni [Tue, 5 Jul 2011 19:53:54 +0000 (21:53 +0200)]
linux: make it possible to install the kernel in /boot

[Peter: always copy to output/images as requested by Luca]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoFix quoting in default extract command
Thomas Petazzoni [Tue, 5 Jul 2011 19:53:53 +0000 (21:53 +0200)]
Fix quoting in default extract command

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMakefile.package.in: Makes it possible to override the default extract commands
Allan W. Nielsen [Tue, 5 Jul 2011 19:53:52 +0000 (21:53 +0200)]
Makefile.package.in: Makes it possible to override the default extract commands

When using GENTARGETS (or macroes depending on it), there is no way of
specifying a custom extraction procedure. When using the patch one can
simply define $(PACKAGE_NAME)_EXTRACT_CMDS which will override the
default. If non is defined it will fall back to the default extract
procedure.

An example could look like this:

=== PACKAGE BEGIN ===
FGLRX_VERSION=11-3
FGLRX_SOURCE:=ati-driver-installer-$(FGLRX_VERSION)-x86.x86_64.run
FGLRX_SITE:=http://www2.ati.com/drivers/linux/

define FGLRX_EXTRACT_CMDS
sh $(DL_DIR)/$(FGLRX_SOURCE) --extract $(@D)
endef

$(eval $(call GENTARGETS,package,fglrx))
=== PACKAGE END ===

Signed-off-by: Allan W. Nielsen <a@awn.dk>
Cc: Allan W. Nielsen <a@awn.dk>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add libnspr
Will Newton [Thu, 7 Jul 2011 12:07:22 +0000 (13:07 +0100)]
package: add libnspr

Add a package for the Netscape Portable Runtime library.

Signed-off-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoBR2_ARCH definition was missing for 32-bit AMD architecture variants.
Arnout Vandecappelle (Essensium - Mind) [Mon, 4 Jul 2011 14:37:20 +0000 (16:37 +0200)]
BR2_ARCH definition was missing for 32-bit AMD architecture variants.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-bad: clean up configuration
Sven Neumann [Thu, 7 Jul 2011 07:39:02 +0000 (09:39 +0200)]
gst-plugins-bad: clean up configuration

Remove obsoleted configurations and add options for new
dependency-less plugins.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins: ivborbis (aka tremor) moved to gst-plugins-base
Sven Neumann [Thu, 7 Jul 2011 07:39:01 +0000 (09:39 +0200)]
gst-plugins: ivborbis (aka tremor) moved to gst-plugins-base

The integer vorbis decoder moved from gst-plugins-bad to
gst-plugins-base.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agogst-plugins-base: add option for dependency-less plugin
Sven Neumann [Thu, 7 Jul 2011 07:39:00 +0000 (09:39 +0200)]
gst-plugins-base: add option for dependency-less plugin

Make the build of the dependency-less plugin 'encoding' optional.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMakefile.package.in: extract: only ensure r/w access for user
Peter Korsgaard [Thu, 7 Jul 2011 08:53:18 +0000 (10:53 +0200)]
Makefile.package.in: extract: only ensure r/w access for user

There's no reason to make the source files writable for everyone.

Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoruby: fix build with openssl 1.0
Peter Korsgaard [Thu, 7 Jul 2011 06:37:19 +0000 (08:37 +0200)]
ruby: fix build with openssl 1.0

Patch from Debian bug #620998

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouClibc: fix 0.9.32 build on x86
Peter Korsgaard [Wed, 6 Jul 2011 22:53:04 +0000 (00:53 +0200)]
uClibc: fix 0.9.32 build on x86

Patch from uClibc git.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoinfrastructure: remove leftover of old style hooks
Daniel Hobi [Fri, 24 Jun 2011 12:09:46 +0000 (14:09 +0200)]
infrastructure: remove leftover of old style hooks

Commit ae2be8d (infrastructure: remove support for old style hooks)
forgot to update an uninstall rule.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Daniel Hobi <daniel.hobi@schmid-telecom.ch>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolame: fix build if host has libgtk12-dev (gtk-config)
Peter Korsgaard [Tue, 5 Jul 2011 12:58:20 +0000 (14:58 +0200)]
lame: fix build if host has libgtk12-dev (gtk-config)

Lame contains an optional gtk12 based frame analyzer application, which
will be built if gtk12 is detected (using gtk-config). We no longer
have support for (the obsolete) gtk12 in BR, but the host might have
gtk-config, so forcible disable it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotarget: default to i586 for x86
Peter Korsgaard [Tue, 5 Jul 2011 07:23:46 +0000 (09:23 +0200)]
target: default to i586 for x86

The i586 was introduced almost 20 years ago, and some software
(NPTL, libstdc++, ..) doesn't work nicely with i386 anymore, so
it is time to move on.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/uClibc: NPTL needs i486+ for cmpxchgl instruction
Peter Korsgaard [Tue, 5 Jul 2011 06:56:49 +0000 (08:56 +0200)]
toolchain/uClibc: NPTL needs i486+ for cmpxchgl instruction

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>