summaryrefslogtreecommitdiff
path: root/AOSP-MASTER-LAVAHACK-PATCHSET
diff options
context:
space:
mode:
Diffstat (limited to 'AOSP-MASTER-LAVAHACK-PATCHSET')
-rwxr-xr-xAOSP-MASTER-LAVAHACK-PATCHSET20
1 files changed, 20 insertions, 0 deletions
diff --git a/AOSP-MASTER-LAVAHACK-PATCHSET b/AOSP-MASTER-LAVAHACK-PATCHSET
new file mode 100755
index 0000000..e87df81
--- /dev/null
+++ b/AOSP-MASTER-LAVAHACK-PATCHSET
@@ -0,0 +1,20 @@
+#!/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
+
+# hack for LAVA
+apply --linaro external/mksh 15922/1
+apply --linaro external/toybox 15924/1