Commit Graph

9162 Commits

Author SHA1 Message Date
Thomas Petazzoni
ca520507fc Simplify udev startup script
The S10udev startup script did useless things such as mounting sysfs,
mounting a tmpfs filesystem in /dev/, etc. Those things are already
done during in the default inittab.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-09 14:20:20 +02:00
Yegor Yefremov
726b15f64a Create menu entry to select device creation method
Four methods for the creation of device files in /dev are now
proposed:

 - static method uses device table as before
 - devtmpfs method enables this feature in kernel
 - mdev method adds mdev starting script to the file system
    and selects mdev itself for installation
 - udev method selects udev for installation

All dynamic methods are based on devtmpfs, so one doesn't need to care
about /dev folder.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-09 14:20:03 +02:00
Thomas Petazzoni
c59d024754 external-toolchain: fix support
The recent commit adding the external toolchain wrapper has broken the
support for external toolchain. The check_arm_eabi, check_cplusplus
and check_cross_compiler_exists functions were using TARGET_CC, which
points to the toolchain wrapper, but at the moment those functions are
called, the wrapper hasn't been generated yet.

We fix this by passing to these functions the path to the C or C++
compiler they should use for their tests.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-08 21:56:10 +02:00
Peter Korsgaard
8451c2329e CHANGES: #2131 is resolved
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-06 16:14:54 +02:00
Phil Edworthy
e46ba3c65b sh: Only use the CodeSourcery toolchain for SH4A devices
The CodeSourcery toolchain listed is only for SH4A devices.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-06 14:26:36 +02:00
Fabien Marteau
ee3f31b536 package: Adding Next Generation IRC deamon ngircd
[Peter: drop explicit documentation removal]
Acked-by: Daniel Nyström <daniel.nystrom@timeterminal.se>
Signed-off-by: Fabien Marteau <fabien.marteau@armadeus.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-06 11:49:37 +02:00
Peter Korsgaard
125e2558b2 Get rid of unneeded CFLAGS
Now that we use a wrapper for external toolchains (and internal ones
default to the correct setting), we no longer need to explicitly pass
sysroot/march/mtune/mabi/floating point mode in TARGET_CFLAGS.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-05 23:39:03 +02:00
Peter Korsgaard
85dc57f6fd Add toolchain wrapper for external toolchains
Add a simple toolchain wrapper for external toolchains, which forces the
correct sysroot/march/mtune/floating point options needed to use it
with buildroot.

With this in place the external toolchain behaves similar to the internal
ones, and the special handling can be removed. This also means that the
toolchain is usable outside buildroot without having to pass any special
compiler flags.

Also adjust the downloadable external toolchain support to install under
HOST_DIR so it can be used after the temporary build files are removed.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-05 23:38:58 +02:00
Phil Edworthy
6721878972 sh: Fix CodeSourcery toolchain prefix
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-05 15:15:05 +02:00
Kelvin Cheung
c17f413438 New package: input-event-daemon
Add new package: input-event-daemon

input-event-daemon -  input event handling daemon for linux.

[Peter: minor tweaks, use v0.1.3 tag, pass LDFLAGS, combine install step]
Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 22:43:55 +02:00
Gustavo Zacarias
b05f23b933 alsa-utils: make /var/lib/alsa directory in target
alsactl needs /var/lib/alsa to store asound.state when saving mixer
settings so make it in the target.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 21:49:25 +02:00
Gustavo Zacarias
6780d0ba04 bind: security bump to version 9.6-ESV-R4
Bump bind to version 9.6-ESV-R4 since the 9.5 series is no longer
supported.
While at it switch to the ESV (Extended Support Version) branch instead
of going for the latest.

