blob: a6fe3e7969a78db4e8b4b5f7f86e4f216745f207 [file] [log] [blame]
yu.dongc33b3072024-08-21 23:14:49 -07001CATEGORY_DEFS +=
2CATEGORY_INCDIRS += protocol/interface/ddm
3
4ifeq ($(strip $(MTK_MODEM_ARCH)), MT6297)
5 CATEGORY_INCDIRS += protocol/interface/enl2/el2
6 CATEGORY_INCDIRS += protocol/interface/enl2/en_common
7else ifeq ($(strip $(MTK_MODEM_ARCH)), MT6297P)
8 CATEGORY_INCDIRS += protocol/interface/enl2/el2
9 CATEGORY_INCDIRS += protocol/interface/enl2/en_common
10else
11 CATEGORY_INCDIRS += protocol/interface/el2
12endif
13
14ifeq ($(strip $(LTO_BUILD)),TRUE)
15 ifeq ($(strip $(NO_LTO)),)
16 CFLAGS += -flto -fno-fat-lto-objects
17 endif
18endif