summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2023-10-20 22:02:19 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2023-10-20 22:02:19 +0800
commitc12e0364354962631864cfd7b940072c3c513e11 (patch)
treeff630235568803664a2084341044649a4f56c328
parent6eb72b3c65ca8d6bb10681300a6edeb658cca00f (diff)
downloadandroid-patchsets-master.tar.gz
db845c-android14-workarounds: temporary place for workaroundsHEADmaster
before merged into aosp Change-Id: I289f99a1781821589d267fa33ee68a438fc14ba3 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rwxr-xr-xdb845c-android14-workarounds23
1 files changed, 23 insertions, 0 deletions
diff --git a/db845c-android14-workarounds b/db845c-android14-workarounds
new file mode 100755
index 0000000..1fabf30
--- /dev/null
+++ b/db845c-android14-workarounds
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+. $(dirname $0)/functions
+
+PATCHES=0
+if [ -n "$1" ]; then
+ AOSP="$1"
+else
+ AOSP="`pwd`"
+fi
+
+if ! [ -d "$AOSP" ] && ! [ -d "$AOSP/bionic" ] && [ -d "$AOSP"/build ]; then
+ echo "This script must be run from the AOSP source directory"
+ echo "or with the AOSP source directory as its first parameter."
+ exit 1
+fi
+
+#######################################################
+## workaround for linaro work ######
+#######################################################
+## graphics: mesa: Add ro.hardware.egl=mesa
+## https://android-review.googlesource.com/c/device/linaro/dragonboard/+/2795802
+apply --local device/linaro/dragonboard --remote device/linaro/dragonboard 2795802/1