blob: 656b7aaa1b408bd6b26885ae753a89ab4d791f80 [file] [log] [blame]
Amit Pundire4ca84a2021-05-26 14:30:57 +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
Amit Pundire4ca84a2021-05-26 14:30:57 +053017# 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
21
Amit Pundire4ca84a2021-05-26 14:30:57 +053022$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
23
24PRODUCT_COPY_FILES := \
Amit Pundire4ca84a2021-05-26 14:30:57 +053025 $(LOCAL_PATH)/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
Amit Pundire4ca84a2021-05-26 14:30:57 +053026
27# Build generic Audio HAL
Yongqin Liue4958152023-01-16 09:52:02 +080028PRODUCT_PACKAGES += audio.primary.rb5
Amit Pundire4ca84a2021-05-26 14:30:57 +053029
30# BootControl HAL
31PRODUCT_PACKAGES += \
32 android.hardware.boot@1.2-impl \
33 android.hardware.boot@1.2-impl.recovery \
34 android.hardware.boot@1.2-service
35
Stephan Gerholdf70f12a2019-01-30 11:15:34 +010036# Set BT address
37PRODUCT_PACKAGES += bdaddr
38
39# Install bdaddr script
40PRODUCT_COPY_FILES += \
41 device/linaro/dragonboard/shared/utils/bdaddr/set_bdaddr.sh:$(TARGET_COPY_OUT_VENDOR)/bin/set_bdaddr.sh
42
Amit Pundir0ff5e9f2022-02-17 23:44:54 +053043# Install scripts to set vendor.* properties
44PRODUCT_COPY_FILES += \
Amit Pundir547ae5f2023-07-12 00:10:27 +053045 device/linaro/dragonboard/shared/utils/set_hw.sh:$(TARGET_COPY_OUT_VENDOR)/bin/set_hw.sh
Amit Pundir0ff5e9f2022-02-17 23:44:54 +053046
Amit Pundire4ca84a2021-05-26 14:30:57 +053047PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Qualcomm
48PRODUCT_VENDOR_PROPERTIES += ro.soc.model=QRB5165
49
50PRODUCT_PROPERTY_OVERRIDES += ro.sf.lcd_density=160
51
52# Copy firmware files
Amit Pundirfbd3fbb2021-11-18 14:59:17 +053053$(call inherit-product-if-exists, vendor/linaro/rb5/$(EXPECTED_LINARO_VENDOR_VERSION)/device.mk)
Peter Collingbournee8b96e32022-02-02 11:38:11 -080054
55TARGET_DTB := qrb5165-rb5.dtb
56TARGET_HARDWARE := rb5
Amit Pundir7652f472023-06-07 23:21:18 +053057TARGET_KERNEL_USE ?= 6.1
Peter Collingbournee8b96e32022-02-02 11:38:11 -080058
59include device/linaro/dragonboard/device-common.mk
60
61PRODUCT_COPY_FILES += $(TARGET_KERNEL_DIR)/qrb5165-rb5.dtb:dtb.img