Commit Graph

9326 Commits

Author SHA1 Message Date
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
Peter Korsgaard
ce03b89881 linux: simplify modules check
No need to mix make and shell code.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-07 23:40:09 +02:00
Thomas Petazzoni
eff25f4cca 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>
2011-07-07 23:16:05 +02:00
Thomas Petazzoni
4ca5993602 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>
2011-07-07 23:01:27 +02:00
Allan W. Nielsen
c4d57780be 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>
2011-07-07 22:57:26 +02:00
Will Newton
6cfba49169 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>
2011-07-07 22:15:25 +02:00
Arnout Vandecappelle (Essensium - Mind)
f4889573af 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>
2011-07-07 21:40:37 +02:00
Sven Neumann
82a56c1bff 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>
2011-07-07 10:57:01 +02:00
Sven Neumann
e04026794b 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>
2011-07-07 10:55:54 +02:00
Sven Neumann
e67b65eed8 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>
2011-07-07 10:54:44 +02:00
Peter Korsgaard
2f2542595f 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>
2011-07-07 10:53:18 +02:00
Peter Korsgaard
a78063a616 ruby: fix build with openssl 1.0
Patch from Debian bug #620998

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-07 08:37:19 +02:00
Peter Korsgaard
920dd594ed uClibc: fix 0.9.32 build on x86
Patch from uClibc git.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-07 00:53:43 +02:00
Daniel Hobi
76b128f11c 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>
2011-07-06 07:21:08 +02:00
Peter Korsgaard
0387830b2e 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>
2011-07-05 14:58:20 +02:00
Peter Korsgaard
1fa6b1c276 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>
2011-07-05 09:23:46 +02:00
Peter Korsgaard
fef54db1a1 toolchain/uClibc: NPTL needs i486+ for cmpxchgl instruction
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-05 09:00:50 +02:00
Maxime Ripard
6e53e059c8 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>
2011-07-05 08:26:44 +02:00
Peter Korsgaard
348e07c88d 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>
2011-07-04 21:44:28 +02:00
Peter Korsgaard
abf7af17e9 busybox: only install S01logging if syslogd applet is enabled
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-04 21:03:37 +02:00
Maxime Ripard
ad501b6634 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>
2011-07-04 20:57:10 +02:00
Maxime Ripard
7d814728ae 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>
2011-07-04 10:18:21 +02:00
Peter Korsgaard
31f5268b3d 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>
2011-07-04 10:15:37 +02:00
Maxime Ripard
f1e4aac40e 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>
2011-07-04 08:13:48 +02:00
Peter Korsgaard
90cdd7d925 lighttpd: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-03 22:41:20 +02:00
Maxime Ripard
266c5cdaeb 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>
2011-07-03 22:24:53 +02:00
Maxime Ripard
22fde22e35 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>
2011-07-03 21:20:49 +02:00
Sven Neumann
49d359ff7b 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>
2011-07-03 21:13:58 +02:00
Peter Korsgaard
c80224a3a0 toolchain/gcc: bump 4.6.x version to 4.6.1
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-28 15:19:13 +02:00
Peter Korsgaard
ca71de8ea7 toolchain/gcc: bump 4.3.x version to 4.3.6
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-28 15:13:59 +02:00
Peter Korsgaard
7e4d475938 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>
2011-06-27 11:56:11 +02:00
Peter Korsgaard
36f8b40d22 qt: fix typo in webkit pthread_getattr_np patch
Missing continuation (\) character in #if check.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-27 10:29:46 +02:00
Marek Belisko
24d498dadf 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>
2011-06-27 00:48:13 +02:00
Benoît Mauduit
001949a1e0 oprofile: Bump to version 0.9.6
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-27 00:12:33 +02:00
Peter Korsgaard
94ad0667de CHANGES: update with recent changes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-26 23:07:01 +02:00
Mike Williams
86885771d4 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>
2011-06-26 22:55:15 +02:00
Peter Korsgaard
f7fcfbfa9d mtd: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-26 09:12:52 +02:00
Peter Korsgaard
b93c609f11 sheevaplug_defconfig: bump kernel version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-24 11:34:48 +02:00
Peter Korsgaard
d7a4ffa77d linux: bump 2.6.39.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-24 11:34:24 +02:00
Peter Korsgaard
b72b806f36 kernel-headers: bump 2.6.39.x stable version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-24 11:33:42 +02:00
Peter Korsgaard
ec61799c33 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>
2011-06-24 11:06:35 +02:00
Peter Korsgaard
417df559ad 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>
2011-06-22 21:58:46 +02:00
Peter Korsgaard
489692fcde yajl: fix link issue on uClibc
We need to link with -lm for isnan() / isinf().

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-22 17:08:55 +02:00