mirror of
https://github.com/Evolution-X-Devices/device_google_taimen
synced 2026-02-01 07:33:15 +00:00
The following configuration files need to reside in vendor partition to work with generic AOSP system image. Move uevent.*.rc to /vendor Move fstab.* to /vendor/etc Move init.*.rc and init.wahoo.usb.rc to /vendor/etc/init. Also the following two make file variables need to be set: - BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true - PRODUCT_ENFORCE_RRO_TARGETS := framework-res Comment out "import init.wahoo.usb.sh" in init.taimen.usb.rc since /init will load all rc files under /vendor/etc/init. Bug: 37927875 Test: These files are under /vendor instead of / or /system, path in init.taimen.usb.rc is changed to vendor accordingly. Change-Id: I79e41aeb13d284816ab7a2b4bde3ce8375863160
77 lines
2.6 KiB
Makefile
77 lines
2.6 KiB
Makefile
#
|
|
# Copyright 2017 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.
|
|
#
|
|
|
|
PRODUCT_AAPT_CONFIG := normal
|
|
PRODUCT_AAPT_PREF_CONFIG := 560dpi
|
|
PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi
|
|
|
|
PRODUCT_HARDWARE := taimen
|
|
|
|
# DEVICE_PACKAGE_OVERLAYS for the device should be before
|
|
# including common overlays since the one listed first
|
|
# takes precedence.
|
|
ifdef DEVICE_PACKAGE_OVERLAYS
|
|
$(warning Overlays defined in '$(DEVICE_PACKAGE_OVERLAYS)' will override '$(PRODUCT_HARDWARE)' overlays)
|
|
endif
|
|
DEVICE_PACKAGE_OVERLAYS += device/google/taimen/overlay
|
|
|
|
include device/google/wahoo/device.mk
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
device/google/taimen/init-taimen.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init-$(PRODUCT_HARDWARE).rc \
|
|
device/google/taimen/init.taimen.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.$(PRODUCT_HARDWARE).usb.rc
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.sf.lcd_density=560 \
|
|
|
|
# Kernel Modules Config
|
|
PRODUCT_COPY_FILES += \
|
|
device/google/taimen/init.insmod.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.cfg
|
|
|
|
# Logging
|
|
PRODUCT_COPY_FILES += \
|
|
device/google/taimen/init.logging.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.$(PRODUCT_HARDWARE).logging.rc
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
device/google/taimen/nfc/libnfc-nxp.taimen.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
device/google/taimen/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf \
|
|
device/google/taimen/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-vr.conf
|
|
|
|
# Audio
|
|
PRODUCT_COPY_FILES += \
|
|
device/google/taimen/mixer_paths_tavil.xml:system/etc/mixer_paths_tavil_taimen.xml \
|
|
device/google/taimen/audio_platform_info_tavil.xml:system/etc/audio_platform_info_tavil_taimen.xml
|
|
|
|
# Wifi configuration file
|
|
PRODUCT_COPY_FILES += \
|
|
device/google/taimen/WCNSS_qcom_cfg.ini:system/etc/firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini
|
|
|
|
# verity
|
|
AB_OTA_PARTITIONS += \
|
|
vbmeta
|
|
|
|
# Enable modem logging
|
|
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
persist.sys.modem.diag.mdlog=true \
|
|
ro.radio.log_loc="/data/vendor/modem_dump" \
|
|
ro.radio.log_prefix="modem_log_"
|
|
endif
|
|
|