land: Use DEVICE_PATH for tree reference

Since we define it, let's use it.

Change-Id: I975118f844d5d7e47869d0142faae8fc59790481
This commit is contained in:
Zhao Wei Liew 2016-02-12 19:01:22 +08:00 committed by Darshan Manjrekar
parent e00a275fdc
commit 6ce696413a
5 changed files with 28 additions and 28 deletions

View file

@ -14,15 +14,15 @@
# limitations under the License.
#
DEVICE_PATH := $(LOCAL_PATH)
DEVICE_PATH := device/xiaomi/land
# Overlay
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-lineage
$(DEVICE_PATH)/overlay \
$(DEVICE_PATH)/overlay-lineage
# Include device-specific product fragments
include $(LOCAL_PATH)/product/*.mk
include $(DEVICE_PATH)/product/*.mk
# Inherit proprietary files
$(call inherit-product-if-exists, vendor/xiaomi/land/land-vendor.mk)

View file

@ -1,3 +1,3 @@
# IRQ
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

View file

@ -16,18 +16,18 @@ PRODUCT_PACKAGES += \
# Audio configuration
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \
$(LOCAL_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 \
$(LOCAL_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 \
$(LOCAL_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 \
$(LOCAL_PATH)/audio/aanc_tuning_mixer.txt:system/etc/aanc_tuning_mixer.txt
$(DEVICE_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \
$(DEVICE_PATH)/audio/audio_output_policy.conf:system/vendor/etc/audio_output_policy.conf \
$(DEVICE_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf \
$(DEVICE_PATH)/audio/mixer_paths_qrd_sku1.xml:system/etc/mixer_paths_qrd_sku1.xml \
$(DEVICE_PATH)/audio/sound_trigger_mixer_paths.xml:system/etc/sound_trigger_mixer_paths.xml \
$(DEVICE_PATH)/audio/sound_trigger_platform_info.xml:system/etc/sound_trigger_platform_info.xml \
$(DEVICE_PATH)/audio/audio_platform_info.xml:system/etc/audio_platform_info.xml \
$(DEVICE_PATH)/audio/aanc_tuning_mixer.txt:system/etc/aanc_tuning_mixer.txt
# XML Audio configuration 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/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 \

View file

@ -8,12 +8,12 @@ PRODUCT_BOOT_JARS += \
com.qti.location.sdk
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/gps/etc/flp.conf:system/etc/flp.conf \
$(LOCAL_PATH)/gps/etc/gps.conf:system/etc/gps.conf \
$(LOCAL_PATH)/gps/etc/izat.conf:system/etc/izat.conf \
$(LOCAL_PATH)/gps/etc/lowi.conf:system/etc/lowi.conf \
$(LOCAL_PATH)/gps/etc/sap.conf:system/etc/sap.conf \
$(LOCAL_PATH)/gps/etc/xtwifi.conf:system/etc/xtwifi.conf
$(DEVICE_PATH)/gps/etc/flp.conf:system/etc/flp.conf \
$(DEVICE_PATH)/gps/etc/gps.conf:system/etc/gps.conf \
$(DEVICE_PATH)/gps/etc/izat.conf:system/etc/izat.conf \
$(DEVICE_PATH)/gps/etc/lowi.conf:system/etc/lowi.conf \
$(DEVICE_PATH)/gps/etc/sap.conf:system/etc/sap.conf \
$(DEVICE_PATH)/gps/etc/xtwifi.conf:system/etc/xtwifi.conf
# Permissions
PRODUCT_COPY_FILES += \

View file

@ -17,13 +17,13 @@ PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface=wlan0
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/wifi/hostapd.accept:system/etc/hostapd/hostapd.accept \
$(LOCAL_PATH)/wifi/hostapd_default.conf:system/etc/hostapd/hostapd_default.conf \
$(LOCAL_PATH)/wifi/hostapd.deny:system/etc/hostapd/hostapd.deny \
$(LOCAL_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/hostapd.accept:system/etc/hostapd/hostapd.accept \
$(DEVICE_PATH)/wifi/hostapd_default.conf:system/etc/hostapd/hostapd_default.conf \
$(DEVICE_PATH)/wifi/hostapd.deny:system/etc/hostapd/hostapd.deny \
$(DEVICE_PATH)/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \
$(DEVICE_PATH)/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/wifi/fstman.ini:system/etc/wifi/fstman.ini \
$(LOCAL_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/fstman.ini:system/etc/wifi/fstman.ini \
$(DEVICE_PATH)/wifi/firmware/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \
$(DEVICE_PATH)/wifi/firmware/WCNSS_qcom_cfg.ini:system/etc/wifi/WCNSS_qcom_cfg.ini