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 ../linux/linux.inc
11 DONT_CHECK_KERNELSIZE = ""
12 INITRAMFS_IMAGE = "initramfs-kexecboot-image"
14 # here we set master console on serial
15 CMDLINE = "console=tty1 console=ttyS0,115200n8"
16 CMDLINE_poodle = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1"
17 CMDLINE_akita = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1"
18 CMDLINE_collie = "console=tty1 console=ttySA0,115200n8 fbcon=rotate:1 mem=64M"
19 CMDLINE_spitz = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1"
20 CMDLINE_hx4700 = "console=tty1 console=ttyS0,115200n8 fbcon=rotate:1"
25 DOSRC = "http://www.do13.de/openzaurus/patches"
26 JLSRC = "http://www.cs.wisc.edu/~lenz/zaurus/files"
27 BASRC = "http://www.orca.cx/zaurus/patches"
28 CHSRC = "http://oz.drigon.com/patches"
29 TKSRC = "http://www.informatik.hu-berlin.de/~tkunze/zaurus/patches"
31 KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-kexecboot-${PV}-${PR}-${MACHINE}"
32 KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-kexecboot-${MACHINE}"
34 do_configure[depends] += "${INITRAMFS_IMAGE}:do_rootfs"
36 do_configure_append() {
37 sed -i -e /CONFIG_BLK_DEV_INITRD/d \
39 -e /CONFIG_INITRAMFS_SOURCE/d \
41 -e /CONFIG_MODULES/d \
42 -e /CONFIG_DEBUG_ERRORS/d \
43 -e /CONFIG_DEBUG_BUGVERBOSE/d \
44 -e /CONFIG_DEBUG_KERNEL/d \
47 # Remove last tag appended by linux.inc (output messes screen)
48 sed -i -e /CONFIG_CMDLINE/s/quiet/loglevel=3/1 ${S}/.config
49 sed -i -e /CONFIG_CMDLINE/s/debug/loglevel=3/1 ${S}/.config
51 echo 'CONFIG_BLK_DEV_INITRD=y
53 CONFIG_INITRAMFS_SOURCE="initramfs.cpio.gz"
54 CONFIG_MODULES=n' >> ${S}/.config
56 yes '' | oe_runmake oldconfig