summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@lineageos.org>2020-04-25 19:59:43 +0800
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 02:24:07 +0300
commit66c44aa59187ffba7bbc692a1a7f68673a6f606b (patch)
tree55c4ed338a021326e67eed8b0fd7ada82f55f329
parent13ffd7871294a45b4f92f362dc8314e8fef8fd7a (diff)
sdm660-common: Fix generated soong namespace for wayne-common
Change-Id: I0dbe909051e958f38ee6671cc72419c52b4e6db9
-rwxr-xr-xsetup-makefiles.sh4
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