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
This commit is contained in:
padarshr 2017-07-29 00:26:54 +05:30
parent e820d59ae6
commit 512cf9121f

View file

@ -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