summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2008-04-28 10:37:04 +0000
committerGraeme Gregory <dp@xora.org.uk>2008-04-28 10:37:04 +0000
commitf37239b69eba869e67a53062cc6b8de6be89ff5b (patch)
treebd7d9608b0e97510dda49377cf08b9e0a63a2d0d
parent713ee7d6854b5a5ff8293e64127c4fd91fbfa24b (diff)
htckaiser.conf : machine description for kaiser WIP
linux-kaiser_2.6.24+git.bb : kernel for kaiser WIP
-rw-r--r--conf/machine/htckaiser.conf25
-rw-r--r--packages/linux/linux-kaiser_2.6.24+git.bb15
2 files changed, 40 insertions, 0 deletions
diff --git a/conf/machine/htckaiser.conf b/conf/machine/htckaiser.conf
new file mode 100644
index 0000000000..ad17bb82bf
--- /dev/null
+++ b/conf/machine/htckaiser.conf
@@ -0,0 +1,25 @@
+#@TYPE: Machine
+#@NAME: HTC Kaiser phone
+#@DESCRIPTION: Machine configuration for HTC Kaiser phone
+TARGET_ARCH = "arm"
+PACKAGE_EXTRA_ARCHS = "armv4 armv4t armv5te armv6"
+
+PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive"
+XSERVER = "xserver-kdrive-fbdev"
+
+GUI_MACHINE_CLASS = "smallscreen"
+MACHINE_DISPLAY_WIDTH_PIXELS = "240"
+MACHINE_DISPLAY_HEIGHT_PIXELS = "320"
+
+TARGET_FPU = "soft"
+TARGET_CC_ARCH = "-march=armv6j -mtune=arm1136jf-s"
+FEED_ARCH = "armv6"
+PACKAGE_ARCH = "armv6"
+
+
+IMAGE_FSTYPES ?= "tar.gz cpio.gz"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux-kaiser"
+
+MACHINE_FEATURES = "kernel26 touchscreen screen keyboard"
+
diff --git a/packages/linux/linux-kaiser_2.6.24+git.bb b/packages/linux/linux-kaiser_2.6.24+git.bb
new file mode 100644
index 0000000000..ba4e6c1973
--- /dev/null
+++ b/packages/linux/linux-kaiser_2.6.24+git.bb
@@ -0,0 +1,15 @@
+require linux.inc
+
+PV = "2.6.24+git${SRCREV}"
+
+COMPATIBLE_MACHINE = "htckaiser"
+
+SRC_URI = "git://git.android.com/kernel.git;branch=android-msm;protocol=git \
+ http://baliniak.pl/android/kernel.diff;patch=1"
+
+S = "${WORKDIR}/git"
+
+do_configure_prepend() {
+ cp .config ../defconfig
+}
+