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

SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2;name=kernel \
	   http://www.epiawiki.org/files/epia_kernel/patch-2.6.8.1-epia1.bz2;apply=yes;name=patch1 \
	   http://hem.bredband.net/ekmlar/patch-vt1211-2.6.txt;apply=yes;name=patch2 \
           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
}