Merge bk://openembedded@openembedded.bkbits.net/packages
[vuplus_openembedded] / linux / handhelds-pxa-2.6_cvs.oe
1 DESCRIPTION = "handhelds.org Linux kernel for StrongArm processor based devices."
2 MAINTAINER = "Greg Gilbert <greg@treke.net>"
3 LICENSE = "GPL"
4 #
5 PACKAGE_ARCH = "ipaqpxa"
6 KERNEL_CCSUFFIX = "-3.3.4"
7 COMPATIBLE_HOST = "arm.*-linux"
8
9 FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/handhelds-pxa-${PV}"
10
11 SRC_URI = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs;module=linux/kernel26  \
12            file://defconfig-${MACHINE}"
13
14 S = "${WORKDIR}/kernel26"
15
16 inherit kernel
17
18 K_MAJOR = "2"
19 K_MINOR = "6"
20 K_MICRO = "6"
21 HHV     = "0"
22 #
23
24 KERNEL_PRIORITY = "${@'%d' % (int(oe.data.getVar('K_MAJOR',d,1)) * 100000000 + int(oe.data.getVar('K_MINOR',d,1)) * 1000000 + int(oe.data.getVar('K_MICRO',d,1)) * 10000 + float(oe.data.getVar('HHV',d,1)))}"
25 do_configure() {
26         install -m 0644 ${WORKDIR}/defconfig-${MACHINE} ${S}/.config || die "No default configuration for ${MACHINE} available."
27         (echo N; echo m; echo N) | oe_runmake oldconfig
28 }