diff options
Diffstat (limited to 'rb5/device.mk')
-rw-r--r-- | rb5/device.mk | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/rb5/device.mk b/rb5/device.mk new file mode 100644 index 0000000..8fc29a5 --- /dev/null +++ b/rb5/device.mk @@ -0,0 +1,54 @@ +# +# Copyright (C) 2011 The Android Open-Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# setup dalvik vm configs +$(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk) + +include $(LOCAL_PATH)/../vendor-package-ver.mk + +$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk) + +PRODUCT_COPY_FILES := \ + $(LOCAL_PATH)/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \ + +# Build generic Audio HAL +PRODUCT_PACKAGES := audio.primary.rb5 + +# BootControl HAL +PRODUCT_PACKAGES += \ + android.hardware.boot@1.2-impl \ + android.hardware.boot@1.2-impl.recovery \ + android.hardware.boot@1.2-service + +# Install scripts to set vendor.* properties +PRODUCT_COPY_FILES += \ + device/linaro/dragonboard/qcom/set_hw.sh:$(TARGET_COPY_OUT_VENDOR)/bin/set_hw.sh + +PRODUCT_VENDOR_PROPERTIES += ro.soc.manufacturer=Qualcomm +PRODUCT_VENDOR_PROPERTIES += ro.soc.model=QRB5165 + +PRODUCT_PROPERTY_OVERRIDES += ro.sf.lcd_density=160 + +# Copy firmware files +$(call inherit-product-if-exists, vendor/linaro/rb5/$(EXPECTED_LINARO_VENDOR_VERSION)/device.mk) + +TARGET_DTB := qrb5165-rb5.dtb +TARGET_HARDWARE := rb5 +TARGET_KERNEL_USE ?= 5.15 + +include device/linaro/dragonboard/device-common.mk + +PRODUCT_COPY_FILES += $(TARGET_KERNEL_DIR)/qrb5165-rb5.dtb:dtb.img |