mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_polaris
synced 2026-01-27 18:40:05 +00:00
24 lines
471 B
Bash
Executable File
24 lines
471 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Copyright (C) 2018-2019 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# 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
|
|
|
|
# Required!
|
|
export DEVICE=polaris
|
|
export DEVICE_COMMON=sdm845-common
|
|
export VENDOR=xiaomi
|
|
|
|
export DEVICE_BRINGUP_YEAR=2018
|
|
|
|
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
|