Also adjust the package to build against OpenSSL when available for
proper DNSSEC support and libxml2 too.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 21:15:17 +02:00
Gustavo Zacarias
dd0dfd0ec1 qemu/mipsel-malta: switch to kernel 2.6.38.5
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 20:45:23 +02:00
Gustavo Zacarias
57d131dd96 mpg123: bump to version 0.13.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 20:43:39 +02:00
Peter Korsgaard
6246704008 package/Makefile.in: ensure libtool doesn't search host dirs for libraries
Commit 7e3e8ec040 (CFLAGS/LDFLAGS: don't add -I / -L args for STAGING_DIR)
exposed a lingering libtool problem.

Unless instructed otherwise (using -L) libtool will search its built in
system path for libraries, and use those instead if found. The default
search path is '/usr/lib, /lib, /usr/local/lib', which is no good for
cross compilation.

Fix it by setting the system search path to the empty string, effectively
disabling this feature.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 15:23:40 +02:00
Gustavo Zacarias
a2e724a05b qemu/arm-versatile: use 2.6.38.5 kernel to match headers
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 15:06:45 +02:00
Gustavo Zacarias
c96e483ced toolchain: bump 2.6.38 kernel headers to 2.6.38.5
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 15:06:33 +02:00
Gustavo Zacarias
928a901cb0 linux: bump to version 2.6.38.5
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 15:06:19 +02:00
Peter Korsgaard
8fa1a0ea75 gamin: autoreconf rather than patching configure
Patch from openembedded.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 14:07:16 +02:00
Peter Korsgaard
08f0746a83 gamin: remove unused patch
Doesn't get applied because of the 0.1.10 patch, doesn't seem important
and hasn't been updated since it got added back in 2008.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 13:57:40 +02:00
Peter Korsgaard
7432083499 libglade: bump version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 13:12:01 +02:00
Peter Korsgaard
cab3a3b3df dbus-glib: bump version
dbus-binding-tool patch is now upstream.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 12:04:55 +02:00
Peter Korsgaard
3178a20550 Makefile.autotools.in: add libtool 2.4 support for autoreconf case as well
Was missing from f055b266 (Makefile.autotools.in: add libtool v2.4 support).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 10:01:28 +02:00
Peter Korsgaard
69282a2928 dbus-glib: use normal autoreconf instead of patch
Nowadays normal autoreconf works fine for dbus-glib, so use that instead.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-03 09:57:59 +02:00
Gustavo Zacarias
1db3939ad9 toolchain: update gcc snapshot version
* Make mpc mandatory since we are probably building bleeding-edge
* Change snapshot naming convention to match the source

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 23:12:30 +02:00
Gustavo Zacarias
28cdaaee52 libxslt: fixup configure options
Some configure options changed so adjust.
Forcibly disabling threads isn't good and also it's detected by
configure when there are no threads.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 21:41:47 +02:00
Gustavo Zacarias
874b6e4e87 libxml2: fixup configure options
Some configure options changed so adjust.
Forcibly disabling threads isn't good and also it's detected by
configure when there are no threads.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 21:40:04 +02:00
Gustavo Zacarias
48a00cc2ce toolchain: mark mklibs as broken
mklibs is a broken option, so mark it as so pending a proper fixup or
punting it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 21:39:53 +02:00
Gustavo Zacarias
0073143087 toolchain/gcc: add openmp support option
Add OpenMP support in gcc as an option instead of dynamically enabling
it when threads are present.
Also fix it up since we never installed libgomp to the target or staging
thus it was never really functional.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 21:15:50 +02:00
Gustavo Zacarias
0a2af382bb toolchain: bump gcc 4.5 series to verion 4.5.3
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 21:14:44 +02:00
Gustavo Zacarias
d1b42b24b8 net-snmp: fixup paths in net-snmp-config
Exposed by commit 7e3e8ec040
net-snmp-config goes for -L/usr/lib thus things break since this wins
over the sysroot if we have a host net-snmp library around when we build
packages that link against net-snmp.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 17:44:30 +02:00
Gustavo Zacarias
d2b325c1f0 uClibc: add linuxthreads/errno fix for snapshot version
See uclibc #2089 for details.

This is still not included upstream, but lets include it anyway as
several people have been running into the issue.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 17:43:01 +02:00
Heiko Zuerker
96984e3b80 usbutils: install into staging directory (needed by udev)
Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-05-02 17:41:57 +02:00
Peter Korsgaard
7e3e8ec040 package/Makefile.in: CFLAGS/LDFLAGS: don't add -I / -L args for STAGING_DIR
Now that we use sysroot for all toolchains, the explicit -I / -L arguments
in CFLAGS / LDFLAGS aren't needed anymore (And having them makes the build
quite noisy for certain packages as STAGING_DIR/include normally doesn't
exist).

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-29 15:40:58 +02:00
Peter Korsgaard
8b370e6380 toolchain-external: remove extra space in RPC option string
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-29 13:25:37 +02:00
Peter Korsgaard
06c1d1001e uClibc: add linuxthreads/errno fix for 0.9.31 / 0.9.32-rc3
See uclibc #2089 for details.

