Allow split system/vendor image configuration
Switch hardcoded system/vendor path to $(TARGET_COPY_OUT_VENDOR). For
direct loading of files in code, switch from /system/vendor to
/vendor - relying on /vendor symlink for compatibility.
Change-Id: I6bdf9894801a77c8f6ec63ae395561ee9de8bbe6
diff --git a/configs/msm8909/msm8909.mk b/configs/msm8909/msm8909.mk
index cfd71ef..40de6a4 100755
--- a/configs/msm8909/msm8909.mk
+++ b/configs/msm8909/msm8909.mk
@@ -47,11 +47,10 @@
device/qcom/common/media/audio_policy.conf:system/etc/audio_policy.conf
else
PRODUCT_COPY_FILES += \
- hardware/qcom/audio/configs/msm8909/audio_policy.conf:system/etc/audio_policy.conf
+ hardware/qcom/audio/configs/msm8909/audio_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy.conf
endif
PRODUCT_COPY_FILES += \
- hardware/qcom/audio/configs/msm8909/audio_policy.conf:system/etc/audio_policy.conf \
- hardware/qcom/audio/configs/msm8909/audio_effects.conf:system/vendor/etc/audio_effects.conf \
+ hardware/qcom/audio/configs/msm8909/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf \
hardware/qcom/audio/configs/msm8909/mixer_paths_qrd_skuh.xml:system/etc/mixer_paths_qrd_skuh.xml \
hardware/qcom/audio/configs/msm8909/mixer_paths_qrd_skui.xml:system/etc/mixer_paths_qrd_skui.xml \
hardware/qcom/audio/configs/msm8909/mixer_paths.xml:system/etc/mixer_paths.xml \