diff options
Diffstat (limited to 'meta/packages/linux/linux-cmx270-rp_2.6.17.bb')
-rw-r--r-- | meta/packages/linux/linux-cmx270-rp_2.6.17.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-cmx270-rp_2.6.17.bb b/meta/packages/linux/linux-cmx270-rp_2.6.17.bb new file mode 100644 index 0000000000..846095e401 --- /dev/null +++ b/meta/packages/linux/linux-cmx270-rp_2.6.17.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | SECTION = "kernel" | ||
2 | DESCRIPTION = "Linux kernel for Compulab cmx270" | ||
3 | LICENSE = "GPL" | ||
4 | PR = "r1" | ||
5 | |||
6 | SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.tar.bz2 \ | ||
7 | http://www.rpsys.net/openzaurus/patches/archive/cmx270/cm_x2xx_ide-r1.patch;patch=1 \ | ||
8 | http://www.rpsys.net/openzaurus/patches/archive/cmx270/cm_x2xx_mtd-r2.patch;patch=1 \ | ||
9 | http://www.rpsys.net/openzaurus/patches/archive/cmx270/it8152_pci-r1.patch;patch=1 \ | ||
10 | http://www.rpsys.net/openzaurus/patches/archive/cmx270/cm_x2xx_core-r2.patch;patch=1 \ | ||
11 | http://www.rpsys.net/openzaurus/patches/archive/cmx270/cm_x2xx_mbx.patch;patch=1 \ | ||
12 | http://www.rpsys.net/openzaurus/patches/archive/cmx270/cm_x2xx_pccard-r1.patch;patch=1 \ | ||
13 | http://www.rpsys.net/openzaurus/patches/archive/cmx270/it8711_sio-r1.patch;patch=1 \ | ||
14 | http://www.rpsys.net/openzaurus/patches/archive/cmx270/cm_x2xx_core_Kconfig-r1.patch;patch=1 \ | ||
15 | file://defconfig" | ||
16 | |||
17 | S = "${WORKDIR}/linux-2.6.17" | ||
18 | |||
19 | # to get module dependencies working | ||
20 | KERNEL_RELEASE = "2.6.17" | ||
21 | |||
22 | KERNEL_IMAGETYPE = "vmlinux" | ||
23 | KERNEL_OUTPUT = "arch/${ARCH}/boot/compressed/${KERNEL_IMAGETYPE}" | ||
24 | |||
25 | inherit kernel | ||
26 | |||
27 | COMPATIBLE_HOST = "arm.*-linux" | ||
28 | #COMPATIBLE_MACHINE = "cmx270" | ||
29 | |||
30 | do_configure_prepend() { | ||
31 | install -m 0644 ${WORKDIR}/defconfig ${S}/.config | ||
32 | oe_runmake oldconfig | ||
33 | } | ||
34 | |||
35 | do_deploy() { | ||
36 | install -d ${DEPLOY_DIR}/images | ||
37 | install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin | ||
38 | } | ||
39 | |||
40 | do_deploy[dirs] = "${S}" | ||
41 | |||
42 | addtask deploy before do_build after do_compile | ||