summaryrefslogtreecommitdiff
path: root/hikey-hikey960-common-q
blob: b2978cf09f6ccfd8e5cf13f08984b3aa38a011ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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                   ######
#######################################################
## HiKey960/HiKey: Enable kernel module loading
## https://android-review.googlesource.com/c/device/linaro/hikey/+/989223
cherrypick device/linaro/hikey 3d2ce4cd56552c0d2aa4abbe63e5b438ebf206a7