blob: 0c2cbf9bd48b636f728c47ff25377540b5e0a932 [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
Amit Pundird477f822020-02-07 22:26:08 +053017PRODUCT_SOONG_NAMESPACES += \
18 device/linaro/dragonboard
19
Amit Pundir4e375822019-04-18 16:46:10 +053020# setup dalvik vm configs
21$(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
22
Amit Pundir44f39902021-01-12 16:45:02 +053023# Enable Virtual A/B
24AB_OTA_UPDATER := true
25AB_OTA_PARTITIONS += \
26 product \
27 system \
28 system_ext \
29 vendor
30
31$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
32
Amit Pundir4e375822019-04-18 16:46:10 +053033PRODUCT_COPY_FILES := \
John Stultzf36354e2020-01-14 00:10:06 +000034 $(DB845C_KERNEL_DIR)/Image.gz:kernel \
35 $(DB845C_KERNEL_DIR)/sdm845-db845c.dtb:dtb.img \
John Stultze53665e2020-10-06 05:33:49 +000036 device/linaro/dragonboard/fstab.common:$(TARGET_COPY_OUT_RAMDISK)/fstab.db845c \
Yongqin Liubbb804e2020-04-21 17:52:44 +080037 device/linaro/dragonboard/fstab.common:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.db845c \
Amit Pundir4e375822019-04-18 16:46:10 +053038 device/linaro/dragonboard/init.common.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.db845c.rc \
39 device/linaro/dragonboard/init.common.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.db845c.usb.rc \
40 device/linaro/dragonboard/common.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/db845c.kl
41
42# Build generic Audio HAL
43PRODUCT_PACKAGES := audio.primary.db845c
Amit Pundir3a69c9b2019-04-18 17:15:30 +053044
Yongqin Liuaf86a2d2020-10-21 10:24:53 +080045# BootControl HAL
46PRODUCT_PACKAGES += \
47 android.hardware.boot@1.1-impl \
48 android.hardware.boot@1.1-impl.recovery \
49 android.hardware.boot@1.1-service
50
Amit Pundird477f822020-02-07 22:26:08 +053051PRODUCT_PACKAGES += \
52 pd-mapper \
Amit Pundirac5ab762020-07-09 10:43:01 +053053 qrtr-ns \
54 qrtr-cfg \
Amit Pundird477f822020-02-07 22:26:08 +053055 qrtr-lookup \
56 rmtfs \
57 tqftpserv
58
John Stultz590ccad2020-02-26 20:23:14 +000059PRODUCT_COPY_FILES += \
60 device/linaro/dragonboard/qcom/init.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.qcom.rc
61
Amit Pundir7cc6a2d2020-04-23 21:39:03 +053062# Install scripts to set Ethernet MAC address
63PRODUCT_COPY_FILES += \
64 $(LOCAL_PATH)/eth_mac_addr.rc:/system/etc/init/eth_mac_addr.rc \
65 $(LOCAL_PATH)/eth_mac_addr.sh:/system/bin/eth_mac_addr.sh
66
Amit Pundir3a69c9b2019-04-18 17:15:30 +053067# Copy firmware files
68$(call inherit-product-if-exists, $(LOCAL_PATH)/firmware/device.mk)