rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright Statement: |
| 3 | # -------------------- |
| 4 | # This software is protected by Copyright and the information contained |
| 5 | # herein is confidential. The software may not be copied and the information |
| 6 | # contained herein may not be used or disclosed except with the written |
| 7 | # permission of MediaTek Inc. (C) 2005 |
| 8 | # |
| 9 | # BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES |
| 10 | # THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE") |
| 11 | # RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON |
| 12 | # AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES, |
| 13 | # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF |
| 14 | # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT. |
| 15 | # NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE |
| 16 | # SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR |
| 17 | # SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH |
| 18 | # THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO |
| 19 | # NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S |
| 20 | # SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM. |
| 21 | # |
| 22 | # BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE |
| 23 | # LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE, |
| 24 | # AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE, |
| 25 | # OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO |
| 26 | # MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. |
| 27 | # |
| 28 | # THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE |
| 29 | # WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF |
| 30 | # LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND |
| 31 | # RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER |
| 32 | # THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC). |
| 33 | |
| 34 | # Define include path lists to XGEN_INC_DIR |
| 35 | #XGEN_INC_DIR = $(COMMINCDIRS) |
| 36 | XGEN_INC_DIR_FDD := |
| 37 | XGEN_INC_DIR_TDD := |
| 38 | |
| 39 | ifneq ($(filter __PERF_SUPPORT__,$(COM_DEFS)),) |
| 40 | XGEN_INC_DIR += protocol/perf/src |
| 41 | XGEN_INC_DIR += protocol/perf |
| 42 | endif |
| 43 | |
| 44 | ifneq ($(strip $(L1_UMTS)),TRUE) |
| 45 | XGEN_INC_DIR += protocol/as_multimode/asinterfaces/include \ |
| 46 | $(strip $(GAS_FOLDER))/common/include \ |
| 47 | $(strip $(GAS_FOLDER))/rrm/common/include \ |
| 48 | $(strip $(GAS_FOLDER))/rrm/rmc/include \ |
| 49 | $(strip $(GAS_FOLDER))/rrm/rcs/include \ |
| 50 | $(strip $(GAS_FOLDER))/lapdm/include \ |
| 51 | $(strip $(GAS_FOLDER))/mpal/include \ |
| 52 | $(strip $(GAS_FOLDER))/rlc/include \ |
| 53 | $(strip $(GAS_FOLDER))/mac/include \ |
| 54 | $(strip $(GAS_FOLDER))/rrm/rmp/include \ |
| 55 | protocol/nas/mm/cmm/include \ |
| 56 | protocol/nas/mm/common/include \ |
| 57 | protocol/nas/mm/pmm/include \ |
| 58 | protocol/as_multimode/ratcm/include \ |
| 59 | protocol/as_multimode/ratdm/cmn_sig/include \ |
| 60 | protocol/as_utility/scsi/gen/include \ |
| 61 | protocol/as_utility/scsi/include \ |
| 62 | interface/l1/ul1 \ |
| 63 | l1/interface/el1 \ |
| 64 | protocol/2g/las/gise/include \ |
| 65 | protocol/2g/las/gise_tdd/include \ |
| 66 | l1/ul1/common \ |
| 67 | service/fsm/include |
| 68 | ifdef GEMINI |
| 69 | ifneq ($(strip $(GEMINI)),FALSE) |
| 70 | XGEN_INC_DIR += protocol/as_multimode/rsva/rsvas/include \ |
| 71 | protocol/as_multimode/rsva/interface/enum \ |
| 72 | protocol/as_multimode/rsva/interface/local_inc \ |
| 73 | protocol/as_multimode/rsva/common/include \ |
| 74 | protocol/as_multimode/rsva/mspm/include \ |
| 75 | interface/service/icd \ |
| 76 | interface/service/icd/event/cm \ |
| 77 | $(strip $(PROJDIR))/modem/icd_ac_gen |
| 78 | |
| 79 | endif |
| 80 | endif |
| 81 | else |
| 82 | ifneq ($(strip $(UTRAN_MODE_SUPPORT)),NONE) |
| 83 | GAS_INC_SUPPORT = TRUE |
| 84 | else |
| 85 | ifeq ($(filter BASIC,$(TEST_LOAD_TYPE)),) |
| 86 | GAS_INC_SUPPORT = TRUE |
| 87 | endif |
| 88 | endif |
| 89 | ifeq ($(strip $(GAS_INC_SUPPORT)),TRUE) |
| 90 | XGEN_INC_DIR += protocol/as_multimode/asinterfaces/include \ |
| 91 | $(strip $(GAS_FOLDER))/common/include \ |
| 92 | $(strip $(GAS_FOLDER))/rrm/common/include \ |
| 93 | $(strip $(GAS_FOLDER))/rrm/rmc/include \ |
| 94 | $(strip $(GAS_FOLDER))/rrm/rcs/include \ |
| 95 | $(strip $(GAS_FOLDER))/lapdm/include \ |
| 96 | $(strip $(GAS_FOLDER))/mpal/include \ |
| 97 | $(strip $(GAS_FOLDER))/rlc/include \ |
| 98 | $(strip $(GAS_FOLDER))/mac/include \ |
| 99 | protocol/2g/las/gise/include \ |
| 100 | protocol/2g/las/gise_tdd/include \ |
| 101 | protocol \ |
| 102 | protocol/nas/mm/cmm/include \ |
| 103 | protocol/nas/mm/common/include \ |
| 104 | protocol/nas/mm/pmm/include \ |
| 105 | protocol/as_multimode/ratcm/include \ |
| 106 | protocol/as_multimode/ratdm/cmn_sig/include \ |
| 107 | protocol/as_utility/scsi/gen/include \ |
| 108 | protocol/as_utility/scsi/include \ |
| 109 | $(strip $(UAS_FOLDER))/interface/include \ |
| 110 | protocol \ |
| 111 | protocol/3g/urr/urr_fdd/common/asn1/include \ |
| 112 | protocol/3g/urr/urr_tdd/common/asn1/include \ |
| 113 | $(strip $(UAS_FOLDER))/common/include \ |
| 114 | $(strip $(UAS_FOLDER))/interface/enum \ |
| 115 | $(strip $(UAS_FOLDER))/interface/local_inc \ |
| 116 | $(strip $(UAS_FOLDER))/ul2/common/include \ |
| 117 | $(strip $(UAS_FOLDER))/ul2/bmc/include \ |
| 118 | $(strip $(UAS_FOLDER))/ul2/pdcp/include \ |
| 119 | $(strip $(UAS_FOLDER))/ul2/rabm/include \ |
| 120 | $(strip $(UAS_FOLDER))/ul2/umac/include \ |
| 121 | $(strip $(UAS_FOLDER))/ul2/urlc/include \ |
| 122 | $(strip $(UAS_FOLDER))/ul2/seq/include \ |
| 123 | $(strip $(UAS_FOLDER))/urr/common/include \ |
| 124 | $(strip $(UAS_FOLDER))/urr/meme/include \ |
| 125 | $(strip $(UAS_FOLDER))/urr/rrce/include \ |
| 126 | $(strip $(UAS_FOLDER))/urr/slce/include \ |
| 127 | $(strip $(UAS_FOLDER))/urr/dbme/include \ |
| 128 | $(strip $(UAS_FOLDER))/urr/cise/include \ |
| 129 | service/fsm/include \ |
| 130 | driver/bytecopy/inc \ |
| 131 | interface/l1/ul1/internal \ |
| 132 | ./interface/modem/l1/gsm/internal \ |
| 133 | protocol/2g/interface \ |
| 134 | interface/protocol/general \ |
| 135 | $(strip $(PROJDIR))/modem/dbme \ |
| 136 | $(strip $(PROJDIR))/modem/rrc_asn \ |
| 137 | $(strip $(PROJDIR))/modem/mcddll \ |
| 138 | protocol/3g/urr/urr_fdd/common/dbme/include \ |
| 139 | protocol/as_multimode/dbme/include \ |
| 140 | protocol/3g/urr/interface/struct \ |
| 141 | interface/protocol/general \ |
| 142 | ./service/event_info \ |
| 143 | protocol/as_multimode/las/include \ |
| 144 | interface/service/cert |
| 145 | |
| 146 | XGEN_INC_DIR_FDD += $(strip $(PROJDIR))/modem/dbme/fdd \ |
| 147 | $(strip $(PROJDIR))/modem/rrc_asn/fdd \ |
| 148 | $(strip $(PROJDIR))/modem/mcddll/fdd \ |
| 149 | protocol/3g/urr/urr_fdd/lcsce/include \ |
| 150 | protocol/3g/urr/urr_fdd/lmeme/include \ |
| 151 | protocol/3g/urr/urr_fdd/common/include \ |
| 152 | protocol/3g/urr/urr_fdd/las/include \ |
| 153 | protocol/3g/urr/urr_fdd/ldbme/include |
| 154 | |
| 155 | XGEN_INC_DIR_TDD += $(strip $(PROJDIR))/modem/dbme/tdd \ |
| 156 | $(strip $(PROJDIR))/modem/rrc_asn/tdd \ |
| 157 | $(strip $(PROJDIR))/modem/mcddll/tdd \ |
| 158 | $(strip $(PROJDIR))/modem/lpcch_asn \ |
| 159 | protocol/3g/urr/urr_tdd/lcsce/include \ |
| 160 | protocol/3g/urr/urr_tdd/lmeme/include \ |
| 161 | protocol/3g/urr/urr_tdd/common/include \ |
| 162 | protocol/3g/urr/urr_tdd/las/include \ |
| 163 | protocol/3g/urr/urr_tdd/ldbme/include \ |
| 164 | protocol/3g/ul2/ul2_tdd/lurlc/include \ |
| 165 | protocol/3g/urr/urr_tdd/lrrce/include \ |
| 166 | protocol/3g/ul2/ul2_tdd/lumac/include \ |
| 167 | protocol/3g/interface/uas/uas_tdd/struct |
| 168 | |
| 169 | ifdef GEMINI |
| 170 | ifneq ($(strip $(GEMINI)),FALSE) |
| 171 | XGEN_INC_DIR += protocol/as_multimode/rsva/rsvas/include \ |
| 172 | protocol/as_multimode/rsva/interface/enum \ |
| 173 | protocol/as_multimode/rsva/interface/local_inc \ |
| 174 | protocol/as_multimode/rsva/common/include \ |
| 175 | protocol/as_multimode/rsva/rsvak/include \ |
| 176 | protocol/as_multimode/rsva/rsvau/include \ |
| 177 | protocol/as_multimode/rsva/rsvae/include \ |
| 178 | protocol/as_multimode/rsva/rsvan/include \ |
| 179 | protocol/as_multimode/rsva/rsvac/include \ |
| 180 | protocol/as_multimode/rsva/rsvag/include \ |
| 181 | protocol/as_multimode/rsva/mspm/include \ |
| 182 | interface/service/icd \ |
| 183 | interface/service/icd/event/cm \ |
| 184 | $(strip $(PROJDIR))/modem/icd_ac_gen |
| 185 | endif |
| 186 | endif |
| 187 | XGEN_INC_DIR += ./interface/uas \ |
| 188 | interface/driver/dpcopro |
| 189 | endif |
| 190 | endif |
| 191 | |
| 192 | ifeq ($(strip $(L1_UMTS)),TRUE) |
| 193 | XGEN_INC_DIR += protocol/2g/sndcp/include \ |
| 194 | protocol/nas/sm/include \ |
| 195 | protocol/nas_multimode/pam \ |
| 196 | protocol/nas_utility/nas_common_utility/include \ |
| 197 | protocol/2g/llc/include |
| 198 | else |
| 199 | ifeq ($(strip $(GERAN_MODE_SUPPORT)),GERAN_EGPRS_MODE) |
| 200 | ifeq ($(strip $(UTRAN_MODE_SUPPORT)),NONE) |
| 201 | XGEN_INC_DIR += protocol/2g/sndcp/include \ |
| 202 | protocol/nas/sm/include \ |
| 203 | protocol/nas_multimode/pam \ |
| 204 | protocol/nas_utility/nas_common_utility/include \ |
| 205 | protocol/2g/llc/include |
| 206 | endif |
| 207 | endif |
| 208 | endif |
| 209 | |
| 210 | XGEN_INC_DIR += protocol/nas_multimode/nas_sv/include |
| 211 | XGEN_INC_DIR += protocol/nas_multimode/tftlib |
| 212 | XGEN_INC_DIR += protocol/nas_multimode/smic/include |
| 213 | XGEN_INC_DIR += protocol/interface/nas_multimode |
| 214 | XGEN_INC_DIR += protocol/interface/vgnas/trace |
| 215 | XGEN_INC_DIR += protocol/interface/vgnas/sms |
| 216 | XGEN_INC_DIR += protocol/vgnas/vgsm/include |
| 217 | XGEN_INC_DIR += protocol/vgnas/vgmm/include |
| 218 | XGEN_INC_DIR += protocol/upds/include |
| 219 | XGEN_INC_DIR += protocol/interface/as_multimode/5g |
| 220 | XGEN_INC_DIR += protocol/interface/general/5g |
| 221 | XGEN_INC_DIR += protocol/vgnas/interface |
| 222 | XGEN_INC_DIR += protocol/ddm/psilib/include |
| 223 | XGEN_INC_DIR += protocol/as_multimode/mrs/capability/include |
| 224 | ifeq ($(strip $(EL2_ARCH_VERSION)),EL2_ARCH_V2) |
| 225 | XGEN_INC_DIR += protocol/interface/enl2/el2 |
| 226 | XGEN_INC_DIR += protocol/interface/enl2/en_common |
| 227 | else |
| 228 | XGEN_INC_DIR += protocol/interface/el2 |
| 229 | endif |
| 230 | XGEN_INC_DIR += protocol/interface/nas_multimode/upcm |
| 231 | XGEN_INC_DIR += protocol/interface/ddm |
| 232 | XGEN_INC_DIR += protocol/interface/agps |
| 233 | |
| 234 | XGEN_INC_DIR_FDD += interface/l1/ul1 |
| 235 | XGEN_INC_DIR_TDD += protocol/interface/l1/tdd |
| 236 | |
| 237 | ifneq ($(filter __LTE_PHY_TEST__,$(COM_DEFS)),) |
| 238 | XGEN_INC_DIR_TDD += $(EL1_FOLDER)/$(strip $(EL1C_MD_VER_FOLDER))/tstm/include |
| 239 | else |
| 240 | XGEN_INC_DIR_TDD += $(EL1_FOLDER)/$(strip $(EL1C_MD_VER_FOLDER))/tstm_meta/include \ |
| 241 | $(EL1_FOLDER)/comm/tstm_meta/include |
| 242 | XGEN_INC_DIR += l1/el1/el1c_pub/$(strip $(MD_VER_FOLDER))/trc |
| 243 | endif |
| 244 | |
| 245 | XGEN_INC_DIR += interface/service/em/protect \ |
| 246 | protocol/nas/cc-ss/cc/include \ |
| 247 | protocol/nas/sms/include \ |
| 248 | $(strip $(PPP_FOLDER))/include \ |
| 249 | protocol/nas_23g/data/include \ |
| 250 | protocol/nas_23g/data/l2r/include \ |
| 251 | protocol/nas_23g/data/rlp/include \ |
| 252 | protocol/nas_23g/data/tdt/include \ |
| 253 | protocol/nas_23g/data/t30/include \ |
| 254 | protocol/nas_23g/data/fa/include \ |
| 255 | protocol/as_utility/mcd/include \ |
| 256 | protocol/ircomm/include \ |
| 257 | l1/gl1/common \ |
| 258 | interface/protocol/gas/include \ |
| 259 | interface/l1/ul1 \ |
| 260 | interface/service/mdmp \ |
| 261 | l1/interface/el1 \ |
| 262 | l1/md_sm/common/ul1sm \ |
| 263 | l1/ul1/common \ |
| 264 | l1/interface/tl1 \ |
| 265 | l1/interface/rtb \ |
| 266 | protocol/interface/l4 \ |
| 267 | protocol/interface/l4misc \ |
| 268 | protocol/interface/ims \ |
| 269 | protocol/interface/eap \ |
| 270 | protocol/interface/asn/rr/include \ |
| 271 | protocol/nas_multimode/nwsel/include \ |
| 272 | protocol/layer4/l4/include \ |
| 273 | protocol/layer4/l4/csm \ |
| 274 | protocol/layer4/l4/csm/cc/include \ |
| 275 | protocol/layer4/l4/smu/include \ |
| 276 | protocol/layer4/l4/smsal/include \ |
| 277 | protocol/layer4/l4/tcm/common \ |
| 278 | protocol/layer4/l4/rac/common/include \ |
| 279 | protocol/layer4/l4/rac/ugrac/include \ |
| 280 | protocol/interface/mcd/include \ |
| 281 | protocol/layer4/l4/l4c/include/proc \ |
| 282 | protocol/layer4/l4/tcm/ugtcm \ |
| 283 | protocol/layer4/l4/tcm/etcm/include \ |
| 284 | protocol/layer4/l4/tcm/vgtcm/include \ |
| 285 | protocol/layer4/l4/tcm/rat_tcm/inc \ |
| 286 | protocol/layer4/l4/psdm/include \ |
| 287 | protocol/ephy/ephy_rf \ |
| 288 | protocol/layer4/sim/include \ |
| 289 | ./service/sst/include \ |
| 290 | ./service/sst/include \ |
| 291 | ./service/kal/common/include \ |
| 292 | ./service/kal/lib/mlib/include \ |
| 293 | ./middleware/interfaces/local_inc \ |
| 294 | driver/audio/med/audio/include \ |
| 295 | driver/audio/med/common/include \ |
| 296 | interface/l1/ul1/internal \ |
| 297 | ./interface/modem/l1/gsm/internal \ |
| 298 | l1/interface/el1/el1c/include \ |
| 299 | protocol/nas_multimode/gmss/include \ |
| 300 | protocol/layer4/l4/l4b/interface \ |
| 301 | protocol/layer4/l4/l4b/include \ |
| 302 | protocol/layer4/l4/l4b/l4bpwr/include \ |
| 303 | protocol/layer4/l4/l4b/l4bnw/include \ |
| 304 | protocol/layer4/l4/l4b/l4bsim/include \ |
| 305 | protocol/layer4/l4/l4b/l4bpdn/include \ |
| 306 | protocol/layer4/l4/l4b/l4bsbp/include \ |
| 307 | protocol/layer4/l4/l4b/l4bsms/include \ |
| 308 | protocol/layer4/vdm/interface \ |
| 309 | protocol/layer4/vdm/common/include \ |
| 310 | protocol/layer4/vdm/trk/include \ |
| 311 | protocol/layer4/vdm/ads/include \ |
| 312 | protocol/layer4/vdm/vcc/include \ |
| 313 | l1/interface/mml1/mml1_fwk \ |
| 314 | l1/interface/mml1/mml1_lpwr \ |
| 315 | protocol/l5/include \ |
| 316 | protocol/l5/l5u/include \ |
| 317 | protocol/l5/util/include \ |
| 318 | protocol/l5/l5io/include \ |
| 319 | protocol/l5/l5io/l5ath \ |
| 320 | protocol/l5/l5io/l5ath/userdef \ |
| 321 | protocol/l5/l5io/l5mipc/include \ |
| 322 | $(strip $(PROJDIR))/modem/mipc/include \ |
| 323 | interface/protocol/l5/mipc/common \ |
| 324 | interface/protocol/l5/mipc/msg \ |
| 325 | protocol/l5/l5io/l5mbci/include \ |
| 326 | interface/protocol/l1misc \ |
| 327 | interface/protocol/l1misc/tasar \ |
| 328 | l1/interface/mml1/mml1_endc \ |
rjw | 2b1408e | 2022-12-19 11:19:29 +0800 | [diff] [blame] | 329 | protocol/layer4/l4/phb/include \ |
rjw | 6c1fd8f | 2022-11-30 14:33:01 +0800 | [diff] [blame] | 330 | interface/l1/mml1/external/mml1_endc |
| 331 | |
| 332 | ifneq ($(filter __L5_SUPPORT__,$(strip $(COM_DEFS))),) |
| 333 | XGEN_INC_DIR += protocol/l5/atp/include |
| 334 | else |
| 335 | XGEN_INC_DIR += protocol/layer4/atp/include |
| 336 | endif |
| 337 | |
| 338 | ifneq ($(strip $(EUTRAN_MODE_SUPPORT)),NONE) |
| 339 | XGEN_INC_DIR += protocol/layer4/l4/rac/erac/include |
| 340 | endif |
| 341 | |
| 342 | ifeq ($(filter BASIC,$(TEST_LOAD_TYPE)),) |
| 343 | XGEN_INC_DIR += $(strip $(UAS_FOLDER))/ul2/rfc2507/include |
| 344 | endif |
| 345 | |
| 346 | ifdef AGPS_SUPPORT |
| 347 | ifneq ($(strip $(AGPS_SUPPORT)), NONE) |
| 348 | ifeq ($(strip $(AGPS_SUPPORT)), USER_PLANE) |
| 349 | XGEN_INC_DIR += inet_ps/supl/include |
| 350 | endif |
| 351 | XGEN_INC_DIR += protocol/agps/rrlp/include |
| 352 | endif |
| 353 | endif |
| 354 | |
| 355 | |
| 356 | ifeq ($(filter BASIC UDVT,$(TEST_LOAD_TYPE)),) |
| 357 | FLC_LIB_INCLUDE_CONDITION = FALSE |
| 358 | ifneq ($(filter __PS_SERVICE__,$(COM_DEFS)),) |
| 359 | FLC_LIB_INCLUDE_CONDITION = TRUE |
| 360 | endif |
| 361 | ifneq ($(strip $(CSD_SUPPORT)),NONE) |
| 362 | FLC_LIB_INCLUDE_CONDITION = TRUE |
| 363 | endif |
| 364 | ifeq ($(strip $(IRDA_SUPPORT)),TRUE) |
| 365 | FLC_LIB_INCLUDE_CONDITION = TRUE |
| 366 | endif |
| 367 | ifneq ($(strip $(TCPIP_SUPPORT)),NONE) |
| 368 | FLC_LIB_INCLUDE_CONDITION = TRUE |
| 369 | endif |
| 370 | ifeq ($(strip $(FLC_LIB_INCLUDE_CONDITION)),TRUE) |
| 371 | XGEN_INC_DIR += $(strip $(FLC_FOLDER))/include |
| 372 | endif |
| 373 | endif |
| 374 | |
| 375 | |
| 376 | ifdef GEMINI |
| 377 | ifneq ($(strip $(GEMINI)),FALSE) |
| 378 | XGEN_INC_DIR += protocol/as_multimode/as_semaphore_utility/include |
| 379 | endif |
| 380 | endif |
| 381 | |
| 382 | XGEN_INC_DIR += protocol/as_utility/mcddll/include |
| 383 | XGEN_INC_DIR += protocol/layer4/l4/dt/include |
| 384 | XGEN_INC_DIR += inet_ps/ems/include protocol/nas/cc-ss/ss/include |
| 385 | XGEN_INC_DIR += ./interface/service/kal \ |
| 386 | interface/driver/sleep_drv \ |
| 387 | interface/l1/md_sm |
| 388 | |
| 389 | XGEN_INC_DIR += ${PROJDIR}/nvram_auto_gen |
| 390 | |
| 391 | ifeq ($(filter L1S BASIC UDVT,$(TEST_LOAD_TYPE)),) |
| 392 | XGEN_INC_DIR += inet_ps/ems/include |
| 393 | endif |
| 394 | |
| 395 | XGEN_INC_DIR += external_mmi/wise/bal/telephony/include \ |
| 396 | protocol/interface/asn/asn1lib/include \ |
| 397 | l1/gl1/common |
| 398 | |
| 399 | ifeq ($(filter L1S BASIC UDVT,$(TEST_LOAD_TYPE)),) |
| 400 | ifneq ($(filter __MTK_3G_MRAT_ARCH__,$(strip $(COM_DEFS))),) |
| 401 | XGEN_INC_DIR += $(strip $(GAS_FOLDER))/mpal/include |
| 402 | endif |
| 403 | endif |
| 404 | |
| 405 | ifeq ($(strip $(TEST_LOAD_TYPE)),L1S) |
| 406 | XGEN_INC_DIR += interface/l1/l1s |
| 407 | endif |
| 408 | |
| 409 | ifneq ($(filter $(strip $(PLATFORM)),$(UL1_HS_PLATFORM)),) |
| 410 | XGEN_INC_DIR += protocol/ul1/ul1_hs/ul1c \ |
| 411 | protocol/ul1/ul1_hs/ul1d \ |
| 412 | protocol/ul1/ul1_hs/common \ |
| 413 | l1/md_sm/ul1sm \ |
| 414 | l1/md_sm/common\ul1sm |
| 415 | else ifneq ($(filter $(strip $(PLATFORM)),$(UL1_HS_PLUS_PLATFORM)),) |
| 416 | XGEN_INC_DIR += l1/ul1/ul1c \ |
| 417 | l1/ul1/ul1d \ |
| 418 | l1/ul1/ul1d \ |
| 419 | l1/ul1/common \ |
| 420 | l1/md_sm/ul1sm \ |
| 421 | l1/md_sm/common\ul1sm |
| 422 | endif |
| 423 | |
| 424 | ifdef AGPS_SUPPORT |
| 425 | ifeq ($(strip $(AGPS_SUPPORT)), CP_AGPS) |
| 426 | XGEN_INC_DIR += protocol/agps/ulcs/common/include |
| 427 | XGEN_INC_DIR += protocol/agps/ulcs/uagps_up/include |
| 428 | XGEN_INC_DIR += protocol/agps/ulcs/uagps_cp/include |
| 429 | endif |
| 430 | ifeq ($(strip $(AGPS_SUPPORT)), CP_AGPS_AGLONASS) |
| 431 | XGEN_INC_DIR += protocol/agps/ulcs/common/include |
| 432 | XGEN_INC_DIR += protocol/agps/ulcs/uagps_up/include |
| 433 | XGEN_INC_DIR += protocol/agps/ulcs/uagps_cp/include |
| 434 | endif |
| 435 | ifeq ($(strip $(AGPS_SUPPORT)), CONTROL_PLANE) |
| 436 | XGEN_INC_DIR += protocol/agps/ulcs/common/include |
| 437 | XGEN_INC_DIR += protocol/agps/ulcs/uagps_up/include |
| 438 | XGEN_INC_DIR += protocol/agps/ulcs/uagps_cp/include |
| 439 | endif |
| 440 | ifeq ($(strip $(AGPS_SUPPORT)), BOTH) |
| 441 | XGEN_INC_DIR += protocol/agps/ulcs/common/include |
| 442 | XGEN_INC_DIR += protocol/agps/ulcs/uagps_up/include |
| 443 | XGEN_INC_DIR += protocol/agps/ulcs/uagps_cp/include |
| 444 | endif |
| 445 | endif |
| 446 | |
| 447 | ifneq ($(strip $(LPP_SUPPORT)), NONE) |
| 448 | XGEN_INC_DIR += protocol/agps/lpp/include |
| 449 | endif |
| 450 | XGEN_INC_DIR += protocol/agps/lppe/include |
| 451 | XGEN_INC_DIR += protocol/agps/lbs/gnss_tc/inc |
| 452 | XGEN_INC_DIR += ./interface/ul1interface/internal |
| 453 | |
| 454 | #ifeq ($(strip $(IMS_SUPPORT)),TRUE) |
| 455 | # XGEN_INC_DIR +=./$(strip $(MODEM_FOLDER))/interface/ims |
| 456 | #endif |
| 457 | |
| 458 | ifeq ($(strip $(N3GPP_OFFLOAD_ENABLE)),TRUE) |
| 459 | XGEN_INC_DIR += protocol/interface/n3x \ |
| 460 | protocol/n3x/n3sam/interface |
| 461 | endif |
| 462 | |
| 463 | ifeq ($(filter BASIC,$(TEST_LOAD_TYPE)),) |
| 464 | ifeq ($(call gt,$(strip $(GPRS_MAX_PDP_SUPPORT)),6),T) |
| 465 | else |
| 466 | XGEN_INC_DIR += $(strip $(UAS_FOLDER))/ul2/seq/include |
| 467 | endif |
| 468 | endif |
| 469 | |
| 470 | ifeq ($(filter BASIC,$(TEST_LOAD_TYPE)),) |
| 471 | XGEN_INC_DIR += $(strip $(UAS_FOLDER))/ul2/seq/include |
| 472 | endif |
| 473 | |
| 474 | XGEN_INC_DIR += protocol/smt/l1s/dummyps/include/internal |
| 475 | |
| 476 | ifeq ($(MPD_SOURCE_4G_BUILD),TRUE) |
| 477 | XGEN_INC_DIR += interface/driver/l2copro |
| 478 | XGEN_INC_DIR += $(UNIVERSAL_COMMON)/interface/modem |
| 479 | endif |
| 480 | |
| 481 | ifeq ($(strip $(TEST_LOAD_TYPE)),L1S) |
| 482 | XGEN_INC_DIR += dummyups/include/internal |
| 483 | endif |
| 484 | |
| 485 | ifneq ($(filter __DHL_V2_ENABLE__,$(COM_DEFS)),) # DHL2.0 |
| 486 | XGEN_INC_DIR += $(strip $(FIXPATH))/service/dhl/v2/local_inc |
| 487 | XGEN_INC_DIR += $(strip $(FIXPATH))/interface/service/icd |
| 488 | XGEN_INC_DIR += $(strip $(FIXPATH))/interface/service/icd/event/vgnas/ |
| 489 | XGEN_INC_DIR += $(strip $(FIXPATH))/interface/service/icd/vgnas/ |
| 490 | XGEN_INC_DIR += $(strip $(FIXPATH))/interface/service/pmc/icd_v2/ |
| 491 | else # DHL1.0 |
| 492 | XGEN_INC_DIR += $(strip $(FIXPATH))/service/dhl/v1/local_inc |
| 493 | XGEN_INC_DIR += $(strip $(FIXPATH))/interface/service/icd |
| 494 | XGEN_INC_DIR += $(strip $(FIXPATH))/interface/service/icd/event/vgnas/ |
| 495 | XGEN_INC_DIR += $(strip $(FIXPATH))/interface/service/icd/vgnas/ |
| 496 | XGEN_INC_DIR += $(strip $(FIXPATH))/interface/service/pmc/icd_v1/ |
| 497 | endif |
| 498 | |
| 499 | XGEN_INC_DIR += $(strip $(FIXPATH))/interface/service/dhl_sub |
| 500 | XGEN_INC_DIR += $(strip $(FIXPATH))/custom/service/dhl |
| 501 | XGEN_INC_DIR += $(strip $(FIXPATH))/interface/service/icd |
| 502 | XGEN_INC_DIR += $(strip $(FIXPATH))/interface/service/icd/event/enas/ |
| 503 | XGEN_INC_DIR += $(strip $(PROJDIR))/modem/icd_ac_gen |
| 504 | XGEN_INC_DIR += l1/md_sm/l1sm \ |
| 505 | l1/md_sm/common/l1sm \ |
| 506 | ./service/sys_svc_sec/inc \ |
| 507 | driver/sleep_drv/internal/inc \ |
| 508 | driver/sleep_drv/public/inc \ |
| 509 | $(strip $(PROJDIR))/modem/eas_asn |
| 510 | |
| 511 | XGEN_INC_DIR += interface/driver/dvfs_drv/$(MD_VER_FOLDER) \ |
| 512 | driver/dvfs_drv/internal/inc/$(MD_VER_FOLDER) |
| 513 | |
| 514 | XGEN_INC_DIR += interface/driver/tfwk_drv \ |
| 515 | driver/tfwk_drv/internal/inc |
| 516 | |
| 517 | ifeq ($(MPD_SOURCE_4G_BUILD),TRUE) |
| 518 | XGEN_INC_DIR += $(strip $(TSTDIR_SEC))/database/gv \ |
| 519 | $(strip $(TSTDIR_SEC))/database/unionTag \ |
| 520 | $(BUILD_TSTDIR_SEC)/database/unionTag |
| 521 | |
| 522 | XGEN_INC_DIR += protocol/lte_sec/enas/interface |
| 523 | XGEN_INC_DIR += protocol/lte_sec/errc/interface \ |
| 524 | protocol/lte_sec/errc/common/include \ |
| 525 | protocol/lte_sec/errc/include \ |
| 526 | interface/service/icd/errc \ |
| 527 | interface/service/icd/event/errc |
| 528 | endif |
| 529 | |
| 530 | XGEN_INC_DIR += $(strip $(TSTDIR))/database/gv \ |
| 531 | $(strip $(TSTDIR))/database/gv/ext \ |
| 532 | $(strip $(TSTDIR))/database/unionTag \ |
| 533 | $(strip $(TSTDIR))/database/unionTag/ext \ |
| 534 | $(strip $(TSTDIR))/database \ |
| 535 | $(BUILD_TSTDIR)/database/unionTag \ |
| 536 | $(BUILD_TSTDIR)/database/unionTag/ext |
| 537 | XGEN_INC_DIR += ./service/fs/common/include |
| 538 | XGEN_INC_DIR += driver/sys_drv/cache/inc |
| 539 | |
| 540 | XGEN_INC_DIR += interface/protocol/l2_utility/flc2_v2 |
| 541 | XGEN_INC_DIR += interface/protocol/l2_utility/l2_sec_utility |
| 542 | XGEN_INC_DIR += interface/protocol/3g/src |
| 543 | XGEN_INC_DIR += protocol/ephy/common |
| 544 | XGEN_INC_DIR += l1/ul1/common |
| 545 | #XGEN_INC_DIR += l1/ul1/common |
| 546 | |
| 547 | ifdef CMUX_SUPPORT |
| 548 | ifeq ($(strip $(CMUX_SUPPORT)),TRUE) |
| 549 | ifeq ($(filter L1S BASIC UDVT,$(TEST_LOAD_TYPE)),) |
| 550 | # move from Option.mak |
| 551 | XGEN_INC_DIR += driver/cmux/include |
| 552 | endif |
| 553 | endif |
| 554 | endif |
| 555 | |
| 556 | ifeq ($(strip $(RTOS)),MERTOS) |
| 557 | XGEN_INC_DIR += ./service/mertos/include |
| 558 | endif |
| 559 | |
| 560 | ifeq ($(strip $(CUST_CODE)),TC01) |
| 561 | XGEN_INC_DIR += custom/protocol/common/atci/include |
| 562 | endif |
| 563 | |
| 564 | ifeq ($(strip $(IMS_SUPPORT)),TRUE) |
| 565 | XGEN_INC_DIR += protocol/imc/frmk/pub \ |
| 566 | protocol/imc/pub \ |
| 567 | protocol/imc/sap \ |
| 568 | protocol/layer4/sdm/include \ |
| 569 | protocol/imc/imcsms/include \ |
| 570 | protocol/iwlan/interface \ |
| 571 | protocol/interface/iwlan |
| 572 | endif |
| 573 | |
| 574 | XGEN_INC_DIR += l1/interface/ll1 |
| 575 | #fdr_reorg |
| 576 | XGEN_INC_DIR += protocol/3g/urr \ |
| 577 | protocol/interface/general |
| 578 | |
| 579 | XGEN_INC_DIR += interface/l1/cl1/common \ |
| 580 | modem/interface/genera \ |
| 581 | interface/l1/cl1/common \ |
| 582 | modem/interface/general \ |
| 583 | interface/protocol/nas_c2k \ |
| 584 | interface/l1/gl1 \ |
| 585 | l1/interface/gl1 \ |
| 586 | protocol/interface/iwlan \ |
| 587 | protocol/3g/urr/interface/enum \ |
| 588 | protocol/3g/urr/interface/define \ |
| 589 | interface/protocol/agps \ |
| 590 | l1/cl1/interface \ |
| 591 | modem/c2k/inc \ |
| 592 | protocol/l2_c2k/hlp \ |
| 593 | protocol/3g/ul2/ul2_fdd/interface/local_inc \ |
| 594 | interface/protocol/as_c2k/1xrtt \ |
| 595 | interface/protocol/as_c2k/common \ |
| 596 | interface/protocol/as_c2k/evdo \ |
| 597 | interface/protocol/l2_c2k/common |
| 598 | XGEN_INC_DIR += interface/protocol/3g/csr |
| 599 | |
| 600 | XGEN_INC_DIR_FDD += protocol/3g/interface/uas/uas_fdd/include \ |
| 601 | protocol/3g/interface/uas/uas_fdd/enum \ |
| 602 | protocol/3g/interface/uas/uas_fdd/include \ |
| 603 | protocol/3g/ul2/ul2_fdd/bmc/include \ |
| 604 | protocol/3g/ul2/ul2_fdd/common/include \ |
| 605 | protocol/3g/ul2/ul2_fdd/umac/include \ |
| 606 | protocol/3g/ul2/ul2_fdd/interface/include \ |
| 607 | protocol/3g/ul2/ul2_fdd/interface/enum \ |
| 608 | protocol/3g/ul2/ul2_fdd/urlc/include \ |
| 609 | protocol/3g/interface/ul2/ul2_fdd/include \ |
| 610 | protocol/3g/ul2/ul2_fdd/seq/include \ |
| 611 | protocol/3g/urr/urr_fdd/cise/include \ |
| 612 | protocol/3g/ul2/ul2_fdd/pdcp/include \ |
| 613 | protocol/3g/ul2/ul2_fdd/rabm/include \ |
| 614 | protocol/3g/urr/urr_fdd/meme/include \ |
| 615 | protocol/3g/urr/urr_fdd/rrce/include \ |
| 616 | protocol/3g/urr/urr_fdd/dbme/include \ |
| 617 | protocol/3g/urr/urr_fdd/ldbme/include \ |
| 618 | protocol/3g/urr/urr_fdd/slce/include \ |
| 619 | |
| 620 | |
| 621 | XGEN_INC_DIR_TDD += protocol/3g/interface/uas/uas_tdd/enum \ |
| 622 | protocol/3g/ul2/ul2_tdd/bmc/include \ |
| 623 | protocol/3g/ul2/ul2_tdd/common/include \ |
| 624 | protocol/3g/ul2/ul2_tdd/umac/include \ |
| 625 | protocol/3g/ul2/ul2_tdd/interface/include \ |
| 626 | protocol/3g/ul2/ul2_tdd/interface/enum \ |
| 627 | protocol/3g/ul2/ul2_tdd/urlc/include \ |
| 628 | protocol/3g/interface/ul2/ul2_tdd/include \ |
| 629 | protocol/3g/urr/urr_tdd/cise/include \ |
| 630 | protocol/3g/ul2/ul2_tdd/pdcp/include \ |
| 631 | protocol/3g/ul2/ul2_tdd/rabm/include \ |
| 632 | protocol/3g/urr/urr_tdd/meme/include \ |
| 633 | protocol/3g/urr/urr_tdd/rrce/include \ |
| 634 | protocol/3g/urr/urr_tdd/dbme/include \ |
| 635 | protocol/3g/urr/urr_tdd/ldbme/include \ |
| 636 | protocol/3g/interface/uas/uas_tdd/include \ |
| 637 | protocol/3g/urr/urr_tdd/slce/include |
| 638 | |
| 639 | |
| 640 | # xgen include path for fdd |
| 641 | ifeq ($(strip $(XGEN_SWITCH_FDD_TDD)),FDD) |
| 642 | XGEN_INC_DIR += $(XGEN_INC_DIR_FDD) |
| 643 | endif |
| 644 | # xgen include path for tdd |
| 645 | ifeq ($(strip $(XGEN_SWITCH_FDD_TDD)),TDD) |
| 646 | XGEN_INC_DIR += $(XGEN_INC_DIR_TDD) |
| 647 | endif |
| 648 | ifeq ($(strip $(XGEN_SWITCH_FDD_TDD)),NONE) |
| 649 | XGEN_INC_DIR += $(XGEN_INC_DIR_FDD) $(XGEN_INC_DIR_TDD) |
| 650 | endif |
| 651 | |
| 652 | #tdd folder for fdd part using. including path order should be care |
| 653 | XGEN_INC_DIR += protocol/3g/interface/uas/uas_tdd/include |
| 654 | |
| 655 | # EL1 CODEGEN PATH |
| 656 | XGEN_INC_DIR += l1/el1/el1d_pub/comm/inc/amsc \ |
| 657 | l1/el1/el1d_pub/comm/inc/cm \ |
| 658 | l1/el1/el1d_pub/comm/inc/common \ |
| 659 | l1/el1/el1d_pub/comm/inc/fwk \ |
| 660 | l1/el1/el1d_pub/comm/inc/cs \ |
| 661 | l1/el1/el1d_pub/comm/inc/pos \ |
| 662 | l1/el1/el1d_pub/comm/inc/ps \ |
| 663 | l1/el1/el1d_pub/comm/inc/rfdfe \ |
| 664 | l1/el1/el1d_pub/comm/inc/rfd \ |
| 665 | l1/el1/el1d_pub/comm/inc/rfc \ |
| 666 | l1/el1/el1d_pub/comm/inc/rxdfe \ |
| 667 | l1/el1/el1d_pub/comm/inc/txdfe \ |
| 668 | l1/el1/el1d_pub/comm/inc/rx \ |
| 669 | l1/el1/el1d_pub/comm/inc/tx \ |
| 670 | l1/el1/el1d_pub/comm/inc/agc \ |
| 671 | l1/el1/el1d_pub/comm/inc/tpc \ |
| 672 | l1/el1/el1d_pub/comm/trc \ |
| 673 | l1/el1/el1d_pub \ |
| 674 | l1/el1/common \ |
| 675 | protocol/lte_sec/common/include \ |
| 676 | l1/el2/emac/src \ |
| 677 | interface/l1/el1/el1c/include \ |
| 678 | interface/l1/idc \ |
| 679 | interface/l1/el1/el1c_sec \ |
| 680 | l1/lte_sec/interface \ |
| 681 | interface/protocol/general \ |
| 682 | l1/interface/mml1/mml1_rf_common |
| 683 | |
| 684 | XGEN_INC_DIR += protocol/interface/lte \ |
| 685 | protocol/interface \ |
| 686 | $(UNIVERSAL_COMMON)/interface/modem \ |
| 687 | $(UNIVERSAL_COMMON)/interface/modem/mt6297/common/nr/external/custom \ |
| 688 | |
| 689 | ifeq ($(strip $(EL2_ARCH_VERSION)),EL2_ARCH_V1) |
| 690 | XGEN_INC_DIR += protocol/el2/interface |
| 691 | XGEN_INC_DIR += protocol/interface/el2 |
| 692 | XGEN_INC_DIR += protocol/interface/el2/em |
| 693 | endif |
| 694 | |
| 695 | ifeq ($(strip $(EL2_ARCH_VERSION)),EL2_ARCH_V2) |
| 696 | XGEN_INC_DIR += protocol/enl2/interface |
| 697 | XGEN_INC_DIR += protocol/interface/enl2 |
| 698 | XGEN_INC_DIR += protocol/interface/enl2/el2/em |
| 699 | endif |
| 700 | |
| 701 | ifneq ($(filter __LTE_PHY_TEST__,$(COM_DEFS)),) |
| 702 | XGEN_INC_DIR += $(EL1_FOLDER)/$(strip $(EL1C_MD_VER_FOLDER))/tstm/include |
| 703 | else |
| 704 | XGEN_INC_DIR += $(EL1_FOLDER)/$(strip $(EL1C_MD_VER_FOLDER))/tstm_meta/include \ |
| 705 | $(EL1_FOLDER)/comm/tstm_meta/include |
| 706 | endif |
| 707 | |
| 708 | ifeq ($(strip $(LTE_DUMMY_PROTOCOL_ENABLE)),TRUE) |
| 709 | XGEN_INC_DIR += l1/el1/el1c/comm/l1edps/include/internal \ |
| 710 | interface/protocol/lte |
| 711 | endif |
| 712 | |
| 713 | ifeq ($(strip $(call Upper,$(UE_SIMULATOR))),TRUE) |
| 714 | #LTE UE SIMULATOR |
| 715 | ifeq ($(strip $(U4G_ADAPTOR_SUPPORT)),TRUE) |
| 716 | XGEN_INC_DIR += $(strip $(EL1_FOLDER))/intf |
| 717 | else |
| 718 | #C2K UE SIMULATOR |
| 719 | XGEN_INC_DIR += $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/irt/include \ |
| 720 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/irt/src \ |
| 721 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/common/include \ |
| 722 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/interface \ |
| 723 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/csr/include \ |
| 724 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/csr/src \ |
| 725 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/meas/include \ |
| 726 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/meas/src \ |
| 727 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/ch/include \ |
| 728 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/ch/src \ |
| 729 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/idc/src \ |
| 730 | $(strip $(EL1_FOLDER))/comm/idc/include \ |
| 731 | $(strip $(EL1_FOLDER))/comm/idc/src \ |
| 732 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/common/include \ |
| 733 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/it/include \ |
| 734 | l1/lte_sec/interface/etmr \ |
| 735 | l1/idc/include \ |
| 736 | $(UNIVERSAL_COMMON)/interface/modem/mt6297/common/nr/external/custom \ |
| 737 | l1/idc/src |
| 738 | endif |
| 739 | else |
| 740 | #non UE SIMULATOR |
| 741 | XGEN_INC_DIR += $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/irt/include \ |
| 742 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/irt/src \ |
| 743 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/common/include \ |
| 744 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/interface \ |
| 745 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/csr/include \ |
| 746 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/csr/src \ |
| 747 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/meas/include \ |
| 748 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/meas/src \ |
| 749 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/ch/include \ |
| 750 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/ch/src \ |
| 751 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/idc/src \ |
| 752 | $(strip $(EL1_FOLDER))/comm/idc/include \ |
| 753 | $(strip $(EL1_FOLDER))/comm/idc/src \ |
| 754 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/common/include \ |
| 755 | $(strip $(EL1_FOLDER))/$(strip $(EL1C_MD_VER_FOLDER))/it/include \ |
| 756 | l1/el1/el1c/$(strip $(EL1C_MD_VER_FOLDER))/common/include \ |
| 757 | l1/idc/include \ |
| 758 | l1/idc/src \ |
| 759 | l1/tl1/tl1itf/inc |
| 760 | endif |
| 761 | |
| 762 | #LTT/UTT/GTEST CODEGEN PATH |
| 763 | #ifeq ($(strip $(call Upper,$(LTT_ENABLE))),TRUE) |
| 764 | XGEN_INC_DIR += protocol/interface/utt |
| 765 | #endif |
| 766 | |
| 767 | # C2K XGEN PATH |
| 768 | ifneq ($(filter __CL1_TASK_ENABLE__,$(COM_DEFS)),) |
| 769 | XGEN_INC_DIR += protocol/interface/as_c2k \ |
| 770 | l1/cl1/rfd/external |
| 771 | endif |
| 772 | |
| 773 | |
| 774 | ifneq ($(strip $(call Upper,$(C2K_MODE_SUPPORT))),NONE) |
| 775 | XGEN_INC_DIR += protocol/interface/as_c2k \ |
| 776 | l1/cl1/c2k_dma_model \ |
| 777 | interface/protocol/l2_c2k/common \ |
| 778 | protocol/l2_c2k/fcp \ |
| 779 | interface/protocol/l2_c2k/evdo \ |
| 780 | protocol/l2_c2k/rcp \ |
| 781 | interface/protocol/l2_c2k/evdo \ |
| 782 | custom/protocol/l4_c2k \ |
| 783 | interface/protocol/l2_c2k/1xrtt \ |
| 784 | interface/protocol/as_c2k/1xrtt \ |
| 785 | protocol/as_c2k/pe \ |
| 786 | protocol/as_c2k/psw \ |
| 787 | protocol/nas_c2k/ota \ |
| 788 | protocol/l2_c2k/common \ |
| 789 | l1/cl1/common \ |
| 790 | protocol/l4_c2k/atc \ |
| 791 | protocol/l4_c2k/val/rpc \ |
| 792 | protocol/l4_c2k/val \ |
| 793 | protocol/l4_c2k/uim \ |
| 794 | protocol/l2_c2k/lmd \ |
| 795 | interface/protocol/l2_c2k/1xrtt \ |
| 796 | protocol/as_c2k/clc \ |
| 797 | interface/protocol/as_c2k/evdo \ |
| 798 | protocol/c2k/sbp \ |
| 799 | protocol/as_c2k/slc \ |
| 800 | interface/protocol/as_c2k/evdo \ |
| 801 | l1/cl1/rmc \ |
| 802 | interface/l1/cl1/evdo \ |
| 803 | protocol/nas_c2k/css \ |
| 804 | protocol/nas_c2k/css/irat \ |
| 805 | l1/cl1/hsc \ |
| 806 | interface/l1/cl1/common \ |
| 807 | l1/cl1/evl1 \ |
| 808 | interface/l1/cl1/evdo \ |
| 809 | l1/cl1/common \ |
| 810 | interface/l1/cl1/common \ |
| 811 | interface/l1/cl1/common \ |
| 812 | interface/l1/cl1/common \ |
| 813 | interface/l1/cl1/common/HW \ |
| 814 | l1/cl1/xl1 \ |
| 815 | interface/l1/cl1/1xrtt \ |
| 816 | l1/cl1/l1d \ |
| 817 | interface/l1/cl1/1xrtt \ |
| 818 | l1/cl1/tas \ |
| 819 | l1/cl1/rfd/external |
| 820 | |
| 821 | XGEN_INC_DIR += protocol/smt/c2k/vmmi_bridge/intf |
| 822 | endif |
| 823 | |
| 824 | XGEN_INC_DIR += interface/driver/devdrv/busmpu |
| 825 | XGEN_INC_DIR += interface/l1/mml1/external/mml1_cdf/inc/common \ |
| 826 | interface/l1/mml1/external/mml1_rf/mmrf_common \ |
| 827 | interface/l1/mml1/external/mml1_cdf/inc/sku_mgr \ |
| 828 | interface/l1/mml1/external/mml1_cdf/device_mgr \ |
| 829 | interface/l1/mml1/external/mml1_cdf/inc/device_drivers_rf \ |
| 830 | interface/l1/mml1/external/mml1_cdf/inc/device_drivers_fe \ |
| 831 | custom/l1/mml1_devices/$(strip $(MM_DEVICE)) \ |
| 832 | l1/interface/mml1/mml1_cdf/common \ |
| 833 | l1/interface/mml1/mml1_cdf/sku_mgr \ |
| 834 | l1/interface/mml1/mml1_cdf/seq_container \ |
| 835 | l1/interface/mml1/mml1_cdf/device_drivers_rf \ |
| 836 | l1/interface/mml1/mml1_cdf/device_drivers_fe |
| 837 | XGEN_INC_DIR += protocol/wo/interface |
| 838 | |
| 839 | ifeq ($(strip $(FIVEG_MODE_SUPPORT)),FIVEG_MODE) |
| 840 | XGEN_INC_DIR += protocol/enl2/common/enl2_free/src \ |
| 841 | protocol/enl2/pdcp/common/src \ |
| 842 | protocol/enl2/pdcp/npdcp/src \ |
| 843 | $(strip $(PROJDIR))/modem/nras_asn \ |
| 844 | protocol/interface/enl2/nl2/5g \ |
| 845 | protocol/interface/nrrc \ |
| 846 | protocol/interface/2g/5g \ |
| 847 | protocol/interface/3g/urr/5g \ |
| 848 | protocol/interface/errc/5g \ |
| 849 | protocol/interface/nas_multimode/5g \ |
| 850 | protocol/interface/enas/5g \ |
| 851 | protocol/interface/lte_sec/5g \ |
| 852 | protocol/interface/vgnas/5g \ |
| 853 | protocol/interface/lte_sec/5g \ |
| 854 | protocol/vgnas/interface \ |
| 855 | protocol/enl2/interface/5g \ |
| 856 | protocol/enl2/mac/nmac/interface \ |
| 857 | protocol/enl2/mac/nmac/nmac_dl/include \ |
| 858 | protocol/enl2/rlc/nrlc/nrlcul/include \ |
| 859 | protocol/enl2/rlc/nrlc/interface/5g \ |
| 860 | protocol/enl2/rlc/nrlc/common/include \ |
| 861 | interface/protocol/enl2/5g |
| 862 | |
| 863 | XGEN_INC_DIR += protocol/nrrc/interface \ |
| 864 | protocol/nrrc/config/include \ |
| 865 | protocol/nrrc/nconn/include \ |
| 866 | protocol/nrrc/idle/include \ |
| 867 | protocol/nrrc/main/include \ |
| 868 | protocol/nrrc/meas/include \ |
| 869 | protocol/nrrc/background/include \ |
| 870 | protocol/nrrc/scg/include \ |
| 871 | protocol/nrrc/search/include \ |
| 872 | protocol/nrrc/si/include \ |
| 873 | protocol/nrrc/utility/include \ |
| 874 | protocol/interface/vgnas/5g \ |
| 875 | protocol/interface/vgnas \ |
| 876 | interface/l1/nl1/external/5g \ |
| 877 | $(UNIVERSAL_COMMON)/interface/modem/mt6297/common/nr/external/5g \ |
| 878 | $(UNIVERSAL_COMMON)/interface/modem/mt6297/common/nr/external \ |
| 879 | $(UNIVERSAL_COMMON)/interface/modem/mt6297/common/nr/internal \ |
| 880 | $(UNIVERSAL_COMMON)/interface/modem/mt6297/common/nr/external/custom \ |
| 881 | interface/l1/nl1/external/4g \ |
| 882 | interface/l1/nl1 |
| 883 | endif |
| 884 | |
| 885 | ifeq ($(strip $(EL2_ARCH_VERSION)),EL2_ARCH_V2) |
| 886 | ifeq ($(strip $(EUTRAN_MODE_SUPPORT)), EUTRAN_MODE) |
| 887 | XGEN_INC_DIR += protocol/interface/enl2/en_common \ |
| 888 | protocol/enl2/interface/sim_api \ |
| 889 | driver/lhifcore/include \ |
| 890 | driver/dpcopro/inc \ |
| 891 | interface/service/prbm \ |
| 892 | protocol/enl2/interface/icd \ |
| 893 | protocol/enl2/interface/msg |
| 894 | else |
| 895 | ifeq ($(strip $(FIVEG_MODE_SUPPORT)),FIVEG_MODE) |
| 896 | XGEN_INC_DIR += protocol/interface/enl2/en_common \ |
| 897 | protocol/enl2/interface/sim_api \ |
| 898 | driver/lhifcore/include \ |
| 899 | driver/dpcopro/inc \ |
| 900 | interface/service/prbm \ |
| 901 | protocol/enl2/interface/icd \ |
| 902 | protocol/enl2/interface/msg |
| 903 | endif |
| 904 | endif |
| 905 | endif |
| 906 | |
| 907 | # NL1 CODEGEN PATH |
| 908 | ifeq ($(strip $(FIVEG_MODE_SUPPORT)),FIVEG_MODE) |
| 909 | XGEN_INC_DIR += l1/nl1/public/md97/inc/tx \ |
| 910 | l1/nl1/public/md97/inc/rx \ |
| 911 | l1/nl1/public/md97/inc/interface/rx \ |
| 912 | l1/nl1/public/md97/inc/interface/fwk \ |
| 913 | l1/nl1/public/md97/inc/interface/ctrl \ |
| 914 | l1/nl1/public/md97/inc/interface/tst \ |
| 915 | l1/nl1/public/md97/inc/ctrl \ |
| 916 | l1/nl1/public/md97/inc/bm \ |
| 917 | l1/nl1/public/md97/inc/interface/bm \ |
| 918 | l1/nl1/public/md97/inc/mpc/comm \ |
| 919 | l1/nl1/public/md97/inc/mpc/mob \ |
| 920 | l1/nl1/public/md97/inc/rfcc/lib \ |
| 921 | l1/nl1/public/md97/inc/interface/comm \ |
| 922 | l1/nl1/public/md97/inc/interface/hrt \ |
| 923 | l1/nl1/public/md97/inc/interface/lpwr \ |
| 924 | l1/nl1/public/md97/inc/interface/tc \ |
| 925 | l1/nl1/public/md97/inc/hrt \ |
| 926 | l1/interface/nl1 \ |
| 927 | l1/interface/ll1 \ |
| 928 | interface/l1/nl1 \ |
| 929 | $(UNIVERSAL_COMMON)/interface/modem/mt6297/CSIF/slm/nr/ \ |
| 930 | $(UNIVERSAL_COMMON)/interface/modem/mt6297/CSIF/slm/nr/cmd/inc \ |
| 931 | $(UNIVERSAL_COMMON)/interface/modem/mt6297/CSIF/slm/nr/rpt/inc |
| 932 | endif |
| 933 | |
| 934 | |
| 935 | XGEN_INC_DIR_TARGET := $(XGEN_INC_DIR) |
| 936 | |
| 937 | ifeq ($(strip $(MODIS_CONFIG)),TRUE) |
| 938 | ifeq ($(MPD_SOURCE_4G_BUILD),TRUE) |
| 939 | XGEN_INC_DIR += $(strip $(TSTDIR_SEC))/database_modis/gv \ |
| 940 | $(strip $(TSTDIR_SEC))/database_modis/unionTag \ |
| 941 | $(BUILD_TSTDIR_SEC)/database_modis/unionTag |
| 942 | endif |
| 943 | XGEN_INC_DIR += $(strip $(TSTDIR))/database_modis/gv \ |
| 944 | $(strip $(TSTDIR))/database_modis/gv/ext \ |
| 945 | $(strip $(TSTDIR))/database_modis/unionTag \ |
| 946 | $(strip $(TSTDIR))/database_modis/unionTag/ext \ |
| 947 | $(BUILD_TSTDIR)/database_modis/unionTag \ |
| 948 | $(BUILD_TSTDIR)/database_modis/unionTag/ext \ |
| 949 | $(BUILD_TSTDIR)/database_modis/converted_icd_headers |
| 950 | XGEN_INC_DIR += protocol/as_multimode/ratdm/cmn_sig/include |
| 951 | XGEN_INC_DIR := $(MODISPROJDIR)/_BUILD_XGEN/modem/eas_asn \ |
| 952 | $(XGEN_INC_DIR) |
| 953 | |
| 954 | ifeq ($(strip $(FIVEG_MODE_SUPPORT)),FIVEG_MODE) |
| 955 | ifeq ($(strip $(MODIS_COMPILER)),VC2017) |
| 956 | XGEN_INC_DIR += interface/protocol/utt_v2 |
| 957 | else |
| 958 | ifeq ($(strip $(call uc,$(OS_VERSION))),LINUX) |
| 959 | XGEN_INC_DIR += interface/protocol/utt_v2 |
| 960 | else |
| 961 | XGEN_INC_DIR += interface/protocol/utt |
| 962 | endif |
| 963 | endif |
| 964 | endif |
| 965 | endif |
| 966 | |
| 967 | ifdef MCIF_SUPPORT |
| 968 | ifeq ($(strip $(MCIF_SUPPORT)),TRUE) |
| 969 | XGEN_INC_DIR += interface/service/mcif |
| 970 | endif |
| 971 | endif |
| 972 | XGEN_INC_DIR += interface/service/mdfpm |
| 973 | |
| 974 | ifdef SUBMARINE_SUPPORT |
| 975 | ifeq ($(strip $(SUBMARINE_SUPPORT)),TRUE) |
| 976 | XGEN_INC_DIR += interface/service/wifi_proxy |
| 977 | endif |
| 978 | endif |
| 979 | |
| 980 | ifdef WIFIPROXY_SUPPORT |
| 981 | ifeq ($(strip $(WIFIPROXY_SUPPORT)), TRUE) |
| 982 | XGEN_INC_DIR += interface/service/wifi_proxy |
| 983 | endif |
| 984 | endif |
| 985 | |
| 986 | XGEN_INC_DIR += interface/service/mtf |