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