Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6b5c382 authored by Dan Pasanen's avatar Dan Pasanen
Browse files

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
parent fb4b8c54
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
# Bring in Mediatek helper macros
include vendor/cm/build/core/mtk_utils.mk

ifeq ($(BOARD_USES_MTK_HARDWARE),true)
    mtk_flags := -DMTK_HARDWARE

+3 −0
Original line number Diff line number Diff line
# 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))