summaryrefslogtreecommitdiff
path: root/hikey-p-workarounds
blob: ce0768965cffa522e561328882545929a182fbf2 (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
#!/bin/bash -e

. $(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                   ######
#######################################################
## enabling kernel compilation, etc
## enable kernel compilation for hikey build
##http://android-review.linaro.org/c/device/linaro/hikey/+/20387
apply --linaro device/linaro/hikey 20387/1

## hikey: gralloc: Add element to allow upstream drm_hwc to build w/ HiKey
## https://android-review.googlesource.com/c/device/linaro/hikey/+/915654
cherrypick device/linaro/hikey 91d8213c9233c8c37bd8a0e2259d4aebd4618512