You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
537 B
17 lines
537 B
# Bring in Mediatek helper macros
|
|
include vendor/lineage/build/core/mtk_utils.mk
|
|
|
|
ifeq ($(BOARD_USES_MTK_HARDWARE),true)
|
|
mtk_flags := -DMTK_HARDWARE
|
|
|
|
TARGET_GLOBAL_CFLAGS += $(mtk_flags)
|
|
TARGET_GLOBAL_CPPFLAGS += $(mtk_flags)
|
|
CLANG_TARGET_GLOBAL_CFLAGS += $(mtk_flags)
|
|
CLANG_TARGET_GLOBAL_CPPFLAGS += $(mtk_flags)
|
|
|
|
2ND_TARGET_GLOBAL_CFLAGS += $(mtk_flags)
|
|
2ND_TARGET_GLOBAL_CPPFLAGS += $(mtk_flags)
|
|
2ND_CLANG_TARGET_GLOBAL_CFLAGS += $(mtk_flags)
|
|
2ND_CLANG_TARGET_GLOBAL_CPPFLAGS += $(mtk_flags)
|
|
endif
|