blob: 71e61e18083446a09add8c77a7fbe1ae7ddcad0d [file] [log] [blame]
#!/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 ###################
##################################################
# get adb working at bootup
apply --linaro device/google/marlin 18439/1