universal7580: device-common: Use $(TARGET_COPY_OUT_SYSTEM)
authorChristian Hoffmann <chrmhoffmann@gmail.com>
Sat, 7 Sep 2019 18:41:55 +0000 (20:41 +0200)
committerDanny Wood <danwood76@gmail.com>
Sun, 15 Mar 2020 08:59:37 +0000 (08:59 +0000)
Change-Id: Idff78541e3b35ac297aaabb0f4bb6bf30c25b2b3

device-common.mk

index 818aabb61e67c4c97a807431c142f14ded374ff3..41b0358e7d9455604d6f08a447b03dafcb4f3b65 100644 (file)
@@ -29,7 +29,7 @@ PRODUCT_PACKAGES += \
     android.hardware.audio.effect@2.0-impl
 
 PRODUCT_COPY_FILES += \
-    $(LOCAL_PATH)/configs/audio/audio_policy.conf:system/etc/audio_policy.conf \
+    $(LOCAL_PATH)/configs/audio/audio_policy.conf:$(TARGET_COPY_OUT_SYSTEM)/etc/audio_policy.conf \
     $(LOCAL_PATH)/configs/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
     frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
     frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
@@ -194,7 +194,7 @@ PRODUCT_PACKAGES += \
 
 # Overriden service definition
 PRODUCT_COPY_FILES += \
-    $(LOCAL_PATH)/configs/init/mediaserver.rc:system/etc/init/mediaserver.rc
+    $(LOCAL_PATH)/configs/init/mediaserver.rc:$(TARGET_COPY_OUT_SYSTEM)/etc/init/mediaserver.rc
 
 # Properties
 -include $(LOCAL_PATH)/system_prop.mk