build: core: include platform helper macros in target makefiles

* These are now needed sooner than we had been importing them
  in android_build. This ensures they'll be imported before
  their macros are needed.

Change-Id: Id7e31f36393414f6d51a8bc80686ceaebfe7cb28
This commit is contained in:
Dan Pasanen
2017-01-08 01:45:18 -06:00
parent fb4b8c54b5
commit c6b5c382a2
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
# Bring in Mediatek helper macros
include vendor/cm/build/core/mtk_utils.mk
ifeq ($(BOARD_USES_MTK_HARDWARE),true)
mtk_flags := -DMTK_HARDWARE

View File

@@ -1,5 +1,8 @@
# Target-specific configuration
# Bring in Qualcomm helper macros
include vendor/cm/build/core/qcom_utils.mk
# Populate the qcom hardware variants in the project pathmap.
define ril-set-path-variant
$(call project-set-path-variant,ril,TARGET_RIL_VARIANT,hardware/$(1))