aboutsummaryrefslogtreecommitdiff
path: root/setup-makefiles.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup-makefiles.sh')
-rwxr-xr-xsetup-makefiles.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
index af91e75..7e65196 100755
--- a/setup-makefiles.sh
+++ b/setup-makefiles.sh
@@ -30,9 +30,9 @@ INITIAL_COPYRIGHT_YEAR=2017
MY_DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$MY_DIR" ]]; then MY_DIR="$PWD"; fi
-CM_ROOT="$MY_DIR"/../../..
+LINEAGE_ROOT="$MY_DIR"/../../..
-HELPER="$CM_ROOT"/vendor/cm/build/tools/extract_utils.sh
+HELPER="$LINEAGE_ROOT"/vendor/lineage/build/tools/extract_utils.sh
if [ ! -f "$HELPER" ]; then
echo "Unable to find helper script at $HELPER"
exit 1
@@ -40,7 +40,7 @@ fi
. "$HELPER"
# Initialize the helper for common
-setup_vendor "$DEVICE" "$VENDOR" "$CM_ROOT" true
+setup_vendor "$DEVICE" "$VENDOR" "$LINEAGE_ROOT" true
# Copyright headers and guards
write_headers "z2_plus"
@@ -54,7 +54,7 @@ write_footers
if [ -s "$MY_DIR"/../"$DEVICE"/proprietary-files.txt ]; then
# Reinitialize the helper for device
INITIAL_COPYRIGHT_YEAR="$DEVICE_BRINGUP_YEAR"
- setup_vendor "$DEVICE" "$VENDOR" "$CM_ROOT" false
+ setup_vendor "$DEVICE" "$VENDOR" "$LINEAGE_ROOT" false
# Copyright headers and guards
write_headers