#!/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 ## Set TARGET_CPU_VARIANT and TARGET_2ND_CPU_VARIANT, ## and integrated tests ## http://android-review.linaro.org/17155 apply --linaro device/linaro/hikey 17155/2 ## enabling kernel compilation, etc ## https://android-review.linaro.org/#/c/16834/ apply --linaro device/linaro/hikey 16834/3 ## revert to have default serialno revert device/linaro/hikey 128d7e6340d693af53bdecac28fd97d3ae8695ee ## revert changes for using internal fat16copy revert device/linaro/hikey fcfe2d6ac00539f2d4cf77295503c0d285ee8170