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
gugelfrei
Dan Pasanen 7 years ago
parent fb4b8c54b5
commit c6b5c382a2

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

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

Loading…
Cancel
Save