land: Use DEVICE_PATH for tree reference
Since we define it, let's use it. Change-Id: I975118f844d5d7e47869d0142faae8fc59790481
This commit is contained in:
parent
e00a275fdc
commit
6ce696413a
5 changed files with 28 additions and 28 deletions
|
@ -14,15 +14,15 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
DEVICE_PATH := $(LOCAL_PATH)
|
DEVICE_PATH := device/xiaomi/land
|
||||||
|
|
||||||
# Overlay
|
# Overlay
|
||||||
DEVICE_PACKAGE_OVERLAYS += \
|
DEVICE_PACKAGE_OVERLAYS += \
|
||||||
$(LOCAL_PATH)/overlay \
|
$(DEVICE_PATH)/overlay \
|
||||||
$(LOCAL_PATH)/overlay-lineage
|
$(DEVICE_PATH)/overlay-lineage
|
||||||
|
|
||||||
# Include device-specific product fragments
|
# Include device-specific product fragments
|
||||||
include $(LOCAL_PATH)/product/*.mk
|
include $(DEVICE_PATH)/product/*.mk
|
||||||
|
|
||||||
# Inherit proprietary files
|
# Inherit proprietary files
|
||||||
$(call inherit-product-if-exists, vendor/xiaomi/land/land-vendor.mk)
|
$(call inherit-product-if-exists, vendor/xiaomi/land/land-vendor.mk)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# IRQ
|
# IRQ
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/configs/msm_irqbalance.conf:system/vendor/etc/msm_irqbalance.conf
|
$(DEVICE_PATH)/configs/msm_irqbalance.conf:system/vendor/etc/msm_irqbalance.conf
|
||||||
|
|
|
@ -16,18 +16,18 @@ PRODUCT_PACKAGES += \
|
||||||
|
|
||||||
# Audio configuration
|
# Audio configuration
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \
|
$(DEVICE_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \
|
||||||
$(LOCAL_PATH)/audio/audio_output_policy.conf:system/vendor/etc/audio_output_policy.conf \
|
$(DEVICE_PATH)/audio/audio_output_policy.conf:system/vendor/etc/audio_output_policy.conf \
|
||||||
$(LOCAL_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf \
|
$(DEVICE_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf \
|
||||||
$(LOCAL_PATH)/audio/mixer_paths_qrd_sku1.xml:system/etc/mixer_paths_qrd_sku1.xml \
|
$(DEVICE_PATH)/audio/mixer_paths_qrd_sku1.xml:system/etc/mixer_paths_qrd_sku1.xml \
|
||||||
$(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:system/etc/sound_trigger_mixer_paths.xml \
|
$(DEVICE_PATH)/audio/sound_trigger_mixer_paths.xml:system/etc/sound_trigger_mixer_paths.xml \
|
||||||
$(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:system/etc/sound_trigger_platform_info.xml \
|
$(DEVICE_PATH)/audio/sound_trigger_platform_info.xml:system/etc/sound_trigger_platform_info.xml \
|
||||||
$(LOCAL_PATH)/audio/audio_platform_info.xml:system/etc/audio_platform_info.xml \
|
$(DEVICE_PATH)/audio/audio_platform_info.xml:system/etc/audio_platform_info.xml \
|
||||||
$(LOCAL_PATH)/audio/aanc_tuning_mixer.txt:system/etc/aanc_tuning_mixer.txt
|
$(DEVICE_PATH)/audio/aanc_tuning_mixer.txt:system/etc/aanc_tuning_mixer.txt
|
||||||
|
|
||||||
# XML Audio configuration files
|
# XML Audio configuration files
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:system/etc/audio_policy_configuration.xml \
|
$(DEVICE_PATH)/audio/audio_policy_configuration.xml:system/etc/audio_policy_configuration.xml \
|
||||||
$(TOPDIR)frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:/system/etc/a2dp_audio_policy_configuration.xml \
|
$(TOPDIR)frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:/system/etc/a2dp_audio_policy_configuration.xml \
|
||||||
$(TOPDIR)frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:/system/etc/audio_policy_volumes.xml \
|
$(TOPDIR)frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:/system/etc/audio_policy_volumes.xml \
|
||||||
$(TOPDIR)frameworks/av/services/audiopolicy/config/default_volume_tables.xml:/system/etc/default_volume_tables.xml \
|
$(TOPDIR)frameworks/av/services/audiopolicy/config/default_volume_tables.xml:/system/etc/default_volume_tables.xml \
|
||||||
|
|
|
@ -8,12 +8,12 @@ PRODUCT_BOOT_JARS += \
|
||||||
com.qti.location.sdk
|
com.qti.location.sdk
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/gps/etc/flp.conf:system/etc/flp.conf \
|
$(DEVICE_PATH)/gps/etc/flp.conf:system/etc/flp.conf \
|
||||||
$(LOCAL_PATH)/gps/etc/gps.conf:system/etc/gps.conf \
|
$(DEVICE_PATH)/gps/etc/gps.conf:system/etc/gps.conf \
|
||||||
$(LOCAL_PATH)/gps/etc/izat.conf:system/etc/izat.conf \
|
$(DEVICE_PATH)/gps/etc/izat.conf:system/etc/izat.conf \
|
||||||
$(LOCAL_PATH)/gps/etc/lowi.conf:system/etc/lowi.conf \
|
$(DEVICE_PATH)/gps/etc/lowi.conf:system/etc/lowi.conf \
|
||||||
$(LOCAL_PATH)/gps/etc/sap.conf:system/etc/sap.conf \
|
$(DEVICE_PATH)/gps/etc/sap.conf:system/etc/sap.conf \
|
||||||
$(LOCAL_PATH)/gps/etc/xtwifi.conf:system/etc/xtwifi.conf
|
$(DEVICE_PATH)/gps/etc/xtwifi.conf:system/etc/xtwifi.conf
|
||||||
|
|
||||||
# Permissions
|
# Permissions
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
|
|
@ -17,13 +17,13 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
wifi.interface=wlan0
|
wifi.interface=wlan0
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/wifi/hostapd.accept:system/etc/hostapd/hostapd.accept \
|
$(DEVICE_PATH)/wifi/hostapd.accept:system/etc/hostapd/hostapd.accept \
|
||||||
$(LOCAL_PATH)/wifi/hostapd_default.conf:system/etc/hostapd/hostapd_default.conf \
|
$(DEVICE_PATH)/wifi/hostapd_default.conf:system/etc/hostapd/hostapd_default.conf \
|
||||||
$(LOCAL_PATH)/wifi/hostapd.deny:system/etc/hostapd/hostapd.deny \
|
$(DEVICE_PATH)/wifi/hostapd.deny:system/etc/hostapd/hostapd.deny \
|
||||||
$(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \
|
$(DEVICE_PATH)/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \
|
||||||
$(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf
|
$(DEVICE_PATH)/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/wifi/fstman.ini:system/etc/wifi/fstman.ini \
|
$(DEVICE_PATH)/wifi/fstman.ini:system/etc/wifi/fstman.ini \
|
||||||
$(LOCAL_PATH)/wifi/firmware/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \
|
$(DEVICE_PATH)/wifi/firmware/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \
|
||||||
$(LOCAL_PATH)/wifi/firmware/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini
|
$(DEVICE_PATH)/wifi/firmware/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini
|
||||||
|
|
Loading…
Reference in a new issue