summaryrefslogtreecommitdiff
path: root/x15-master-workarounds
blob: 5f6a5c057035bbc9bffee15986f3490602d7808a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/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 TI projects
######################################################
## x15: add support for the 5.X kernel
## https://android-review.googlesource.com/c/device/ti/beagle-x15/+/1811278
apply --local device/ti/beagle_x15 --remote device/ti/beagle-x15 1811278/4

## beagle_x15: Enabled video playback
## https://android-review.googlesource.com/c/device/ti/beagle-x15/+/1919397
apply --local device/ti/beagle_x15 --remote device/ti/beagle-x15 1919397/6
## beagle_x15: Adding Audio HAL support
## https://android-review.googlesource.com/c/device/ti/beagle-x15/+/1919398
apply --local device/ti/beagle_x15 --remote device/ti/beagle-x15 1919398/5
## beagle_x15: fix settings for soundtrigger
## https://android-review.googlesource.com/c/device/ti/beagle-x15/+/1919399
apply --local device/ti/beagle_x15 --remote device/ti/beagle-x15 1919399/3

## x15: initial setup to enable webcamera
## https://android-review.googlesource.com/c/device/ti/beagle-x15/+/1923497
apply --local device/ti/beagle_x15 --remote device/ti/beagle-x15 1923497/4