summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-wrap-geode_2.6.17.bb
blob: 3d9b81a9361efb77fc18948d770e9d53285dde9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
SECTION = "kernel"
DESCRIPTION = "Linux kernel for PC-Engines WRAP which are \
Geode SC1100 (i486) based wirless router appliance boards"
LICENSE = "GPL"
PR = "r0"

SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
	   file://defconfig"
S = "${WORKDIR}/linux-${PV}"

COMPATIBLE_HOST = 'i486.*-linux'
COMPATIBLE_MACHINE = "wrap"

inherit kernel

ARCH = "i386"
KERNEL_OUTPUT = "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}"

do_configure_prepend() {
	install -m 0644 ${WORKDIR}/defconfig ${S}/.config
	yes '' | oe_runmake oldconfig
}