summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2016-09-27 03:47:04 +0800
committerVishal Bhoj <vishal.bhoj@linaro.org>2016-10-19 10:40:24 +0530
commit340fbc21e758c76d8dba1430acd7d352ad6a3455 (patch)
treeb67de74068cb875c24e7284f46843a759415d06d
parent1cc02d244d2411614951420002b258b6f603a904 (diff)
downloadandroid-patchsets-340fbc21e758c76d8dba1430acd7d352ad6a3455.tar.gz
x15-n-workarounds: add patchset for x15 building
For libdrm conflict at the moment Change-Id: I07448e4a2b305adb7d8b997c0430086ee6530488 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rwxr-xr-xx15-n-workarounds29
1 files changed, 29 insertions, 0 deletions
diff --git a/x15-n-workarounds b/x15-n-workarounds
new file mode 100755
index 0000000..175ed01
--- /dev/null
+++ b/x15-n-workarounds
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+. $(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
+
+##################################################
+################ Linaro hack ###################
+##################################################
+## DRM patches for TI X15
+## https://android-review.linaro.org/#/c/17278
+## https://android-review.linaro.org/#/c/17279
+## https://android-review.linaro.org/#/c/17280
+## https://android-review.linaro.org/#/c/17281
+apply --linaro external/libdrm 17278/1
+apply --linaro external/libdrm 17279/1
+apply --linaro external/libdrm 17280/1
+apply --linaro external/libdrm 17281/1