aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.2.bbappend
blob: a385b91fa2d6033768eccd1bd3596d4c37098210 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:${THISDIR}/files:"

COMPATIBLE_MACHINE .= "|akita|c7x0|collie|poodle|spitz|tosa"

KMACHINE_akita = "akita"
KMACHINE_c7x0 = "c7x0"
KMACHINE_collie = "collie"
KMACHINE_poodle = "poodle"
KMACHINE_spitz = "spitz"
KMACHINE_tosa = "tosa"

# Zaurus machines need kernel size-check.
KERNEL_IMAGE_MAXSIZE_akita = "1294336"
KERNEL_IMAGE_MAXSIZE_c7x0 = "1294336"
KERNEL_IMAGE_MAXSIZE_collie = "1048576"
KERNEL_IMAGE_MAXSIZE_poodle = "1294336"
KERNEL_IMAGE_MAXSIZE_tosa = "1294336"
KERNEL_IMAGE_MAXSIZE_spitz = "1294336"

SRC_URI_append_akita = " \
           file://akita-tiny.scc \
           file://akita-kexecboot.cfg \
           file://vga/logo_linux_clut224.ppm.bz2 \
           file://revert-check-on-console-device.patch \
           "

SRC_URI_append_c7x0 = " \
           file://c7x0-tiny.scc \
           file://c7x0-kexecboot.cfg \
           file://vga/logo_linux_clut224.ppm.bz2 \
           file://revert-check-on-console-device.patch \
           "

SRC_URI_append_collie = " \
           file://collie-tiny.scc \
           file://collie-kexecboot.cfg \
           file://qvga/logo_linux_clut224.ppm.bz2 \
           file://0001-pcmcia-pxa2xx_sharpsl-retain-ops-structure-on-collie.patch \
           file://locomo_kbd_tweak-r2.patch \
           file://collie_remove_irq_to_gpio.patch \
           file://revert-check-on-console-device.patch \
           "

SRC_URI_append_poodle = " \
           file://poodle-tiny.scc \
           file://poodle-kexecboot.cfg \
           file://qvga/logo_linux_clut224.ppm.bz2 \
           file://locomo_kbd_tweak-r2.patch \
           file://revert-check-on-console-device.patch \
           "

SRC_URI_append_spitz = " \
           file://spitz-tiny.scc \
           file://spitz-kexecboot.cfg \
           file://vga/logo_linux_clut224.ppm.bz2 \
           file://revert-check-on-console-device.patch \
           "

SRC_URI_append_tosa = " \
           file://tosa-tiny.scc \
           file://tosa-kexecboot.cfg \
           file://vga/logo_linux_clut224.ppm.bz2 \
           file://revert-check-on-console-device.patch \
           "

do_configure_prepend() {

    if [ -e ${WORKDIR}/logo_linux_clut224.ppm ]; then
        install -m 0644 ${WORKDIR}/logo_linux_clut224.ppm ${WORKDIR}/linux/drivers/video/logo/logo_linux_clut224.ppm
    fi
}