aboutsummaryrefslogtreecommitdiffstats
path: root/packages/linux/handhelds-un-2.6_2.6.16.bb
blob: b261d30a7e11229a75ddcb4080de02c3f678e65d (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
DESCRIPTION = "Handhelds HTC-PXA phones kernel based on the hh 2.6.16"
MAINTAINER = "goxboxlive <goxboxlive@gmail.com>"
LICENSE = "GPL"
PR="r0"

SRC_URI = "cvs -d :pserver:anoncvs@anoncvs.handhelds.org:/cvs checkout -d linux-2.6.16-hh2 linux/kernel26"
S = "${WORKDIR}/linux-2.6.16-hh2"

COMPATIBLE_HOST = "arm.*-linux"

inherit kernel

do_configure() {
        cp arch/arm/configs/htcuniversal_defconfig .config || die "No default configuration for ${MACHINE} available."
        yes '' | oe_runmake oldconfig
}


###############################################################
# put into deploy directory
#
do_deploy() {
        install -d ${DEPLOY_DIR_IMAGE}
        install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin
        tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib
}

do_deploy[dirs] = "${S}"

addtask deploy before do_package after do_install