blob: 3e0e8b502404f6d17df1d88bbd61e6fbdc7c337d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
SECTION = "kernel"
DESCRIPTION = "Linux kernel CM-X270"
LICENSE = "GPL"
PR = "r1"
SRC_URI = "${KERNELORG_MIRROR}pub/linux/kernel/v2.6/linux-2.6.16.tar.bz2 \
file://diff-2.6.16-cm-x270;patch=1 \
file://CL_FlashDrv"
S = "${WORKDIR}//linux-2.6.16"
KERNEL_OUTPUT = "arch/${ARCH}/boot/compressed/${KERNEL_IMAGETYPE}"
inherit kernel
COMPATIBLE_HOST = "arm.*-linux"
COMPATIBLE_MACHINE = "cmx270"
do_configure_prepend() {
install -m 0644 ${S}/arch/arm/configs/cm_x270_defconfig ${S}/.config
install -m 0644 ${WORKDIR}/CL_FlashDrv ${S}/drivers/block/cl_flash
oe_runmake oldconfig
}
do_deploy() {
install -d ${DEPLOY_DIR}/images
install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin
}
do_deploy[dirs] = "${S}"
addtask deploy before do_build after do_compile
KERNEL_RELEASE = "2.6.16"
|