blob: 637cd0a79609f32cbd049702ac99a3ce79b0fa39 [file] [log] [blame]
Amit Pundir4e375822019-04-18 16:46:10 +05301#
2# Copyright (C) 2011 The Android Open-Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17# setup dalvik vm configs
18$(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
19
Amit Pundirfbd3fbb2021-11-18 14:59:17 +053020include $(LOCAL_PATH)/../vendor-package-ver.mk
Amit Pundirdd5bd1b2020-12-22 13:46:24 +053021ifeq ($(TARGET_USES_BOOT_HDR_V3), true)
22$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
23else
Amit Pundir44f39902021-01-12 16:45:02 +053024$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
Amit Pundirdd5bd1b2020-12-22 13:46:24 +053025endif
Amit Pundir44f39902021-01-12 16:45:02 +053026
Amit Pundir4e375822019-04-18 16:46:10 +053027# Build generic Audio HAL
Yongqin Liue4958152023-01-16 09:52:02 +080028PRODUCT_PACKAGES += audio.primary.db845c
Amit Pundir3a69c9b2019-04-18 17:15:30 +053029
Yongqin Liuaf86a2d2020-10-21 10:24:53 +080030# BootControl HAL
31PRODUCT_PACKAGES += \
John Stultze4b2cbd2021-07-02 21:23:59 +000032 android.hardware.boot@1.2-impl \
33 android.hardware.boot@1.2-impl.recovery \
34 android.hardware.boot@1.2-service
Yongqin Liuaf86a2d2020-10-21 10:24:53 +080035
Amit Pundirc0ad8942021-12-14 19:45:56 +053036# Install scripts to set vendor.* properties
John Stultz590ccad2020-02-26 20:23:14 +000037PRODUCT_COPY_FILES += \
Amit Pundirc0ad8942021-12-14 19:45:56 +053038 device/linaro/dragonboard/qcom/set_hw.sh:$(TARGET_COPY_OUT_VENDOR)/bin/set_hw.sh \
Amit Pundirb192c972021-11-18 14:22:47 +053039 device/linaro/dragonboard/qcom/set_udc.sh:$(TARGET_COPY_OUT_VENDOR)/bin/set_udc.sh
John Stultz590ccad2020-02-26 20:23:14 +000040
Amit Pundir7cc6a2d2020-04-23 21:39:03 +053041# Install scripts to set Ethernet MAC address
42PRODUCT_COPY_FILES += \
43 $(LOCAL_PATH)/eth_mac_addr.rc:/system/etc/init/eth_mac_addr.rc \
44 $(LOCAL_PATH)/eth_mac_addr.sh:/system/bin/eth_mac_addr.sh
45
Will McVickerfaa63a32021-04-06 10:50:27 -070046PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Qualcomm
47PRODUCT_VENDOR_PROPERTIES += ro.soc.model=SDM845
48
Amit Pundir1043dd62021-06-23 00:16:49 +053049PRODUCT_PROPERTY_OVERRIDES += ro.sf.lcd_density=160
50
Amit Pundir3a69c9b2019-04-18 17:15:30 +053051# Copy firmware files
Amit Pundirfbd3fbb2021-11-18 14:59:17 +053052$(call inherit-product-if-exists, vendor/linaro/db845c/$(EXPECTED_LINARO_VENDOR_VERSION)/device.mk)
Amit Pundirc0ad8942021-12-14 19:45:56 +053053$(call inherit-product-if-exists, vendor/linaro/rb5/$(EXPECTED_LINARO_VENDOR_VERSION)/device.mk)
Peter Collingbournee8b96e32022-02-02 11:38:11 -080054
55TARGET_HARDWARE := db845c
Amit Pundir7652f472023-06-07 23:21:18 +053056TARGET_KERNEL_USE ?= 6.1
Peter Collingbournee8b96e32022-02-02 11:38:11 -080057
58include device/linaro/dragonboard/device-common.mk