summaryrefslogtreecommitdiff
path: root/packages/linux/handhelds-pxa-2.6_cvs.bb
diff options
context:
space:
mode:
authorNigel Kostiuck <emte@labotomy.net>2004-12-09 22:29:30 +0000
committerNigel Kostiuck <emte@labotomy.net>2004-12-09 22:29:30 +0000
commit9f29948adec0e69b5ec47b712f99b8e9cba52e6f (patch)
tree82b22116050c768bc2737518fe906313fc7de715 /packages/linux/handhelds-pxa-2.6_cvs.bb
parent85f320d50f9756d1a4e63774721796410e79e433 (diff)
Merge bk://oe-devel@oe-devel.bkbits.net/openembedded
into t.(none):/home/OE/speedracer/packages 2004/12/09 16:29:29-06:00 ti.com!kergoth In some kernel packages, move the set of PACKAGE_ARCH to below the inherit of kernel. BKrev: 41b8d1capsuSJAmgsLcGU1QsukrfIA
Diffstat (limited to 'packages/linux/handhelds-pxa-2.6_cvs.bb')
-rw-r--r--packages/linux/handhelds-pxa-2.6_cvs.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/packages/linux/handhelds-pxa-2.6_cvs.bb b/packages/linux/handhelds-pxa-2.6_cvs.bb
index e69de29bb2..2c01039629 100644
--- a/packages/linux/handhelds-pxa-2.6_cvs.bb
+++ b/packages/linux/handhelds-pxa-2.6_cvs.bb
@@ -0,0 +1,30 @@
+SECTION = "kernel"
+DESCRIPTION = "handhelds.org Linux kernel for StrongArm processor based devices."
+MAINTAINER = "Greg Gilbert <greg@treke.net>"
+LICENSE = "GPL"
+PV = "${K_MAJOR}.${K_MINOR}.${K_MICRO}-hh${HHV}+cvs${CVSDATE}"
+#
+KERNEL_CCSUFFIX = "-3.3.4"
+COMPATIBLE_HOST = "arm.*-linux"
+
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/handhelds-pxa-${PV}"
+
+SRC_URI = "${HANDHELDS_CVS};module=linux/kernel26 \
+ file://defconfig"
+
+S = "${WORKDIR}/kernel26"
+
+inherit kernel
+
+PACKAGE_ARCH = "ipaqpxa"
+K_MAJOR = "2"
+K_MINOR = "6"
+K_MICRO = "8"
+HHV = "0"
+#
+
+KERNEL_PRIORITY = "${@'%d' % (int(bb.data.getVar('K_MAJOR',d,1)) * 100000000 + int(bb.data.getVar('K_MINOR',d,1)) * 1000000 + int(bb.data.getVar('K_MICRO',d,1)) * 10000 + float(bb.data.getVar('HHV',d,1)))}"
+do_configure() {
+ install -m 0644 ${WORKDIR}/defconfig ${S}/.config || die "No default configuration for ${MACHINE} available."
+ yes '' | oe_runmake oldconfig
+}