summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-epia_2.6.12.bb
blob: fb3efffce38151195312f2dd7500fdcc16647bd3 (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
SECTION = "kernel"
DESCRIPTION = "Linux kernel for VIA EPiA"
LICENSE = "GPLv2"
PR = "r0"

KERNEL_CCSUFFIX = "-3.3.4"

SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2;name=kernel \
	   http://hem.bredband.net/ekmlar/patch-vt1211-2.6.txt;apply=yes;name=patch \
           file://epia_defconfig"
S = "${WORKDIR}/linux-${PV}"

COMPATIBLE_HOST = 'i.86.*-linux'

inherit kernel

ARCH = "i386"

# Don't want kernel in rootfs
FILES_kernel = ""
ALLOW_EMPTY_kernel = "1"
PACKAGES += "kernel-image"
FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"

do_configure_prepend() {
	install -m 0644 ${WORKDIR}/epia_defconfig ${S}/.config
}

SRC_URI[kernel.md5sum] = "c5d2a1b62e1dad502c871bba267337d5"
SRC_URI[kernel.sha256sum] = "727b55291a2c52f9f6b9f7ef03b2cd9fc54f7d4d1b0b2baed4c3dd6d9a890c71"
SRC_URI[patch.md5sum] = "cb7f4038723f5d4552bc110479538b13"
SRC_URI[patch.sha256sum] = "4e78c478ebe7666d47a0f86f75fff7680df5cf0ecf134ef98ccad38aaa7b0236"