summaryrefslogtreecommitdiff
path: root/packages/linux/linux-jlime-arm_2.6.17.bb
blob: 0f67a7c2be6d9d7e4b8f088e1ac88c2503fd5a9a (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
43
SECTION = "kernel"
DESCRIPTION = "JLime Linux kernel for Arm based Jornada 7xx"
LICENSE = "GPL"
PR = "r0"

COMPATIBLE_HOST = "arm.*-linux"
COMPATIBLE_MACHINE = 'jornada7xx'

SRC_URI = "http://www.kernel.orgm/pub/linux/kernel/v2.6/linux-2.6.17.tar.gz \
           file://defconf_jlime \
	   file://AsmArm-ArchSa1100-Jornada720.patch;patch=0 \
	   file://Cpu-Sa1110-Jornada720.patch;patch=0 \
	   file://Kconfig-Arch-Jornada720.patch;patch=0 \
	   file://Kconfig-Keyboard-Jornada720.patch;patch=0\
	   file://Kconfig-Touchscreen-Jornada720.patch;patch=0
	   file://Kconfig-Video-Jornada720.patch;patch=0 \
	   file://Mach-Sa1100-Jornada720.patch;patch=0 \
	   file://Makefile-Keyboard-Jornada720.patch;patch=0 \
	   file://Makefile-Touchscreen-Jornada720.patch;patch=0 \
	   file://Makefile-Video-Jornada720.patch;patch=0 \
	   file://Newfile-Epson1356fb.patch;patch=0 \
	   file://Newfile-Jornada720_kbd.patch;patch=0 \
	   file://Newfile-Jornada720_ts.patch;patch=0"
	   	            
S = "${WORKDIR}/linux-${PV}"

inherit kernel

#Lets let 3.4.x handle the compilation of this one
KERNEL_CCSUFFIX = "-3.4.4"

ARCH = "arm"
KERNEL_IMAGETYPE = "zImage"
FILES_kernel-image = "/boot/${KERNEL_IMAGETYPE}*"

do_configure_prepend() {
	install -m 0644 ${WORKDIR}/defconfig_jlime ${S}/.config
}

do_deploy() {
        install -d ${DEPLOY_DIR_IMAGE}
	install -m 0644 arch/$(ARCH)/boot/$(KERNEL_IMAGETYPE) $(DEPLOY_DIR)/images/$(KERNEL_IMAGETYPE)
}