buildroot.git
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>
13 years agopackage: add rsyslog
Maxime Ripard [Wed, 29 Jun 2011 13:46:21 +0000 (15:46 +0200)]
package: add rsyslog

Rsyslog is a powerful and flexible syslog daemon.

[Peter: whitespace, rename initscript, allow platform override of conf file]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoskeleton: inittab: remove /var/log/messages log on tty3
Peter Korsgaard [Mon, 4 Jul 2011 19:44:28 +0000 (21:44 +0200)]
skeleton: inittab: remove /var/log/messages log on tty3

Hardcodes policy, is not critical, and people might not have tty3
(E.G. virtual consoles) available.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: only install S01logging if syslogd applet is enabled
Peter Korsgaard [Mon, 4 Jul 2011 19:03:37 +0000 (21:03 +0200)]
busybox: only install S01logging if syslogd applet is enabled

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoRework the logging daemons startup
Maxime Ripard [Wed, 29 Jun 2011 13:46:20 +0000 (15:46 +0200)]
Rework the logging daemons startup

The logging mechanism startup being in inittab, it isn't easy to
overcharge the default policy. With this patch, the startup of the
syslog daemon is moved to an init.d script, that can easily be
overwritten.

[Peter: use install -D]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoRemove obsolete code in busybox.mk
Maxime Ripard [Wed, 29 Jun 2011 13:46:19 +0000 (15:46 +0200)]
Remove obsolete code in busybox.mk

Remove this quirk since the tested code is no longer present in busybox
since 1.10.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/uClibc: remove 0.9.29, mark 0.9.30 as deprecated
Peter Korsgaard [Mon, 4 Jul 2011 08:15:37 +0000 (10:15 +0200)]
toolchain/uClibc: remove 0.9.29, mark 0.9.30 as deprecated

0.9.29 doesn't seem to build anymore with the toolchain versions in BR
and is very old, so remove it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: remove quirk for old unsupported versions
Maxime Ripard [Wed, 29 Jun 2011 13:46:18 +0000 (15:46 +0200)]
busybox: remove quirk for old unsupported versions

This code is no longer useful, since the oldest version supported by
Builroot is 1.16.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolighttpd: bump version
Peter Korsgaard [Sun, 3 Jul 2011 20:41:20 +0000 (22:41 +0200)]
lighttpd: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add stunnel
Maxime Ripard [Wed, 29 Jun 2011 13:46:17 +0000 (15:46 +0200)]
package: add stunnel

Stunnel is an SSL tunnelling proxy.

[Peter: misc fixes, Config.in, allow skeleton override of stunnel.conf]
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCreate and mount /dev/shm
Maxime Ripard [Wed, 29 Jun 2011 13:46:16 +0000 (15:46 +0200)]
Create and mount /dev/shm

The /dev/shm directory is neither created nor mounted as tmpfs as boot
time. This will cause troubles when using named semaphores on the
system.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosqlite: update to version 3.7.6.3
Sven Neumann [Wed, 29 Jun 2011 12:47:50 +0000 (14:47 +0200)]
sqlite: update to version 3.7.6.3

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/gcc: bump 4.6.x version to 4.6.1
Peter Korsgaard [Tue, 28 Jun 2011 13:19:13 +0000 (15:19 +0200)]
toolchain/gcc: bump 4.6.x version to 4.6.1

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain/gcc: bump 4.3.x version to 4.3.6
Peter Korsgaard [Tue, 28 Jun 2011 13:13:59 +0000 (15:13 +0200)]
toolchain/gcc: bump 4.3.x version to 4.3.6

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoqt: fix webkit/sqlite build without largefile support
Peter Korsgaard [Mon, 27 Jun 2011 09:56:11 +0000 (11:56 +0200)]
qt: fix webkit/sqlite build without largefile support

The embedded sqlite module forces FILE_OFFSET_BITS=64 unless
SQLITE_DISABLE_LFS is defined, breaking the build for !largefile toolchains.
Webkit internally builds sqlite, so that's affected as well.

