diff options
Diffstat (limited to 'meta/packages/linux/linux-nokia770_2.6.12.3-osso14.bb')
-rw-r--r-- | meta/packages/linux/linux-nokia770_2.6.12.3-osso14.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-nokia770_2.6.12.3-osso14.bb b/meta/packages/linux/linux-nokia770_2.6.12.3-osso14.bb new file mode 100644 index 0000000000..5b8bc9b168 --- /dev/null +++ b/meta/packages/linux/linux-nokia770_2.6.12.3-osso14.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SECTION = "kernel" | ||
2 | DESCRIPTION = "Linux kernel for Nokia 770" | ||
3 | LICENSE = "GPL" | ||
4 | PR = "r4" | ||
5 | |||
6 | SRC_URI = "http://ewi546.ewi.utwente.nl/OE/source/kernel-source-2.6.12.3_2.6.12.3-osso14.tar.gz \ | ||
7 | file://defconfig" | ||
8 | |||
9 | S = "${WORKDIR}/linux-2.6" | ||
10 | |||
11 | KERNEL_IMAGETYPE = "vmlinux" | ||
12 | KERNEL_OUTPUT = "arch/${ARCH}/boot/compressed/${KERNEL_IMAGETYPE}" | ||
13 | |||
14 | inherit kernel | ||
15 | |||
16 | COMPATIBLE_HOST = "arm.*-linux" | ||
17 | COMPATIBLE_MACHINE = "nokia770" | ||
18 | |||
19 | do_configure_prepend() { | ||
20 | install -m 0644 ${WORKDIR}/defconfig ${S}/.config | ||
21 | oe_runmake oldconfig | ||
22 | } | ||
23 | |||
24 | do_deploy() { | ||
25 | install -d ${DEPLOY_DIR}/images | ||
26 | install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin | ||
27 | } | ||
28 | |||
29 | do_deploy[dirs] = "${S}" | ||
30 | |||
31 | addtask deploy before do_build after do_compile | ||