handhelds-un-2.6: New description for up to date Universal kernel. Courtesy by goxbox...
authorFlorian Boor <florian.boor@kernelconcepts.de>
Wed, 12 Jul 2006 21:52:21 +0000 (21:52 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Wed, 12 Jul 2006 21:52:21 +0000 (21:52 +0000)
packages/linux/handhelds-un-2.6_2.6.16.bb [new file with mode: 0644]

diff --git a/packages/linux/handhelds-un-2.6_2.6.16.bb b/packages/linux/handhelds-un-2.6_2.6.16.bb
new file mode 100644 (file)
index 0000000..b261d30
--- /dev/null
@@ -0,0 +1,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