1 # We set PR here, since a change in the kexecboot recipe will need to get picked up by *all* the kernels:
4 SRC_URI = "file://defconfig"
6 LOGO_SIZE = '${@base_conditional("GUI_MACHINE_CLASS", "bigscreen", "vga", "qvga", d)}'
7 SRC_URI += "file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2"
9 require recipes/linux/linux.inc
11 DONT_CHECK_KERNELSIZE = ""
12 INITRAMFS_IMAGE = "initramfs-kexecboot-image"
14 CMDLINE = "console=ttyS0,115200n8 console=tty1"
15 CMDLINE_poodle = "console=ttyS0,115200n8 console=tty1 fbcon=rotate:1"
16 CMDLINE_akita = "console=ttyS0,115200n8 console=tty1 fbcon=rotate:1"
17 CMDLINE_collie = "console=ttySA0,115200n8 console=tty1 mem=64M fbcon=rotate:1"
18 CMDLINE_spitz = "console=ttyS0,115200n8 console=tty1 fbcon=rotate:1"
19 CMDLINE_hx4700 = "console=ttyS0,115200n8 console=tty1 fbcon=rotate:1"
24 DOSRC = "http://www.do13.de/openzaurus/patches"
25 JLSRC = "http://www.cs.wisc.edu/~lenz/zaurus/files"
26 BASRC = "http://www.orca.cx/zaurus/patches"
27 CHSRC = "http://oz.drigon.com/patches"
28 TKSRC = "http://www.informatik.hu-berlin.de/~tkunze/zaurus/patches"
30 KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-kexecboot-${PV}-${PR}-${MACHINE}"
31 KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-kexecboot-${MACHINE}"
33 do_configure[depends] += "${INITRAMFS_IMAGE}:do_rootfs"
35 do_configure_append() {
36 sed -i -e /CONFIG_BLK_DEV_INITRD/d \
37 -e /CONFIG_INITRAMFS_SOURCE/d \
39 -e /CONFIG_MODULES/d \
40 -e /CONFIG_DEBUG_ERRORS/d \
41 -e /CONFIG_DEBUG_BUGVERBOSE/d \
42 -e /CONFIG_DEBUG_KERNEL/d \
45 # Remove last tag appended by linux.inc (output messes screen)
46 sed -i -e /CONFIG_CMDLINE/s/quiet/loglevel=3/1 ${S}/.config
47 sed -i -e /CONFIG_CMDLINE/s/debug/loglevel=3/1 ${S}/.config
49 echo 'CONFIG_BLK_DEV_INITRD=y
50 CONFIG_INITRAMFS_SOURCE="initramfs.cpio.gz"
51 CONFIG_MODULES=n' >> ${S}/.config
53 yes '' | oe_runmake oldconfig