kexecboot_git: bump to 8daf258fc5d1e5eb6127285c63d66f31f05cf80d. Bump PR
[vuplus_openembedded] / recipes / kexecboot / linux-kexecboot.inc
1 # We set PR here, since a change in the kexecboot recipe will need to get picked up by *all* the kernels:
2 PR = "r15"
3
4 SRC_URI = "file://defconfig"
5
6 LOGO_SIZE = '${@base_conditional("GUI_MACHINE_CLASS", "bigscreen", "vga", "qvga", d)}'
7 SRC_URI += "file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2"
8
9 require ../linux/linux.inc
10
11 DONT_CHECK_KERNELSIZE = ""
12 INITRAMFS_IMAGE = "initramfs-kexecboot-image"
13
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"
21
22 PACKAGES = ""
23 PROVIDES = ""
24
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"
30
31 KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-kexecboot-${PV}-${PR}-${MACHINE}"
32 KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-kexecboot-${MACHINE}"
33
34 do_configure[depends] += "${INITRAMFS_IMAGE}:do_rootfs"
35
36 do_configure_append() {
37 sed -i -e /CONFIG_BLK_DEV_INITRD/d \
38        -e /CONFIG_KEXEC/d \
39        -e /CONFIG_INITRAMFS_SOURCE/d \
40        -e /=m/d \
41        -e /CONFIG_MODULES/d \
42        -e /CONFIG_DEBUG_ERRORS/d \
43        -e /CONFIG_DEBUG_BUGVERBOSE/d \
44        -e /CONFIG_DEBUG_KERNEL/d \
45        ${S}/.config
46
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
50
51 echo 'CONFIG_BLK_DEV_INITRD=y
52 CONFIG_KEXEC=y
53 CONFIG_INITRAMFS_SOURCE="initramfs.cpio.gz"
54 CONFIG_MODULES=n' >> ${S}/.config
55
56         yes '' | oe_runmake oldconfig
57 }
58
59 do_stage() {
60 }
61
62 do_install() {
63 }
64
65 python do_package() {
66 }