summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Yi <byi@google.com>2018-07-10 09:47:22 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-07-10 09:47:22 -0700
commitfaaffc7d2a97cd2d722558e816ff3597794533dc (patch)
treefbb23a405454524297dcdfc66683822c7f0a9fe0
parent3638264ae1f2f23dff2f8a24107951c337d73011 (diff)
parent728bc331813e0931ed1c1394229fad9ded00e76f (diff)
downloaddevice_common-faaffc7d2a97cd2d722558e816ff3597794533dc.tar.gz
device_common-faaffc7d2a97cd2d722558e816ff3597794533dc.tar.bz2
device_common-faaffc7d2a97cd2d722558e816ff3597794533dc.zip
Add B1C1 to the common scripts.
am: 728bc33181 Change-Id: I878d72e9c5ce65934febc4f18ce07c38d0a2162c
-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