blob: bb65518e7a1132b8d30546698e402a2fcfe46b0f (
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
35
36
37
38
39
40
41
42
|
SECTION = "kernel"
DESCRIPTION = "Linux kernel CM-X270"
LICENSE = "GPL"
PR = "r7"
DEFAULT_PREFERENCE = "-1"
SRC_URI = "${KERNELORG_MIRROR}pub/linux/kernel/v2.6/linux-2.6.17.tar.bz2 \
http://raph.people.8d.com/kernels/8d-cmx2xx-2.6.17.1-june21.diff;patch=1 \
http://raph.people.8d.com/kernels/hardcode-archID.diff;patch=1 \
file://cm_x2xx_mbx.patch;patch=1 \
file://add_2700g_plat-r0.patch;patch=1 \
file://mtd_fixes-r0.patch;patch=1 \
file://mtd_fixes1-r0.patch;patch=1 \
file://mach-types \
file://defconfig"
S = "${WORKDIR}//linux-2.6.17"
KERNEL_OUTPUT = "arch/${ARCH}/boot/compressed/${KERNEL_IMAGETYPE}"
inherit kernel
COMPATIBLE_HOST = "arm.*-linux"
COMPATIBLE_MACHINE = "cmx270"
do_configure_prepend() {
install -m 0644 ${WORKDIR}/defconfig ${S}/.config
install -m 0644 ${WORKDIR}/mach-types ${S}/arch/arm/tools/mach-types
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.17"
|