summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2006-07-12 21:52:21 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-07-12 21:52:21 +0000
commit7c3ef2e9624129a2b1eda3a4e4469e359c23176e (patch)
tree88a2107919eb9ec38138cbc45b5a79db1da80bfc /packages
parent0f6227bfaa421af01fd01f4a260f7117197e05f0 (diff)
handhelds-un-2.6: New description for up to date Universal kernel. Courtesy by goxboxlive@gmail.com.
Diffstat (limited to 'packages')
-rw-r--r--packages/linux/handhelds-un-2.6_2.6.16.bb30
1 files changed, 30 insertions, 0 deletions
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
index 0000000000..b261d30a7e
--- /dev/null
+++ b/packages/linux/handhelds-un-2.6_2.6.16.bb
@@ -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