Fix it by passing -DSQLITE_DISABLE_LFS in C/CXXFLAGS for !largefile
builds, similar to how we do it for the standalone sqlite package.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoqt: fix typo in webkit pthread_getattr_np patch
Peter Korsgaard [Mon, 27 Jun 2011 08:28:00 +0000 (10:28 +0200)]
qt: fix typo in webkit pthread_getattr_np patch

Missing continuation (\) character in #if check.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: Add libiqrf package
Marek Belisko [Wed, 18 May 2011 16:08:27 +0000 (18:08 +0200)]
package: Add libiqrf package

Libiqrf is library written in C which implement specific iqrf
protocol to communicate with iqrf usb devices (http://iqrf.org).

[Peter: select libusb, fix Config.in indentation]
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agooprofile: Bump to version 0.9.6
Benoît Mauduit [Sun, 15 May 2011 08:50:49 +0000 (10:50 +0200)]
oprofile: Bump to version 0.9.6

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoCHANGES: update with recent changes
Peter Korsgaard [Sun, 26 Jun 2011 21:07:01 +0000 (23:07 +0200)]
CHANGES: update with recent changes

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: Added Live555 RTSP Server package
Mike Williams [Wed, 11 May 2011 20:19:56 +0000 (16:19 -0400)]
package: Added Live555 RTSP Server package

[Peter: misc fixes, use real version, correct compile/link flags]
Signed-off-by: Mike Williams <mwilli60@harris.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agomtd: bump version
Peter Korsgaard [Sun, 26 Jun 2011 07:12:52 +0000 (09:12 +0200)]
mtd: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosheevaplug_defconfig: bump kernel version
Peter Korsgaard [Fri, 24 Jun 2011 09:34:48 +0000 (11:34 +0200)]
sheevaplug_defconfig: bump kernel version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolinux: bump 2.6.39.x stable version
Peter Korsgaard [Fri, 24 Jun 2011 09:34:24 +0000 (11:34 +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 [Fri, 24 Jun 2011 09:33:42 +0000 (11:33 +0200)]
kernel-headers: bump 2.6.39.x stable version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agowebkit: update pthread_getattr_np patches for uClibc 0.9.32
Peter Korsgaard [Fri, 24 Jun 2011 09:06:35 +0000 (11:06 +0200)]
webkit: update pthread_getattr_np patches for uClibc 0.9.32

Similar to how it is done for qt.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoqt: update pthread_getattr_np patches for uClibc 0.9.32
Peter Korsgaard [Wed, 22 Jun 2011 19:58:46 +0000 (21:58 +0200)]
qt: update pthread_getattr_np patches for uClibc 0.9.32

And only when linuxthreads.old is used, as the other thread implementations
don't need it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoyajl: fix link issue on uClibc
Peter Korsgaard [Wed, 22 Jun 2011 15:08:55 +0000 (17:08 +0200)]
yajl: fix link issue on uClibc

We need to link with -lm for isnan() / isinf().

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoext-toolchain-wrapper.c: Handle an arbitrary amount of arguments
Daniel Nyström [Tue, 21 Jun 2011 19:54:27 +0000 (21:54 +0200)]
ext-toolchain-wrapper.c: Handle an arbitrary amount of arguments

Even though MAXARGS 1000 seems large, it wasn't enough for at least
QtWebKit package. This new version does not have any predefined limits.

Closes #3907

Many thanks to Thomas for tracing the source of the build error.

[Peter: Return rather than abort()]
Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Reported-by: Thomas Björk <thomas.bjork@home.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoconfigs: add defconfig for sheevaplug
Peter Korsgaard [Tue, 21 Jun 2011 21:20:42 +0000 (23:20 +0200)]
configs: add defconfig for sheevaplug

http://en.wikipedia.org/wiki/SheevaPlug

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add yajl
Peter Korsgaard [Tue, 21 Jun 2011 15:12:45 +0000 (17:12 +0200)]
package: add yajl

yajl is Yet Another JSON Library.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoberkeleydb: target install cleanup
Peter Korsgaard [Tue, 21 Jun 2011 11:46:34 +0000 (13:46 +0200)]
berkeleydb: target install cleanup

Install into /usr/lib and use the normal make install target instead of
manually messing around with symlinks and .so versions.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoberkeleydb: fix build of shared libraries
Luca Ceresoli [Mon, 20 Jun 2011 15:59:55 +0000 (17:59 +0200)]
berkeleydb: fix build of shared libraries

009d8fceab4 and 0a5e5534cbf8 moved the --enable-static configure flag
from package files to the default _CONFIGURE_CMDS in
package/Makefile.autotools.in.
This broke Autotools packages that override _CONFIGURE_CMDS.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoffmpeg: fix build of shared libraries
Luca Ceresoli [Mon, 20 Jun 2011 15:59:54 +0000 (17:59 +0200)]
ffmpeg: fix build of shared libraries

009d8fceab4 and 0a5e5534cbf8 moved the --enable-static configure flag
from package files to the default _CONFIGURE_CMDS in
package/Makefile.autotools.in.
This broke Autotools packages that override _CONFIGURE_CMDS.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoqt: QtDeclarative needs script support as well
Peter Korsgaard [Tue, 21 Jun 2011 11:15:04 +0000 (13:15 +0200)]
qt: QtDeclarative needs script support as well

Otherwise configure errors out with:

Error: QtDeclarative was requested, but it can't be built due to
QtScript or QtGui being disabled.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agousbutils: bump to 003
Yegor Yefremov [Tue, 21 Jun 2011 09:55:14 +0000 (11:55 +0200)]
usbutils: bump to 003

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodbus: bump version
Peter Korsgaard [Tue, 21 Jun 2011 09:39:37 +0000 (11:39 +0200)]
dbus: bump version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agodbus-glib: nowadays works with libxml2 backend as well
Peter Korsgaard [Tue, 21 Jun 2011 09:34:49 +0000 (11:34 +0200)]
dbus-glib: nowadays works with libxml2 backend as well

So get rid of expat dependency.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackages: dbus: use version 1.4.8
Daniel Mack [Mon, 30 May 2011 18:24:38 +0000 (20:24 +0200)]
packages: dbus: use version 1.4.8

The exisiting br2 patch can be dropped.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agolibdnet: fix python module build
Peter Korsgaard [Mon, 20 Jun 2011 22:01:34 +0000 (00:01 +0200)]
libdnet: fix python module build

Ensure the correct compiler/linker flags are used.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoQt: add config option to build libQtDeclarative module
Daniel Mack [Tue, 31 May 2011 16:16:34 +0000 (18:16 +0200)]
Qt: add config option to build libQtDeclarative module

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobmon: add optional alsa support
Peter Korsgaard [Fri, 17 Jun 2011 07:17:16 +0000 (09:17 +0200)]
bmon: add optional alsa support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobmon: make ncurses dependency optional
Peter Korsgaard [Fri, 17 Jun 2011 07:15:42 +0000 (09:15 +0200)]
bmon: make ncurses dependency optional

bmon can be built without ncurses support (needs a small patch though),
so don't enforce it in kconfig.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobmon: link dynamically unless explicitly requested otherwise
Peter Korsgaard [Fri, 17 Jun 2011 07:10:29 +0000 (09:10 +0200)]
bmon: link dynamically unless explicitly requested otherwise

Commit 009d8fceab4d (add --{enable,disable}-{shared,static} automatically)
caused us to pass --enable-static in the normal (non-static) case as well,
which bmon interpretes as a request to link the bmon program statically,
bloating the image.

Fix it by passing an extra --disable-static to bmon configure to nullify
this.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agosynergy: ensure cross X11 headers / libraries are used
Peter Korsgaard [Tue, 14 Jun 2011 06:49:00 +0000 (08:49 +0200)]
synergy: ensure cross X11 headers / libraries are used

Otherwise configure would check for Xtst support on the host.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackages: remove --{enable,disable}-{shared,static} from autotools packages
Thomas Petazzoni [Mon, 30 May 2011 21:57:03 +0000 (23:57 +0200)]
packages: remove --{enable,disable}-{shared,static} from autotools packages

Now that those values are passed at the autotools infrastructure
level, there's no need for every package to pass inconsistent values.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage/autotools: add --{enable,disable}-{shared,static} automatically
Thomas Petazzoni [Mon, 30 May 2011 21:57:02 +0000 (23:57 +0200)]
package/autotools: add --{enable,disable}-{shared,static} automatically

For target packages, depending on BR2_PREFER_STATIC_LIB, add the
correct combination of --{enable,disable}-{shared,static} flags to
./configure calls.

  * When BR2_PREFER_STATIC_LIB is enabled, we pass --enable-static
  --disable-shared.

  * When BR2_PREFER_STATIC_LIB is disabled, we pass --enable-static
  --enable-shared. We enable static libraries since they can still be
  useful to statically link applications against some libraries
  (sometimes it is useful for size reasons). Static libraries are
  anyway only installed in the STAGING_DIR, so it doesn't increase in
  any way the size of the TARGET_DIR.

For host packages, always pass --enable-shared and --disable-static.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoRemove unused variable definitions
Thomas Petazzoni [Mon, 30 May 2011 21:57:01 +0000 (23:57 +0200)]
Remove unused variable definitions

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoMark some packages as not usable on non-MMU systems
Thomas Petazzoni [Mon, 30 May 2011 21:57:00 +0000 (23:57 +0200)]
Mark some packages as not usable on non-MMU systems

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: adjust configuration for non-MMU targets
Thomas Petazzoni [Mon, 30 May 2011 21:56:59 +0000 (23:56 +0200)]
busybox: adjust configuration for non-MMU targets

The swaponoff applet doesn't build (and doesn't make sense) on non-MMU
platforms.

The ash shell cannot build on non-MMU platforms (because it uses
fork()), so select the hush shell instead.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: tune config according to BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Thomas Petazzoni [Mon, 30 May 2011 21:56:58 +0000 (23:56 +0200)]
busybox: tune config according to BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agotoolchain: introduce BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
Thomas Petazzoni [Mon, 30 May 2011 21:56:57 +0000 (23:56 +0200)]
toolchain: introduce BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS

Unfortunately, the official Blackfin toolchains are built without the
shadow password support, so our default Busybox configuration fails to
build.

Therefore, we introduce a new hidden knob
BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS, which is set to yes for Buildroot
internal toolchain, for toolchains generated by the Crosstool-NG
backend, for Glibc external toolchains and for Uclibc custom external
toolchains. It is left unset by the Blackfin toolchain profile.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoblackfin: support external toolchains provided by blackfin.uclibc.org
Thomas Petazzoni [Mon, 30 May 2011 21:56:56 +0000 (23:56 +0200)]
blackfin: support external toolchains provided by blackfin.uclibc.org

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agobusybox: bump 1.18.x version
Peter Korsgaard [Sun, 12 Jun 2011 18:41:57 +0000 (20:41 +0200)]
busybox: bump 1.18.x version

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add statserial
Francis Mendes [Sun, 12 Jun 2011 08:50:34 +0000 (10:50 +0200)]
package: add statserial

Signed-off-by: Francis M. de P. Mendes <francis.mendes@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agopackage: add sredird
Peter Korsgaard [Fri, 10 Jun 2011 12:15:48 +0000 (14:15 +0200)]
package: add sredird

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agoethtool: bump to 2.6.39
Yegor Yefremov [Thu, 9 Jun 2011 12:19:41 +0000 (14:19 +0200)]
ethtool: bump to 2.6.39

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
13 years agouClibc: use NPTL by default for 0.9.32 / snapshot
Peter Korsgaard [Thu, 9 Jun 2011 10:26:28 +0000 (12:26 +0200)]
uClibc: use NPTL by default for 0.9.32 / snapshot

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