From 070a04a29a40b19198c045269f97b10e71a8c9af Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 16 Dec 2008 14:22:01 +0100 Subject: linux-kexecboot.inc: disable modules and debugging to make kernel smaller * most devices can reuse the defconfig of their 'proper' kernel now --- packages/kexecboot/linux-kexecboot.inc | 13 +++++++++++-- 1 file 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 } -- cgit v1.2.3