summaryrefslogtreecommitdiff
path: root/packages/linux/linux-wrap-geode_2.6.17.bb
blob: 7bf2c3ee1cc6a288cf5ae4b456467e35d9f0224d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 = "ftp://ftp.kernel.org/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_IMAGETYPE = "bzImage"
KERNEL_OUTPUT = "arch/${ARCH}/boot/${KERNEL_IMAGETYPE}"

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