From c6b5c382a29f8ef7666b6cdc68addb108310ce64 Mon Sep 17 00:00:00 2001 From: Dan Pasanen Date: Sun, 8 Jan 2017 01:45:18 -0600 Subject: [PATCH] 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 --- build/core/mtk_target.mk | 3 +++ build/core/qcom_target.mk | 3 +++ 2 files changed, 6 insertions(+) diff --git a/build/core/mtk_target.mk b/build/core/mtk_target.mk index 7c3ba1f6..6dfeb6e0 100644 --- a/build/core/mtk_target.mk +++ b/build/core/mtk_target.mk @@ -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 diff --git a/build/core/qcom_target.mk b/build/core/qcom_target.mk index 2d21a972..349a7e60 100644 --- a/build/core/qcom_target.mk +++ b/build/core/qcom_target.mk @@ -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))