diff mbox

[2/5] linaro_generic: Use vendor path for binary firmware blobs

Message ID 1465426091-21102-3-git-send-email-john.stultz@linaro.org
State New
Headers show

Commit Message

John Stultz June 8, 2016, 10:48 p.m. UTC
Copying binary blobs to the device directory feels a little
gunky and is likely to casue folks to mis-commit stuff.

Fetch the binary firmware blobs from the vendor directory.
In this case its flo, but for db410 we can add whatever
that vendor directory looks like, and it will pick it up
from whichever is present.

Signed-off-by: John Stultz <john.stultz@linaro.org>

---
 device.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
1.9.1
diff mbox

Patch

diff --git a/device.mk b/device.mk
index c2b60a0..9f889f1 100644
--- a/device.mk
+++ b/device.mk
@@ -40,6 +40,6 @@  PRODUCT_COPY_FILES += \
             frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml
 
 PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
-	$(LOCAL_PATH)/a300_pfp.fw:/system/vendor/firmware/a300_pfp.fw \
-	$(LOCAL_PATH)/a300_pm4.fw:/system/vendor/firmware/a300_pm4.fw \
+	vendor/qcom/flo/proprietary/a300_pfp.fw:/system/vendor/firmware/a300_pfp.fw \
+	vendor/qcom/flo/proprietary/a300_pm4.fw:/system/vendor/firmware/a300_pm4.fw \
 )