From c0ad894bfadcce4be4778e1773aeb09f8f19ef47 Mon Sep 17 00:00:00 2001 From: Amit Pundir Date: Tue, 14 Dec 2021 19:45:56 +0530 Subject: db845c: Add rb5 support in db845c-userdebug build target * Enabled multiple appended DTBs support to allow db845c boot.img/vendor_boot.img to boot on rb5 as well. * Introduced a vendor.hw property which will be used to run device specific services. * Folded Caleb's HDMI audio routing fix. Signed-off-by: Amit Pundir Change-Id: I779d01946ae359d5c405d959419e29460083e5df --- db845c/device.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'db845c/device.mk') diff --git a/db845c/device.mk b/db845c/device.mk index c08bbc4..b8332a0 100644 --- a/db845c/device.mk +++ b/db845c/device.mk @@ -34,7 +34,6 @@ endif PRODUCT_COPY_FILES := \ $(DB845C_KERNEL_DIR)/Image.gz:kernel \ - $(DB845C_KERNEL_DIR)/sdm845-db845c.dtb:dtb.img \ 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 \ @@ -50,8 +49,9 @@ PRODUCT_PACKAGES += \ android.hardware.boot@1.2-impl.recovery \ android.hardware.boot@1.2-service -# Install script to set *.usb.controller properties +# Install scripts to set vendor.* properties PRODUCT_COPY_FILES += \ + device/linaro/dragonboard/qcom/set_hw.sh:$(TARGET_COPY_OUT_VENDOR)/bin/set_hw.sh \ device/linaro/dragonboard/qcom/set_udc.sh:$(TARGET_COPY_OUT_VENDOR)/bin/set_udc.sh # Install scripts to set Ethernet MAC address @@ -66,3 +66,4 @@ 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) -- cgit v1.2.3