blob: 5cdd38d8362464d229f6c208a02d7646defcaef7 [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
23PRODUCT_COPY_FILES := \
John Stultzf36354e2020-01-14 00:10:06 +000024 $(DB845C_KERNEL_DIR)/Image.gz:kernel \
25 $(DB845C_KERNEL_DIR)/sdm845-db845c.dtb:dtb.img \
Amit Pundir4e375822019-04-18 16:46:10 +053026 device/linaro/dragonboard/fstab.ramdisk.common:$(TARGET_COPY_OUT_RAMDISK)/fstab.db845c \
27 device/linaro/dragonboard/fstab.ramdisk.common:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.db845c \
28 device/linaro/dragonboard/fstab.common:$(TARGET_COPY_OUT_VENDOR)/etc/init/fstab.db845c \
29 device/linaro/dragonboard/init.common.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.db845c.rc \
30 device/linaro/dragonboard/init.common.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.db845c.usb.rc \
31 device/linaro/dragonboard/common.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/db845c.kl
32
33# Build generic Audio HAL
34PRODUCT_PACKAGES := audio.primary.db845c
Amit Pundir3a69c9b2019-04-18 17:15:30 +053035
Amit Pundird477f822020-02-07 22:26:08 +053036PRODUCT_PACKAGES += \
37 pd-mapper \
38 qrtr-ns \
39 qrtr-cfg \
40 qrtr-lookup \
41 rmtfs \
42 tqftpserv
43
John Stultz590ccad2020-02-26 20:23:14 +000044PRODUCT_COPY_FILES += \
45 device/linaro/dragonboard/qcom/init.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.qcom.rc
46
Amit Pundir3a69c9b2019-04-18 17:15:30 +053047# Copy firmware files
48$(call inherit-product-if-exists, $(LOCAL_PATH)/firmware/device.mk)