We have a udev package, but no means to start udev at boot.
This change adds the necessary startup in /init, and adds the required
/sbin/udevsettle to the udev installed files
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
SVN-Revision: 9412
The current /init script unconditionally does the initialisation for
hotplug2, including mounting a new /dev. If hotplug2 isn't present, we
end up with no device nodes.
This change only does the hotplug2 init if hotplug2 is present, but
always mounts /sys.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
SVN-Revision: 9411
The CONFIG_INITRAMFS_SOURCE Kconfig variable can be a space-separated
list of source files (or directories). This allows a platform to
add extra components to the initramfs image, by defining the
INITRAMFS_EXTRA_FILES make var.
By default, we add a simple initramfs extra file for the generic-2.6
platform, which specifies a few device nodes.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
SVN-Revision: 9410
Set the CONFIG_INITRAMFS_ROOT_{U,G}ID kernel variables to the current
user, so that all files end up being owned by root in the final
initramfs image.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
SVN-Revision: 9409
If KERNEL_CC isn't set, we end up with a "CC=" on the kernel build
command-line. We don't always need CC, as the CROSS_COMPILE flag does
the job instead. In fact, specifying CC messes up the build when we're
using a biarch compiler.
This change doesn't specify CC= if the KERNEL_CC variable is empty.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
SVN-Revision: 9408
Currently, we can specify extra configure options for gcc, but not
binutils.
This change adds an EXTRA_BINUTILS_CONFIG_OPTIONS config variable,
so we can add configure options for binutils.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
SVN-Revision: 9407
Although the CONFIG_EXTRA_GCC_OPTIONS flag is available, it isn't used
anywhere.
This change adds the extra flag to both gcc configure stages.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
SVN-Revision: 9406
'powerpc' is a valid arch for the LINUX_KARCH variable, but the build
system unconditionally replaces LIUNUX_KARCH=powerpc with
LINUX_KARCH=ppc.
This change only does the replacement if LINUX_KARCH isn't set. This
allows us to use the powerpc architecture.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
SVN-Revision: 9405