Commit Graph

9418 Commits

Author SHA1 Message Date
Yegor Yefremov
41d2a14772 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>
2011-07-13 15:02:54 +02:00
Yegor Yefremov
691a5ead68 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>
2011-07-13 15:02:38 +02:00
Peter Korsgaard
b28de60c24 package: add libroxml
Closes #3595

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

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-13 12:57:54 +02:00
Peter Korsgaard
b51b664727 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>
2011-07-13 08:50:46 +02:00
Yann E. MORIN
ea23f34e25 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>
2011-07-13 08:31:05 +02:00
H Hartley Sweeten
72eb844be6 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>
2011-07-13 08:14:41 +02:00
Peter Korsgaard
aa0c4d4e48 libargtable2: fix source tarball name
Last minute brown paper bag bug.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-13 08:09:41 +02:00
Gustavo Zacarias
466cb4531d bridge-utils: bump to version 1.5
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-12 23:31:46 +02:00
Phil Edworthy
951574555c 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>
2011-07-12 23:30:24 +02:00
Allan W. Nielsen
177b4b4ac0 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>
2011-07-12 23:14:44 +02:00
Robin Holt
f1ebbb3df9 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>
2011-07-12 22:49:07 +02:00
Daniel Mack
9c6106f104 package: add gnutls
[Peter: move to crypto section]
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-12 22:29:01 +02:00
Daniel Mack
50b6219785 libgcrypt: bump version to 1.5.0
Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-12 22:19:17 +02:00
Milton Soares Filho
ffe62f915d 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>
2011-07-12 09:11:39 +02:00
Peter Korsgaard
33c4e77c2a barebox: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 23:46:22 +02:00
Thomas Petazzoni
e488c285b1 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>
2011-07-11 23:44:14 +02:00
Thomas Petazzoni
f45f775b4f 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>
2011-07-11 23:43:48 +02:00
Thomas Petazzoni
4a665aa945 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>
2011-07-11 23:41:59 +02:00
Thomas Petazzoni
6fa85c6c03 barebox: bump version
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 23:41:44 +02:00
Philippe Reynes
2269dfa356 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>
2011-07-11 23:41:29 +02:00
Thomas Petazzoni
29679495b8 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>
2011-07-11 23:41:00 +02:00
Thomas Petazzoni
205fb19cdb 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>
2011-07-11 23:40:49 +02:00
Thomas Petazzoni
b0d446dee4 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>
2011-07-11 23:40:23 +02:00
Thomas Petazzoni
a4ca959321 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>
2011-07-11 23:39:52 +02:00
Thomas Petazzoni
9af0ee86b7 linux: convert to the GENTARGETS infrastructure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 23:39:17 +02:00
Thomas Petazzoni
af52661d19 linux: rename LINUX26 to LINUX
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 23:38:58 +02:00
Thomas Petazzoni
afabcb6381 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>
2011-07-11 23:23:17 +02:00
Baruch Siach
a8041c0973 ebtables: new package
[Peter: add ipv6 dependency]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 23:11:55 +02:00
Luca Ceresoli
fc71f7e6f2 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>
2011-07-11 13:41:25 +02:00
Peter Korsgaard
bd76bc5f80 CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-11 07:44:24 +02:00
Will Newton
2016db44e8 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>
2011-07-11 00:44:00 +02:00
Luca Ceresoli
36b4b852ee 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>
2011-07-10 22:44:24 +02:00
Thomas Petazzoni
c917550361 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>
2011-07-10 22:24:56 +02:00
Peter Korsgaard
bd40fcec77 uboot-mkimage: add target support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10 22:11:09 +02:00
Peter Korsgaard
7b819c32f8 uboot-mkimage: use correct host compiler/flags
As used elswwhere in BR.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10 21:59:54 +02:00
Thomas Petazzoni
5e0d46138f 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>
2011-07-10 21:30:03 +02:00
Thomas Petazzoni
e82604ccdd 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>
2011-07-10 21:28:34 +02:00
Peter Korsgaard
a315ee3c66 linux: bump 2.6.39.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10 20:39:44 +02:00
Peter Korsgaard
db52b63005 kernel-headers: bump 2.6.39.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10 20:38:56 +02:00
Peter Korsgaard
9eb70889bc libarchive: add optional libxml2 support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10 20:15:54 +02:00
Baruch Siach
ec0b51648b 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>
2011-07-10 17:10:23 +02:00
Thomas Petazzoni
a5dc0cdced 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>
2011-07-10 15:31:16 +02:00
Thomas Petazzoni
a4f58506ac grub: convert to AUTOTARGETS
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-10 15:28:23 +02:00
Thomas Petazzoni
5391de7771 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>
2011-07-10 15:27:20 +02:00
Thomas Petazzoni
4346902ca9 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>
2011-07-10 15:16:11 +02:00
Thomas Petazzoni
df9624b73f 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>
2011-07-10 15:06:47 +02:00
Thomas Petazzoni
1ff88054a8 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>
2011-07-10 13:57:48 +02:00
Peter Korsgaard
c94224930c libgtk2: fix host build after 7a41cbf938 (fix patching procedure for host packages)
NOHOSTPKG is no more, use RAWNAME instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-08 14:19:36 +02:00
Thomas Petazzoni
7a41cbf938 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>
2011-07-07 23:48:41 +02:00
Thomas Petazzoni
2985998f28 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>
2011-07-07 23:46:38 +02:00