summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Yi <byi@google.com>2018-07-09 11:08:53 -0700
committerBill Yi <byi@google.com>2018-07-09 11:08:53 -0700
commit728bc331813e0931ed1c1394229fad9ded00e76f (patch)
treebc89284c3fe47bcef9999ea2e7b7ccc7427dbf34
parentdaf5fd599d02bed1442f488a879471837770cd9b (diff)
downloadcommon-728bc331813e0931ed1c1394229fad9ded00e76f.tar.gz
Add B1C1 to the common scripts.
B1C1 has similar design structure with M/S TEST:Generated blobs. Make. Flashed devices BUG:79531050 Change-Id: I090d9c2f1c3b0de29c71e452b81ddca548f7d48c
-rwxr-xr-xgenerate-packages.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/generate-packages.sh b/generate-packages.sh
index 5b18aa6..2f3e9c3 100755
--- a/generate-packages.sh
+++ b/generate-packages.sh
@@ -42,7 +42,7 @@ do
FILEDIR_ROOT=tmp/vendor/$MANUFACTURER/$ROOTDEVICE
case ${ROOTDEVICE} in
- dragon|marlin|sailfish|taimen|walleye)
+ dragon|marlin|sailfish|taimen|walleye|crosshatch|blueline)
FILEDIR_ROOT=tmp/vendor/${MANUFACTURER}_devices/$ROOTDEVICE ;;
hikey960)
FILEDIR=tmp/vendor/linaro/$DEVICE/$COMPANY/proprietary
@@ -166,6 +166,16 @@ do
# Move device-vendor-walleye.mk under muskie directory so that it can be
# inherited by device/google/muskie/aosp_walleye.mk
mv ${FILEDIR_ROOT}/proprietary/device-vendor-walleye.mk ${FILEDIR_ROOT_SHARE}
+ elif [[ ${ROOTDEVICE} == blueline ]]
+ then
+ FILEDIR_ROOT_SHARE=tmp/vendor/${MANUFACTURER}_devices/crosshatch/proprietary
+ mkdir -p ${FILEDIR_ROOT_SHARE}
+
+ # blueline shares BoardConfigVendor.mk with its neph' crosshatch
+ mv ${FILEDIR_ROOT}/proprietary/BoardConfigVendor.mk ${FILEDIR_ROOT_SHARE}
+ # Move device-vendor-blueline.mk under crosshatch directory so that it can
+ # be inherited by device/google/crosshatch/aosp_blueline.mk
+ mv ${FILEDIR_ROOT}/proprietary/device-vendor.mk ${FILEDIR_ROOT_SHARE}
fi
echo \ \ Generating self-extracting script