This is still not included upstream, but lets include it anyway as
several people have been running into the issue.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-29 11:15:44 +02:00
Peter Korsgaard
2405fa26a8 kernel-headers: bump 2.6.35.x longterm version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-29 08:56:33 +02:00
Peter Korsgaard
fc8b776635 toolchain/gcc: FINEGRAINEDMTUNE: remove checks for unused/outdated versions
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27 22:13:48 +02:00
Gustavo Zacarias
f1d88a96ca openvpn: bump to version 2.2.0
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27 20:55:34 +02:00
Gustavo Zacarias
2c200d5b36 kismet: bump to version 2011-03-R2
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27 20:54:54 +02:00
Gustavo Zacarias
eac3475c47 toolchain: update uClibc snapshot config again to avoid build stalls
Update uClibc snapshot version config to avoid build stalls.

This time we take care of the new UCLIBC_HAS_FTS and
UCLIBC_HAS_BACKTRACE options.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27 20:54:30 +02:00
Gustavo Zacarias
8cce9414f3 qemu/arm-versatile: use 2.6.38.4 kernel to match headers
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27 20:54:12 +02:00
Gustavo Zacarias
63690434d9 linux: bump 2.6.38 kernel to 2.6.38.4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27 20:53:58 +02:00
Gustavo Zacarias
66fec73cb6 toolchain: bump 2.6.38 kernel headers to 2.6.38.4
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-27 20:53:48 +02:00
Gustavo Zacarias
f8fe67e12e toolchain: add gcc 4.6.0
Add gcc 4.6.0 to the toolchain repertoire:

Target gcc is known to be broken in some scenarios.

This version is considered experimental so things may break.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 22:46:59 +02:00
Gustavo Zacarias
243e4edc74 toolchain: make target gcc a working option
Make target gcc a more usable option.

* Nuke duplicate libgcc_s*.so* in /usr/lib since it confuses target gcc
* Copy *crt*.o files to the target system to unbreak gcc

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 22:43:44 +02:00
Gustavo Zacarias
4612aeec57 toolchain: reorganize target gcc options
* Move target gcc language selections to the package menu.
* Disable objc & fortran options unless target gcc is selected.
* Rename the "native toolchain" option to gcc.
* Disable target gcc unless we're using a buildroot toolchain.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 22:39:34 +02:00
Gustavo Zacarias
4cf6ec229f toolchain: add inotify_init1 syscall support to uclibc 0.9.31
Add inotify_init1 system call support to uclibc 0.9.31.
Required for modern versions of udev.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 22:37:51 +02:00
Gustavo Zacarias
99c1547124 toolchain: add SOCK_CLOEXEC and SOCK_NONBLOCK support to uclibc 0.9.31
Add SOCK_CLOEXEC and SOCK_NONBLOCK support to uclibc 0.9.31.
Required for modern versions of udev.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 22:36:29 +02:00
Gustavo Zacarias
86afa1ed6e toolchain: update uClibc snapshot config to avoid build stalls
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-04-26 21:38:46 +02:00