Amit Pundir | 4e37582 | 2019-04-18 16:46:10 +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 | d477f82 | 2020-02-07 22:26:08 +0530 | [diff] [blame] | 17 | PRODUCT_SOONG_NAMESPACES += \ |
| 18 | device/linaro/dragonboard |
| 19 | |
Amit Pundir | 4e37582 | 2019-04-18 16:46:10 +0530 | [diff] [blame] | 20 | # setup dalvik vm configs |
| 21 | $(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk) |
| 22 | |
| 23 | PRODUCT_COPY_FILES := \ |
John Stultz | f36354e | 2020-01-14 00:10:06 +0000 | [diff] [blame] | 24 | $(DB845C_KERNEL_DIR)/Image.gz:kernel \ |
| 25 | $(DB845C_KERNEL_DIR)/sdm845-db845c.dtb:dtb.img \ |
John Stultz | e53665e | 2020-10-06 05:33:49 +0000 | [diff] [blame] | 26 | device/linaro/dragonboard/fstab.common:$(TARGET_COPY_OUT_RAMDISK)/fstab.db845c \ |
Yongqin Liu | bbb804e | 2020-04-21 17:52:44 +0800 | [diff] [blame] | 27 | device/linaro/dragonboard/fstab.common:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.db845c \ |
Amit Pundir | 4e37582 | 2019-04-18 16:46:10 +0530 | [diff] [blame] | 28 | device/linaro/dragonboard/init.common.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.db845c.rc \ |
| 29 | device/linaro/dragonboard/init.common.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.db845c.usb.rc \ |
| 30 | device/linaro/dragonboard/common.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/db845c.kl |
| 31 | |
| 32 | # Build generic Audio HAL |
| 33 | PRODUCT_PACKAGES := audio.primary.db845c |
Amit Pundir | 3a69c9b | 2019-04-18 17:15:30 +0530 | [diff] [blame] | 34 | |
Yongqin Liu | af86a2d | 2020-10-21 10:24:53 +0800 | [diff] [blame^] | 35 | # BootControl HAL |
| 36 | PRODUCT_PACKAGES += \ |
| 37 | android.hardware.boot@1.1-impl \ |
| 38 | android.hardware.boot@1.1-impl.recovery \ |
| 39 | android.hardware.boot@1.1-service |
| 40 | |
Amit Pundir | d477f82 | 2020-02-07 22:26:08 +0530 | [diff] [blame] | 41 | PRODUCT_PACKAGES += \ |
| 42 | pd-mapper \ |
Amit Pundir | ac5ab76 | 2020-07-09 10:43:01 +0530 | [diff] [blame] | 43 | qrtr-ns \ |
| 44 | qrtr-cfg \ |
Amit Pundir | d477f82 | 2020-02-07 22:26:08 +0530 | [diff] [blame] | 45 | qrtr-lookup \ |
| 46 | rmtfs \ |
| 47 | tqftpserv |
| 48 | |
John Stultz | 590ccad | 2020-02-26 20:23:14 +0000 | [diff] [blame] | 49 | PRODUCT_COPY_FILES += \ |
| 50 | device/linaro/dragonboard/qcom/init.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.qcom.rc |
| 51 | |
Amit Pundir | 7cc6a2d | 2020-04-23 21:39:03 +0530 | [diff] [blame] | 52 | # Install scripts to set Ethernet MAC address |
| 53 | PRODUCT_COPY_FILES += \ |
| 54 | $(LOCAL_PATH)/eth_mac_addr.rc:/system/etc/init/eth_mac_addr.rc \ |
| 55 | $(LOCAL_PATH)/eth_mac_addr.sh:/system/bin/eth_mac_addr.sh |
| 56 | |
Amit Pundir | 3a69c9b | 2019-04-18 17:15:30 +0530 | [diff] [blame] | 57 | # Copy firmware files |
| 58 | $(call inherit-product-if-exists, $(LOCAL_PATH)/firmware/device.mk) |