diff --git a/setup-makefiles.sh b/setup-makefiles.sh index aa5f710..738f0a7 100644 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -6,6 +6,21 @@ # SPDX-License-Identifier: Apache-2.0 # +function vendor_imports() { + cat << EOF >> "$1" + "device/xiaomi/sm8550-common", + "hardware/qcom-caf/sm8550", + "hardware/xiaomi", + "vendor/qcom/opensource/commonsys-intf/display", +EOF +} + +# If we're being sourced by the common script that we called, +# stop right here. No need to go down the rabbit hole. +if [ "${BASH_SOURCE[0]}" != "${0}" ]; then + return +fi + set -e export DEVICE=vermeer