[Feature][Modem]Update MTK MODEM V1.6 baseline version: MOLY.NR15.R3.MD700.IVT.MP1MR3.MP.V1.6
MTK modem version: MT2735_IVT_MOLY.NR15.R3.MD700.IVT.MP1MR3.MP.V1.6.tar.gz
RF modem version: NA
Change-Id: I45a4c2752fa9d1a618beacd5d40737fb39ab64fb
diff --git a/mcu/make/module/middleware/middleware_config.mak b/mcu/make/module/middleware/middleware_config.mak
new file mode 100644
index 0000000..a6fe3e7
--- /dev/null
+++ b/mcu/make/module/middleware/middleware_config.mak
@@ -0,0 +1,18 @@
+CATEGORY_DEFS +=
+CATEGORY_INCDIRS += protocol/interface/ddm
+
+ifeq ($(strip $(MTK_MODEM_ARCH)), MT6297)
+ CATEGORY_INCDIRS += protocol/interface/enl2/el2
+ CATEGORY_INCDIRS += protocol/interface/enl2/en_common
+else ifeq ($(strip $(MTK_MODEM_ARCH)), MT6297P)
+ CATEGORY_INCDIRS += protocol/interface/enl2/el2
+ CATEGORY_INCDIRS += protocol/interface/enl2/en_common
+else
+ CATEGORY_INCDIRS += protocol/interface/el2
+endif
+
+ifeq ($(strip $(LTO_BUILD)),TRUE)
+ ifeq ($(strip $(NO_LTO)),)
+ CFLAGS += -flto -fno-fat-lto-objects
+ endif
+endif