* Copy from device/google/atv/Generic.kl at 8e49e4448fdced4816fc40d4e01f3f6e66e3c3db. Change-Id: I2aeb85d5bab319c7efda7d324042e319a447bb83
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2021-2023 KonstaKANG
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
DEVICE_PATH := device/brcm/rpi4
|
|
|
|
# Inherit device configuration
|
|
$(call inherit-product, device/brcm/rpi4/device.mk)
|
|
|
|
PRODUCT_AAPT_CONFIG := normal mdpi hdpi
|
|
PRODUCT_AAPT_PREF_CONFIG := hdpi
|
|
PRODUCT_CHARACTERISTICS := tablet,nosdcard
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
|
|
$(call enforce-product-packages-exist,com.android.ranging)
|
|
|
|
# Keylayout
|
|
PRODUCT_COPY_FILES += \
|
|
$(DEVICE_PATH)/keylayout/Generic.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/Generic.kl
|
|
|
|
# Overlays
|
|
PRODUCT_PACKAGES += \
|
|
AndroidRpiOverlay \
|
|
BluetoothRpiOverlay \
|
|
SettingsProviderRpiOverlay \
|
|
SettingsRpiOverlay \
|
|
SystemUIRpiOverlay \
|
|
WifiRpiOverlay
|
|
|
|
# Permissions
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/tablet_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/tablet_core_hardware.xml
|
|
|
|
# Device identifier. This must come after all inclusions.
|
|
PRODUCT_DEVICE := rpi4
|
|
PRODUCT_NAME := aosp_rpi4
|
|
PRODUCT_BRAND := Raspberry
|
|
PRODUCT_MODEL := Pi 4
|
|
PRODUCT_MANUFACTURER := Raspberry
|