alioth: Import Lineage's common extract_utils
Change-Id: Ibd03799669c925999b2baaef6f4411a168ec6063
This commit is contained in:
20
extract-files.sh
Executable file
20
extract-files.sh
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2021 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
|
||||
|
||||
export DEVICE=alioth
|
||||
export DEVICE_COMMON=sm8250-common
|
||||
export VENDOR=xiaomi
|
||||
|
||||
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@"
|
||||
14
setup-makefiles.sh
Executable file
14
setup-makefiles.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (C) 2021 The LineageOS Project
|
||||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
set -e
|
||||
|
||||
export DEVICE=alioth
|
||||
export DEVICE_COMMON=sm8250-common
|
||||
export VENDOR=xiaomi
|
||||
|
||||
"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@"
|
||||
Reference in New Issue
Block a user