summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2006-06-19 20:24:05 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-06-19 20:24:05 +0000
commit03be284bd419a86f964ed272bc05beaa50e717fc (patch)
treef054355e2dff74a57666f381090a1db54893ed00 /packages
parent01cfbda32c4aad53873b4a6c1639e3bac7ce98b2 (diff)
xanadux-un: Add kernel for HTC Universal by goxboxlive <goxboxlive@gmail.com>
Diffstat (limited to 'packages')
-rw-r--r--packages/linux/xanadux-un-2.6_2.6.12.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/linux/xanadux-un-2.6_2.6.12.bb b/packages/linux/xanadux-un-2.6_2.6.12.bb
new file mode 100644
index 0000000000..1f5527400e
--- /dev/null
+++ b/packages/linux/xanadux-un-2.6_2.6.12.bb
@@ -0,0 +1,32 @@
+############## /home/jrs/cvs/oe/org.openembedded.dev/packages/linux/xanadux-un-2.6_2.6.12.bb ###############
+
+DESCRIPTION = "Xanadux HTC-Universal kernel based on the hh 2.6.12"
+MAINTAINER = "goxboxlive <goxboxlive@gmail.com>"
+LICENSE = "GPL"
+PR="r2"
+
+SRC_URI = "cvs://anonymous@xanadux.cvs.sourceforge.net/cvsroot/xanadux;method=pserver;module=linux-2.6-xda;tag=K2-6-12-hh2-xda0-un0"
+S = "${WORKDIR}/linux-2.6-xda"
+
+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