b0981200de
Change-Id: I7b290a9412bd11bb5577ce634a0291ffca40b283
30 lines
663 B
Bash
30 lines
663 B
Bash
#!/bin/bash
|
|
#
|
|
# Copyright (C) 2016 The CyanogenMod Project
|
|
# Copyright (C) 2017-2020 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
function vendor_imports() {
|
|
cat << EOF >> "$1"
|
|
"device/xiaomi/sm8450-common",
|
|
"hardware/qcom-caf/sm8450",
|
|
"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=zeus
|
|
export DEVICE_COMMON=sm8450-common
|
|
export VENDOR=xiaomi
|
|
|
|
"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"
|