diff options
-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() { } |