blob: bc03eba1640bc44676e25076ee4e035eca015e9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Bring in Mediatek helper macros
include $(BUILD_SYSTEM)/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
|