From 512cf9121f14dd153925c6374122ddb67aa96d78 Mon Sep 17 00:00:00 2001 From: padarshr Date: Sat, 29 Jul 2017 00:26:54 +0530 Subject: [PATCH] Use build variables to build device matrices. Move away from building device manifest through PRODUCT_COPY_FILES. Use the build variables - DEVICE_MANIFEST_FILE and DEVICE_MATRIX_FILE to build device manifest and device compatibility files repectively. Change-Id: Ic1c14a49d3a53306fb6f93eb92d44fea6a47278f --- sdm660_64.mk | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sdm660_64.mk b/sdm660_64.mk index 4784e68b..e65afd6b 100644 --- a/sdm660_64.mk +++ b/sdm660_64.mk @@ -106,9 +106,8 @@ ifeq ($(strip $(BOARD_HAVE_QCOM_FM)),true) PRODUCT_BOOT_JARS += qcom.fmradio endif #BOARD_HAVE_QCOM_FM -# add vendor manifest file -PRODUCT_COPY_FILES += \ - device/qcom/sdm660_64/manifest.xml:$(TARGET_COPY_OUT_VENDOR)/manifest.xml +DEVICE_MANIFEST_FILE := device/qcom/sdm660_64/manifest.xml +DEVICE_MATRIX_FILE := device/qcom/common/compatibility_matrix.xml # Audio configuration file -include $(TOPDIR)hardware/qcom/audio/configs/sdm660/sdm660.mk