diff options
author | Richard Purdie <richard@openedhand.com> | 2006-06-12 17:12:18 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-06-12 17:12:18 +0000 |
commit | 243e32feb83a3420ac0594a5659bf5c7da43dbe0 (patch) | |
tree | 1f291d6b4f2092e47ec2bc7cdc1929963dbf38b0 /openembedded/packages/linux/linux-nokia770_2.6.12.3-osso14.bb | |
parent | 7708e32bb655f01880c4268a1d7d4cb105cdae97 (diff) | |
download | poky-243e32feb83a3420ac0594a5659bf5c7da43dbe0.tar.gz |
Add linux-nokia770 kernel from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@469 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/linux/linux-nokia770_2.6.12.3-osso14.bb')
-rw-r--r-- | openembedded/packages/linux/linux-nokia770_2.6.12.3-osso14.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/openembedded/packages/linux/linux-nokia770_2.6.12.3-osso14.bb b/openembedded/packages/linux/linux-nokia770_2.6.12.3-osso14.bb new file mode 100644 index 0000000000..5b8bc9b168 --- /dev/null +++ b/openembedded/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 | ||