-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
X00TD: Import Lineage's commmon extract_utils
Change-Id: I8c24385585a61dee232e59128f29f88ebdf7fdf3
- Loading branch information
1 parent
289fa89
commit b342f4c
Showing
2 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright (C) 2020 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=X00TD | ||
export DEVICE_COMMON=sdm660-common | ||
export VENDOR=asus | ||
|
||
export DEVICE_BRINGUP_YEAR=2020 | ||
|
||
"./../../${VENDOR}/${DEVICE_COMMON}/extract-files.sh" "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright (C) 2020 The LineageOS Project | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
|
||
set -e | ||
|
||
export DEVICE=X00TD | ||
export DEVICE_COMMON=sdm660-common | ||
export VENDOR=asus | ||
|
||
export DEVICE_BRINGUP_YEAR=2020 | ||
|
||
"./../../${VENDOR}/${DEVICE_COMMON}/setup-makefiles.sh" "$@" |