summaryrefslogtreecommitdiff
path: root/hikey-m-workarounds
blob: 2b9326858208ba4331d2a698555f6b6ce408c284 (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
#!/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   ###################
##################################################
## Linaro patch for development based on the AOSP master branch
## revert hack for dhcpcd_eth0 service
revert device/linaro/hikey 4c1238443cce2a0c0a689ab60d09f2df2a0500c7

## patches for kernel compilation based on the AOSP master branch
## https://android-review.linaro.org/#/c/16834/
apply --linaro device/linaro/hikey 16834/3