summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Yi <byi@google.com>2017-07-17 13:21:45 -0700
committerBill Yi <byi@google.com>2017-07-17 13:21:45 -0700
commitbce5227e03a692d905d53af7b6232b17f9c34984 (patch)
tree37dfea29359e268f2fb260edff20458d864272a9
parentb9553d10aacb6203904c056dd7a58ae73fb7468e (diff)
downloaddevice_common-bce5227e03a692d905d53af7b6232b17f9c34984.tar.gz
device_common-bce5227e03a692d905d53af7b6232b17f9c34984.tar.bz2
device_common-bce5227e03a692d905d53af7b6232b17f9c34984.zip
Add taimen and walleye support to the common tooloreo-dr1-dev
BUG:36396200 Change-Id: I954bc88a6963e33890a415cbff8795d31b3b5f38
-rwxr-xr-xgenerate-packages.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/generate-packages.sh b/generate-packages.sh
index fcd5206..5935bca 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)
+ dragon|marlin|sailfish|taimen|walleye)
FILEDIR_ROOT=tmp/vendor/${MANUFACTURER}_devices/$ROOTDEVICE ;;
hikey960)
FILEDIR=tmp/vendor/linaro/$DEVICE/$COMPANY/proprietary
@@ -146,6 +146,16 @@ do
# Move device-vendor-sailfish.mk under marlin directory so that it can be
# inherited by device/google/marlin/aosp_sailfish.mk
mv ${FILEDIR_ROOT}/device-vendor-sailfish.mk ${FILEDIR_ROOT_SHARE}
+ elif [[ ${ROOTDEVICE} == walleye ]]
+ then
+ FILEDIR_ROOT_SHARE=tmp/vendor/${MANUFACTURER}_devices/muskie/proprietary
+ mkdir -p ${FILEDIR_ROOT_SHARE}
+
+ # walleye shares BoardConfigVendor.mk with its sis' muskie
+ mv ${FILEDIR_ROOT}/proprietary/BoardConfigVendor.mk ${FILEDIR_ROOT_SHARE}
+ # 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}
fi
echo \ \ Generating self-extracting script