diff options
author | Koen Kooi <koen@openembedded.org> | 2008-12-13 19:42:23 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-12-13 19:42:23 +0100 |
commit | 71d21c5e379ab3f5d754a967a52240963552a71c (patch) | |
tree | 7e3daf35aa2156f4c39904dcabc831cac55ddee4 /packages/kexecboot | |
parent | b9d74ff5d745ffec406c378e2bd01ef9f28bac1c (diff) |
linux-kexecboot: force initramfs support in Kconfig since it can't function without
Diffstat (limited to 'packages/kexecboot')
-rw-r--r-- | packages/kexecboot/linux-kexecboot.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/kexecboot/linux-kexecboot.inc b/packages/kexecboot/linux-kexecboot.inc index 93207e4332..3f931f537e 100644 --- a/packages/kexecboot/linux-kexecboot.inc +++ b/packages/kexecboot/linux-kexecboot.inc @@ -10,6 +10,7 @@ CMDLINE_poodle = "console=ttyS0,115200n8 console=tty1 fbcon=rotate:1" CMDLINE_akita = "console=ttyS0,115200n8 console=tty1 fbcon=rotate:1" CMDLINE_collie = "console=ttySA0,115200n8 console=tty1 mem=64M fbcon=rotate:1" CMDLINE_spitz = "console=ttyS0,115200n8 console=tty1 fbcon=rotate:1" +CMDLINE_c7x0 = "console=tty0" PACKAGES = "" PROVIDES = "" @@ -28,6 +29,14 @@ 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 +echo 'CONFIG_BLK_DEV_INITRD=y +CONFIG_INITRAMFS_SOURCE="initramfs.cpio.gz"' >> ${S}/.config + + yes '' | oe_runmake oldconfig +} + do_stage() { } |