diff options
author | Koen Kooi <koen@openembedded.org> | 2008-12-16 14:22:01 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-12-16 14:22:01 +0100 |
commit | 070a04a29a40b19198c045269f97b10e71a8c9af (patch) | |
tree | dff90edeec081f34defe7eb344cf38b7049b716a /packages/kexecboot | |
parent | 19fb84f81c15a3e78e5fd1b8fe8fc869a07ff996 (diff) |
linux-kexecboot.inc: disable modules and debugging to make kernel smaller
* most devices can reuse the defconfig of their 'proper' kernel now
Diffstat (limited to 'packages/kexecboot')
-rw-r--r-- | packages/kexecboot/linux-kexecboot.inc | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/packages/kexecboot/linux-kexecboot.inc b/packages/kexecboot/linux-kexecboot.inc index 3f931f537e..7a899f189b 100644 --- a/packages/kexecboot/linux-kexecboot.inc +++ b/packages/kexecboot/linux-kexecboot.inc @@ -30,9 +30,18 @@ KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-kexecboot-${MACHINE}" do_compile[depends] += "${INITRAMFS_IMAGE}:do_rootfs" do_configure_append() { -sed -i -e /CONFIG_BLK_DEV_INITRD/d -e /CONFIG_INITRAMFS_SOURCE/d ${S}/.config +sed -i -e /CONFIG_BLK_DEV_INITRD/d \ + -e /CONFIG_INITRAMFS_SOURCE/d \ + -e /=m/d \ + -e /CONFIG_MODULES/d \ + -e /CONFIG_DEBUG_ERRORS/d \ + -e /CONFIG_DEBUG_BUGVERBOSE/d \ + -e /CONFIG_DEBUG_KERNEL/d \ + ${S}/.config + echo 'CONFIG_BLK_DEV_INITRD=y -CONFIG_INITRAMFS_SOURCE="initramfs.cpio.gz"' >> ${S}/.config +CONFIG_INITRAMFS_SOURCE="initramfs.cpio.gz" +CONFIG_MODULES=n' >> ${S}/.config yes '' | oe_runmake oldconfig } |