diff options
-rwxr-xr-x | setup-makefiles.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/setup-makefiles.sh b/setup-makefiles.sh index bacfe9a..70db958 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -47,6 +47,8 @@ write_makefiles "$MY_DIR"/proprietary-files.txt true write_footers if [ -s "$MY_DIR"/../$DEVICE_SPECIFIED_COMMON/proprietary-files.txt ]; then + DEVICE_COMMON=$DEVICE_SPECIFIED_COMMON + # Reinitialize the helper for device specified common INITIAL_COPYRIGHT_YEAR="$DEVICE_BRINGUP_YEAR" setup_vendor "$DEVICE_SPECIFIED_COMMON" "$VENDOR" "$LINEAGE_ROOT" true @@ -59,6 +61,8 @@ if [ -s "$MY_DIR"/../$DEVICE_SPECIFIED_COMMON/proprietary-files.txt ]; then # We are done! write_footers + + DEVICE_COMMON=sdm660-common fi if [ -s "$MY_DIR"/../$DEVICE/proprietary-files.txt ]; then |