summaryrefslogtreecommitdiff
path: root/db845c
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2022-02-02 11:38:11 -0800
committerPeter Collingbourne <pcc@google.com>2022-02-18 20:03:11 -0800
commite8b96e36869eae7f4bef8d6616429ad0c0d92d74 (patch)
treedf7f3d408a100cd3b0d3a314282d3451e8e2968f /db845c
parentc934188606b47f6041043d37fffbebbff9d00c0b (diff)
Factor out the full device configuration.
In an upcoming patch we are going to add "mini" device configurations that avoid most of the usual driver dependencies. This requires splitting out the device-specific configuration from the configuration required for a full device image. Bug: 217455793 Change-Id: Id17d162d142a2595e54e163f5faaf7dcf9b68e35
Diffstat (limited to 'db845c')
-rw-r--r--db845c/device.mk21
1 files changed, 5 insertions, 16 deletions
diff --git a/db845c/device.mk b/db845c/device.mk
index b8332a0..63e24a1 100644
--- a/db845c/device.mk
+++ b/db845c/device.mk
@@ -18,28 +18,12 @@
$(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
include $(LOCAL_PATH)/../vendor-package-ver.mk
-# Enable Virtual A/B
-AB_OTA_UPDATER := true
-AB_OTA_PARTITIONS += \
- product \
- system \
- system_ext \
- vendor
-
ifeq ($(TARGET_USES_BOOT_HDR_V3), true)
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
else
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
endif
-PRODUCT_COPY_FILES := \
- $(DB845C_KERNEL_DIR)/Image.gz:kernel \
- device/linaro/dragonboard/fstab.common:$(TARGET_COPY_OUT_RAMDISK)/fstab.db845c \
- device/linaro/dragonboard/fstab.common:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.db845c \
- device/linaro/dragonboard/init.common.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.db845c.rc \
- device/linaro/dragonboard/init.common.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.db845c.usb.rc \
- device/linaro/dragonboard/common.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/db845c.kl
-
# Build generic Audio HAL
PRODUCT_PACKAGES := audio.primary.db845c
@@ -67,3 +51,8 @@ PRODUCT_PROPERTY_OVERRIDES += ro.sf.lcd_density=160
# Copy firmware files
$(call inherit-product-if-exists, vendor/linaro/db845c/$(EXPECTED_LINARO_VENDOR_VERSION)/device.mk)
$(call inherit-product-if-exists, vendor/linaro/rb5/$(EXPECTED_LINARO_VENDOR_VERSION)/device.mk)
+
+TARGET_HARDWARE := db845c
+TARGET_KERNEL_USE ?= 5.15
+
+include device/linaro/dragonboard/device-common.mk