Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add 32 linux patch

  • Loading branch information...
commit 7482ef548253e71ce6c467532ea476525e7c23da 1 parent bba44f5
River authored
26 0001-build-patch-for-32-linux.patch
View
@@ -0,0 +1,26 @@
+From c17215d49a836734226a3dbcb6e59b4cb52d2ae6 Mon Sep 17 00:00:00 2001
+From: River Zhou <riverzhou2000@gmail.com>
+Date: Thu, 11 Oct 2012 14:57:19 +0800
+Subject: [PATCH] build: patch for 32 linux
+
+Change-Id: If5eefeb294fea1df3d4d7f55db240cf515344913
+---
+ core/definitions.mk | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/core/definitions.mk b/core/definitions.mk
+index 9fe0a11..2750bed 100644
+--- a/core/definitions.mk
++++ b/core/definitions.mk
+@@ -1547,7 +1547,7 @@ define transform-classes.jar-to-dex
+ @echo "target Dex: $(PRIVATE_MODULE)"
+ @mkdir -p $(dir $@)
+ $(hide) $(DX) \
+- $(if $(findstring windows,$(HOST_OS)),,-JXms16M -JXmx2048M) \
++ $(if $(findstring windows,$(HOST_OS)),,-JXms16M -JXmx1024M) \
+ --dex --output=$@ \
+ $(incremental_dex) \
+ $(if $(NO_OPTIMIZE_DX), \
+--
+1.7.9.5
+
75 32_patch.sh
View
@@ -0,0 +1,75 @@
+#!/bin/sh
+
+cd build
+git checkout -f
+git clean -d -f
+git apply ../local/0001-build-add-TARGET_SPECIFIC_HEADER_PATH-for-device-own.patch
+cd ..
+
+cd bionic
+git checkout -f
+git clean -d -f
+git apply ../local/0001-bionic-libc-linaro-ARMv7-optimized-string-handling-r.patch
+git apply ../local/0002-bionic-libc-Aurora-NEON-optimized-memmove-bcopy.patch
+git apply ../local/0003-bionic-libm-linaro-proper-sincos-implementation.patch
+git apply ../local/0004-bionic-libm-Aurora-NEON-optimized-e_pow.patch
+cd ..
+
+cd external/skia
+git checkout -f
+git clean -d -f
+git apply ../../local/0001-skia-Handles-decoding-of-premature-jpeg-files.patch
+cd ../..
+
+cd frameworks/base/
+git checkout -f
+git clean -d -f
+git apply ../../local/0001-frameworks-base-services-fix-screenshot-rotation.patch
+git apply ../../local/0002-frameworks-base-services-screenshot-powerbutton.patch
+git apply ../../local/0003-frameworks-base-volume-SettingsView.patch
+git apply ../../local/0004-frameworks-base-TabletUI-mass-storage-notifcation.patch
+cd ../..
+
+cd frameworks/av/
+git checkout -f
+git clean -d -f
+git apply ../../local/0001-frameworks-av-OMAP3_AV_ENHANCE-add-by-river.patch
+cd ../..
+
+cd frameworks/native/
+git checkout -f
+git clean -d -f
+git apply ../../local/0001-frameworks-native-remove-NO_RGBX_8888-for-omap3.patch
+cd ../..
+
+cd hardware/libhardware_legacy/
+git checkout -f
+git clean -d -f
+git apply ../../local/0001-hardware-libhardware_legacy-ti_wifi_enhance.patch
+cd ../..
+
+cd packages/inputmethods/PinyinIME/
+git checkout -f
+git clean -d -f
+git apply ../../../local/0001-packages-inputmethods-PinYinIME-fix-proguard.patch
+cd ../../..
+
+cd system/core
+git checkout -f
+git clean -d -f
+git apply ../../local/0001-system-core-add-TARGET_HAS_CUSTOM_LIBION-flag.patch
+cd ../..
+
+cp -f local/superuser.pk8 build/target/product/security/
+cp -f local/superuser.x509.pem build/target/product/security/
+
+rm -rf system/extras/su
+
+cp -f local/gcc.32 prebuilts/tools/gcc-sdk/gcc
+
+cd build
+git checkout -f
+git clean -d -f
+git apply ../local/0001-build-patch-for-32-linux.patch
+cd ..
+
16 gcc.32
View
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+HOST_OS=`uname -s | tr '[:upper:]' '[:lower:]'`
+if [ "$HOST_OS" != "linux" ] ; then
+ echo "ERROR: The gcc this script points to can only run on linux"
+ exit 1
+fi
+
+PROGNAME=`basename $0`
+
+PREFIX32=../../gcc/linux-x86/host/i686-linux-glibc2.7-4.6/bin/i686-linux
+
+MY_TOOL=`dirname $0`/${PREFIX32}-${PROGNAME}
+
+$MY_TOOL "$@"
+
6 local_manifest.xml
View
@@ -1,9 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
- <remove-project name="platform/frameworks/base" />
-
- <project path="frameworks/base" name="0xD34D/android_frameworks_base" remote="github" revision="jb" />
+ <remove-project name="platform/external/qemu" />
+ <project name="CyanogenMod/android_external_qemu" path="external/qemu" remote="github" revision="jellybean" />
</manifest>
-
Please sign in to comment.
Something went wrong with that request. Please try again.