Amit Pundir | e4ca84a | 2021-05-26 14:30:57 +0530 | [diff] [blame] | 1 | # |
| 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 Pundir | e4ca84a | 2021-05-26 14:30:57 +0530 | [diff] [blame] | 17 | # setup dalvik vm configs |
| 18 | $(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk) |
| 19 | |
Amit Pundir | fbd3fbb | 2021-11-18 14:59:17 +0530 | [diff] [blame] | 20 | include $(LOCAL_PATH)/../vendor-package-ver.mk |
| 21 | |
Amit Pundir | e4ca84a | 2021-05-26 14:30:57 +0530 | [diff] [blame] | 22 | $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk) |
| 23 | |
Amit Pundir | b027405 | 2023-07-24 12:50:45 +0530 | [diff] [blame] | 24 | # dlkm_loader |
| 25 | include device/linaro/dragonboard/shared/utils/dlkm_loader/device.mk |
| 26 | |
Amit Pundir | e4ca84a | 2021-05-26 14:30:57 +0530 | [diff] [blame] | 27 | PRODUCT_COPY_FILES := \ |
Amit Pundir | e4ca84a | 2021-05-26 14:30:57 +0530 | [diff] [blame] | 28 | $(LOCAL_PATH)/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \ |
Amit Pundir | b027405 | 2023-07-24 12:50:45 +0530 | [diff] [blame] | 29 | device/linaro/dragonboard/shared/utils/dlkm_loader/dlkm_loader.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/dlkm_loader.rc |
Amit Pundir | e4ca84a | 2021-05-26 14:30:57 +0530 | [diff] [blame] | 30 | |
| 31 | # Build generic Audio HAL |
Yongqin Liu | e495815 | 2023-01-16 09:52:02 +0800 | [diff] [blame] | 32 | PRODUCT_PACKAGES += audio.primary.rb5 |
Amit Pundir | e4ca84a | 2021-05-26 14:30:57 +0530 | [diff] [blame] | 33 | |
| 34 | # BootControl HAL |
| 35 | PRODUCT_PACKAGES += \ |
| 36 | android.hardware.boot@1.2-impl \ |
| 37 | android.hardware.boot@1.2-impl.recovery \ |
| 38 | android.hardware.boot@1.2-service |
| 39 | |
Stephan Gerhold | f70f12a | 2019-01-30 11:15:34 +0100 | [diff] [blame] | 40 | # Set BT address |
| 41 | PRODUCT_PACKAGES += bdaddr |
| 42 | |
| 43 | # Install bdaddr script |
| 44 | PRODUCT_COPY_FILES += \ |
| 45 | device/linaro/dragonboard/shared/utils/bdaddr/set_bdaddr.sh:$(TARGET_COPY_OUT_VENDOR)/bin/set_bdaddr.sh |
| 46 | |
Amit Pundir | 0ff5e9f | 2022-02-17 23:44:54 +0530 | [diff] [blame] | 47 | # Install scripts to set vendor.* properties |
| 48 | PRODUCT_COPY_FILES += \ |
Amit Pundir | 547ae5f | 2023-07-12 00:10:27 +0530 | [diff] [blame] | 49 | device/linaro/dragonboard/shared/utils/set_hw.sh:$(TARGET_COPY_OUT_VENDOR)/bin/set_hw.sh |
Amit Pundir | 0ff5e9f | 2022-02-17 23:44:54 +0530 | [diff] [blame] | 50 | |
Amit Pundir | a961f04 | 2023-09-01 12:34:39 +0530 | [diff] [blame] | 51 | # Install scripts to set Ethernet MAC address |
| 52 | PRODUCT_COPY_FILES += \ |
| 53 | device/linaro/dragonboard/shared/utils/ethaddr/ethaddr.rc:/system/etc/init/ethaddr.rc \ |
| 54 | device/linaro/dragonboard/shared/utils/ethaddr/set_ethaddr.sh:/system/bin/set_ethaddr.sh |
| 55 | |
Amit Pundir | e4ca84a | 2021-05-26 14:30:57 +0530 | [diff] [blame] | 56 | PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Qualcomm |
| 57 | PRODUCT_VENDOR_PROPERTIES += ro.soc.model=QRB5165 |
| 58 | |
| 59 | PRODUCT_PROPERTY_OVERRIDES += ro.sf.lcd_density=160 |
| 60 | |
| 61 | # Copy firmware files |
Amit Pundir | fbd3fbb | 2021-11-18 14:59:17 +0530 | [diff] [blame] | 62 | $(call inherit-product-if-exists, vendor/linaro/rb5/$(EXPECTED_LINARO_VENDOR_VERSION)/device.mk) |
Peter Collingbourne | e8b96e3 | 2022-02-02 11:38:11 -0800 | [diff] [blame] | 63 | |
| 64 | TARGET_DTB := qrb5165-rb5.dtb |
| 65 | TARGET_HARDWARE := rb5 |
Amit Pundir | 7652f47 | 2023-06-07 23:21:18 +0530 | [diff] [blame] | 66 | TARGET_KERNEL_USE ?= 6.1 |
Peter Collingbourne | e8b96e3 | 2022-02-02 11:38:11 -0800 | [diff] [blame] | 67 | |
| 68 | include device/linaro/dragonboard/device-common.mk |
| 69 | |
| 70 | PRODUCT_COPY_FILES += $(TARGET_KERNEL_DIR)/qrb5165-rb5.dtb:dtb.img |