From d76a7e7f2d11b7a676f3f75e95b4b7b2aa6bfc60 Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Fri, 21 Jun 2019 22:53:11 +0530 Subject: [PATCH] Let the Pixel 3 and 3a co-exist with their bigger brothers --- scripts/generate-vendor.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/generate-vendor.sh b/scripts/generate-vendor.sh index b7c96a56..97466d01 100755 --- a/scripts/generate-vendor.sh +++ b/scripts/generate-vendor.sh @@ -1215,7 +1215,8 @@ update_vendor_blobs_mk "$BLOBS_LIST" # Generate device-vendor.mk makefile (will be updated later) echo "[*] Generating '$(basename "$DEVICE_VENDOR_MK")'" -echo -e "\$(call inherit-product, vendor/$VENDOR_DIR/$DEVICE/$DEVICE-vendor-blobs.mk)\n" >> "$DEVICE_VENDOR_MK" +echo -e "VENDOR_DEVICE := \$(TARGET_PRODUCT:aosp_%=%)" >> "$DEVICE_VENDOR_MK" +echo -e "\$(call inherit-product, vendor/$VENDOR_DIR/\$(VENDOR_DEVICE)/\$(VENDOR_DEVICE)-vendor-blobs.mk)\n" >> "$DEVICE_VENDOR_MK" # Append items listed in device vendor configuration file {