From 7f447b049a62507aa0339e0678f4faf4991fefa4 Mon Sep 17 00:00:00 2001 From: Andreas Blaesius Date: Sat, 29 Oct 2016 16:04:07 +0200 Subject: device.mk: use LOCAL_PATH Change-Id: I628932d30d1318617f7aecfa79d6cad9762e32ff --- device.mk | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/device.mk b/device.mk index 969bc42..1a0510e 100644 --- a/device.mk +++ b/device.mk @@ -17,14 +17,17 @@ # Include common device configuration $(call inherit-product, device/samsung/espressowifi/device-common.mk) +LOCAL_PATH := device/samsung/espressowifi + # Include wifi-only overlays -DEVICE_PACKAGE_OVERLAYS += device/samsung/espressowifi/overlay/aosp +DEVICE_PACKAGE_OVERLAYS += \ + $(LOCAL_PATH)/overlay/aosp -# Audio +# Audio configs PRODUCT_COPY_FILES += \ - device/samsung/espressowifi/audio/audio_policy.conf:system/etc/audio_policy.conf \ - device/samsung/espressowifi/audio/tiny_hw_espressowifi.xml:system/etc/sound/espressowifi \ - device/samsung/espressowifi/audio/tiny_hw_espresso10wifi.xml:system/etc/sound/espresso10wifi + $(LOCAL_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \ + $(LOCAL_PATH)/audio/tiny_hw_espressowifi.xml:system/etc/sound/espressowifi \ + $(LOCAL_PATH)/audio/tiny_hw_espresso10wifi.xml:system/etc/sound/espresso10wifi # IR PRODUCT_PACKAGES += \ -- cgit v1.1