Patch onto openmoko.git on git.openmoko.org for compiling htcdream-openmoko: <attachment>
lg leviathan
commit 436db7a97fa636f1c02d741d8185de60b0a978f2 Author: David Lanzendörfer <david.lanzendoer...@o2s.ch> Date: Tue Sep 8 18:17:50 2009 +0200 added htcdream and openmoko-msm diff --git a/conf/machine/htcdream.conf b/conf/machine/htcdream.conf new file mode 100644 index 0000000..70f38a7 --- /dev/null +++ b/conf/machine/htcdream.conf @@ -0,0 +1,15 @@ +...@type: Machine +...@name: HTC Kaiser phone +...@description: Machine configuration for HTC Kaiser phone (aka HTC TyTN II) +require conf/machine/include/tune-arm1136-novfp.inc + +PREFERRED_PROVIDER_virtual/kernel = "openmoko-msm" + +PREFERRED_PROVIDER_virtual/xserver = "xserver-kdrive" +XSERVER = "xserver-kdrive-fbdev" +MACHINE_DISPLAY_WIDTH_PIXELS = "240" +MACHINE_DISPLAY_HEIGHT_PIXELS = "320" + +MACHINE_FEATURES = "kernel26 touchscreen screen keyboard phone gps" + +IMAGE_FSTYPES += "tar.gz cpio.gz" diff --git a/conf/machine/include/tune-arm1136-novfp.inc b/conf/machine/include/tune-arm1136-novfp.inc new file mode 100644 index 0000000..372148e --- /dev/null +++ b/conf/machine/include/tune-arm1136-novfp.inc @@ -0,0 +1,8 @@ +TARGET_ARCH = "arm" +TARGET_CC_ARCH = "-march=armv6j -mtune=arm1136jf-s" + +# Not all kernels enable floating point emulation in the kernel, so we exclude 'armv6' for now +FEED_ARCH = "armv6-novfp" +BASE_PACKAGE_ARCH = "armv6-novfp" +PACKAGE_EXTRA_ARCHS += "armv4 armv4t armv5te armv6-novfp" + diff --git a/packages/glibc/glibc-package.bbclass b/packages/glibc/glibc-package.bbclass index 4cb0c55..feb4054 100644 --- a/packages/glibc/glibc-package.bbclass +++ b/packages/glibc/glibc-package.bbclass @@ -279,7 +279,7 @@ python package_do_split_gconvs () { if not qemu_options: qemu_options = bb.data.getVar('QEMU_OPTIONS', d, 1) - cmd = "PATH=\"%s\" I18NPATH=\"%s\" %s -L %s %s %s/bin/localedef %s" % (path, i18npath, qemu, treedir, qemu_options, treedir, localedef_opts) + cmd = str("PATH=\"%s\" I18NPATH=\"%s\" %s -cpu any -L %s %s %s/bin/localedef %s" % (path, i18npath, qemu, treedir, qemu_options, treedir, localedef_opts)).replace("\"","") bb.note("generating locale %s (%s)" % (locale, encoding)) if os.system(cmd): raise bb.build.FuncFailed("localedef returned an error (command was %s)." % cmd) diff --git a/packages/linux/openmoko-msm_git.bb b/packages/linux/openmoko-msm_git.bb new file mode 100644 index 0000000..eab29db --- /dev/null +++ b/packages/linux/openmoko-msm_git.bb @@ -0,0 +1,11 @@ +require linux.inc + +PV = "2.6.29" +PR = "r1" + +COMPATIBLE_MACHINE = "htcdream" + +SRC_URI = "http://ftp.o2s.ch/pub/openmoko-msm-2.6.29.tar.bz2" + +S = "${WORKDIR}" +
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ devel mailing list devel@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/devel