#!/bin/bash . $(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 ###### ####################################################### ## hikey/hikey960: Update vendor-package to 20230302 release ## https://android-review.googlesource.com/c/device/linaro/hikey/+/2470802 apply device/linaro/hikey 2470802/1 ## hikey960: add link for mainline kernel build instructions ## https://android-review.googlesource.com/c/device/linaro/hikey/+/2487455 apply device/linaro/hikey 2487455/3