view g23m/system/busyb/unbusy_optionset.xml @ 249:b5f180a36b22

g23m/copyblobs.sh: l1tm_cust.obj deblobbed
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 16 Jan 2017 03:18:08 +0000
parents 509db1a7b7b8
children
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<optionSet description="compiler options" name="Options">
  <options>
    <!-- FIXME: may need to merge some options (like em_opt, etc.) in global_opt, depending on the affected
     entities: if all are affected, use global_opt, if only GPRS entities are affected use gprs_opt, etc. -->
    <optionDef description="options for the generation process needed ccdgen" name="makcdg_opt">
      <condOption name="ccdgenff">
        <condValue pathRef="CCDGEN_FFLAGS" />
      </condOption>
      <condOption name="cdgincdir">
        <condValue pathRef="OUT_CDGINC" />
      </condOption>
      <condOption name="cdgincdir_tools">
        <condValue pathRef="OUT_CDGINC_TOOLS"/>
      </condOption>
      <condOption name="tdcincdir">
        <condValue pathRef="OUT_TDCINC" />
      </condOption>
      <condOption name="tdclibdir">
        <condValue pathRef="OUT_LIB_TDCLIB" />
      </condOption>
      <condOption name="str2inddir">
        <condValue pathRef="OUT_TRACE" />
      </condOption>
      <condOption name="sapdir">
        <condValue pathRef="G23_DOC_SAP" />
      </condOption>
      <condOption name="aimdir">
        <condValue pathRef="G23_DOC_MSG" />
      </condOption>
    </optionDef>
    <optionDef description="global options" name="global_opt">
      <condOption name="define">
        <condValue value="CCDTABLES_EXTERN" />
        <condValue value="OPTION_MULTITHREAD" />
        <condValue value="NEW_FRAME" />
        <condValue value="NEW_ENTITY" />
        <condValue value="_TARGET_" />
        <!-- FIXME: for simulation -->
        <condValue value="SHARED_VSI" />
        <condValue require="PS==1" value="MEMORY_SUPERVISION" />
        <condValue require="PS==1" value="OPTIMIZE_POOL" />
        <condValue value="ALR" />
        <condValue value="FF_EOTD" require="EOTD==1" />
        <condValue value="FF_HOMEZONE" require="HZONE==1" />
        <condValue value="FF_MMI_SAT_ICON" require="SATICON==1" />
        <condValue value="FF_MMI_EMS" require="EMS==1" />
        <condValue value="FF_MMI_MMS" require="MMS==1" />
        <condValue value="FF_MMI_SMS_DYNAMIC" require="SMS_DYNAMIC==1" />        
        <condValue value="FF_GPF_TCPIP" require="TCPIP==1 || TCPIP==2 || WAP==3" />
        <condValue value="CO_TCPIP_TESTAPP" require="TCPIP==2" />
        <condValue value="FF_TCP_IP" require="AAA_DAA==1" />
        <condValue value="FF_PKTIO" require="PKTI!=0" />
        <condValue value="FF_TWO_UART_PORTS" require="DP==1" />
        <!-- NGENGE: entity switch -->
        <condValue value="FF_MUX" require="MUX!=0"/>
        <condValue value="FF_CPHS" require="CPHS==1" />
        <condValue value="_TMS470" />
        <condValue value="UART" require="UART==1" />
        <condValue value="SIM_PERS" require="SIMP==1" />
        <condValue value="FF_ATI" require="FF_ATI==1" />
      </condOption>
      <condOption name="undefine">
        <condValue value="FF_TCP_IP" require="AAA_DAA!=1" />
        <condValue value="TI_DUAL_MODE" />
      </condOption>
      <condOption name="include">
        <condValue pathRef="G23_INC" />
        <condValue pathRef="GPF_INC" />
        <condValue pathRef="G23_INCLUDE" />
        <condValue pathRef="OUT_CDGINC" />
        <condValue pathRef="CPS_CSR_INTERFACE" require="EOTD==1" />
        <condValue pathRef="CPS_CSR_SMS" require="EOTD==1" />
        <condValue pathRef="INC_TOOLS" />
      </condOption>
    </optionDef>
    <optionDef description="gprs global options" name="gprs_opt">
      <condOption name="define">
        <condValue require="PMODE==2" value="PHONEBOOK_EXTENSION" />
        <condValue require="PMODE==2" value="GPRS" />
      </condOption>
      <condOption name="undefine">
        <condValue require="PMODE!=2" value="GPRS" />
      </condOption>
    </optionDef>
    <optionDef description="fax and data options" name="fd_opt">
      <condOption name="define">
        <condValue require="FF_ATI==1" value="AT_INTERPRETER" />
        <condValue value="USE_L1FD_FUNC_INTERFACE" />
        <condValue require="SRVC!=0" value="FAX_AND_DATA" />
        <condValue require="SRVC==1" value="FF_FAX" />
        <condValue require="SRVC!=0" value="USE_L2FD_FUNC_INTERFACE" />
        <condValue require="WAP==1 || WAP==3" value="FF_WAP" />
        <condValue require="SATE==1" value="FF_SAT_E" />
        <condValue require="SATE==1 || WAP==1" value="CO_UDP_IP" />
        <condValue value="SRVC=" valRef="SRVC" />
      </condOption>
      <condOption name="undefine">
        <condValue require="SRVC==0" value="FAX_AND_DATA" />
      </condOption>
      <!-- FIXME: may need additional "include"s for WAP? see condat_lib_ip.mak #298 ff. -->
    </optionDef>
    <optionDef description="trace options" name="trace_opt">
      <!-- only support no traces (NTRC==1) or compressed traces (NTRC==4) -->
      <condOption name="define">
        <condValue value="NWARN" />
        <condValue require="NTRC == 1" value="NCONFIG" />
        <condValue require="NTRC == 1" value="NTRACE" />
      </condOption>
    </optionDef>
    <optionDef description="str2ind options" name="str2ind_opt">
      <condOption name="str2ind_dir">
        <condValue pathRef="OUT_TRACE" />
      </condOption>
      <condOption name="table_file">
        <condValue pathRef="OUT_TRACE_STR2IND_TAB" />
      </condOption>
      <condOption name="version_file">
        <condValue pathRef="OUT_TRACE_STR2IND_VERSION" />
      </condOption>
      <condOption name="log_file">
        <condValue pathRef="OUT_TRACE_STR2IND_LOG" />
      </condOption>
    </optionDef>
    <optionDef description="engineering mode options" name="em_opt">
      <condOption name="define">
        <condValue require="EM==1" value="FF_EM_MODE" />
      </condOption>
      <condOption name="undefine">
        <condValue require="EM==0" value="FF_EM_MODE" />
      </condOption>
    </optionDef>
    <optionDef description="vocoder functional interface" name="vc_opt">
      <condOption name="define">
        <condValue require="VOCODER_FUNC_INTERFACE==1" value="VOCODER_FUNC_INTERFACE" />
      </condOption>
      <condOption name="undefine">
        <condValue require="VOCODER_FUNC_INTERFACE==0" value="VOCODER_FUNC_INTERFACE" />
      </condOption>
    </optionDef>
    <optionDef description="timezone options" name="tz_opt">
      <condOption name="define">
        <condValue require="FF_TIMEZONE==1" value="FF_TIMEZONE" />
      </condOption>
      <condOption name="undefine">
        <condValue require="FF_TIMEZONE==0" value="FF_TIMEZONE" />
      </condOption>
    </optionDef>
    <optionDef description="Dual Port options" name="dp_opt">
      <condOption name="define">
        <condValue require="DP==1" value="FF_TWO_UART_PORTS" />
      </condOption>
    </optionDef>
    <optionDef description="Packet IO options" name="pktio_opt">
      <condOption name="define">
        <condValue require="PKTI==1" value="FF_PKTIO" />
      </condOption>
    </optionDef>
    <!-- NGENGE: mux entity -->
    <optionDef description="Mux options" name="mux_opt">
      <condOption name="define">
        <condValue require="MUX==1" value="FF_MUX"/>
      </condOption>
    </optionDef>
    <optionDef description="PSI options" name="psi_opt">
      <condOption name="define">
        <condValue require="PSI==1" value="FF_PSI" />
      </condOption>
    </optionDef>
    <optionDef description="Test Mobile options" name="tm_opt">
      <condOption name="define">
        <condValue require="TESTMOBILE==1" value="FF_TESTMOBILE" />
      </condOption>
    </optionDef>
    <optionDef description="Test Mobile Special (?) options" name="tmspecial_opt">
      <!-- FIXME: this option seems to be not used, correct? -->
      <condOption name="define">
        <condValue require="TM_SPECIAL==1" value="TM_SPECIAL" />
      </condOption>
    </optionDef>
    <optionDef description="SIM toolkit options" name="tk_opt">
      <!-- TK is always defined now -->
      <condOption name="define">
        <condValue value="SIM_TOOLKIT" />
      </condOption>
    </optionDef>
    <optionDef description="SMS PDU mode options" name="pdu_opt">
      <condOption name="define">
        <condValue require="PDU==1" value="SMS_PDU_SUPPORT" />
      </condOption>
      <condOption name="undefine">
        <condValue require="PDU==0" value="SMS_PDU_SUPPORT" />
      </condOption>
    </optionDef>
    <optionDef description="MMI selection" name="mmi_opt">
      <!-- FIXME: who uses these options? all? frame config? gdi? -->
      <condOption name="define">
        <condValue value="MMI=" valRef="MMI" />
        <condValue require="MMI==0" value="ACI" />
        <condValue require="MMI==1" value="SMI" />
        <condValue require="MMI==2" value="MFW" />
        <condValue require="MMI==3" value="ACIA" />
        <condValue require="MMI==3" value="FF_MMI_RIV" />
        <condValue require="MMI==4" value="ACI" />
        <condValue require="MMI==4" value="FF_ESIM" />
      </condOption>
    </optionDef>
    <optionDef description="Bluetooth support options" name="bt_opt">
      <condOption name="define">
        <condValue require="BT!=0" value="BT_ADAPTER" />
        <condValue require="BT==2" value="BT_INTERFACE" />
      </condOption>
      <condOption name="undefine">
        <condValue value="BT_ADAPTER" require="BT==0" />
        <condValue value="BT_INTERFACE" require="BT==0" />
      </condOption>
      <!-- FIXME: "include" needed here? condat_lib_ip.mak #332 -->
    </optionDef>
    <optionDef description="DTI options" name="dti_opt">
      <condOption name="define">
        <condValue value="DTI2" require="UART==1" />
      </condOption>
    </optionDef>
    <optionDef description="DTI option for DTI manager and related code" name="dticode_opt">
      <condOption name="define">
        <condValue require="DTICODE==1" value="DTI" />
      </condOption>
      <condOption name="undefine">
        <condValue value="DTI" require="DTICODE==0" />
      </condOption>
    </optionDef>
    <optionDef description="IMEI common lib options" name="imei_opt">
      <condOption name="define">
        <condValue require="PROT_IMEI==1" value="FF_PROTECTED_IMEI" />
        <condValue require="(CHIPSET==7) || (CHIPSET==8) || (CHIPSET==10) || (CHIPSET==11)" value="CL_IMEI_CALYPSO_PLATFORM" />
        <condValue require="(CHIPSET==12)" value="CL_IMEI_CALYPSO_PLUS_PLATFORM" />
      </condOption>
      <condOption name="undefine">
        <condValue require="PROT_IMEI==0" value="FF_PROTECTED_IMEI" />
      </condOption>
    </optionDef>
    <optionDef description="CCDDATA options" name="ccddata_opt">
      <condOption name="define">
        <condValue value="_TMS470" require="BUILD_UTILITIES==0" />
        <condValue value="NEW_FRAME" />
        <condValue value="NEW_ENTITY" />
        <condValue value="CCDDATA_STATIC_DATA" require="BUILD_UTILITIES==0" />
        <condValue value="WIN32" require="BUILD_UTILITIES==1" />
        <condValue value="_WIN32_" require="BUILD_UTILITIES==1" />
      </condOption>
    </optionDef>
    <optionDef description="BMI options" name="bmi_opt">
      <condOption name="define">
        <condValue require="GAME==1" value="MMIGAME" />
        <condValue require="HZONE==1" value="MMI_HOMEZONE_ENABLED" />
        <condValue require="SATICON==1" value="FF_MMI_SAT_ICON" />
        <condValue require="EMS==1" value="FF_MMI_EMS" />
        <condValue require="MMS==1" value="FF_MMI_MMS" />
        <condValue require="SMS_DYNAMIC==1" value="FF_MMI_SMS_DYNAMIC" />        
        <condValue require="ETXT==1" value="EASY_TEXT_ENABLED" />
        <condValue require="CHIMMI==1" value="CHINESE_MMI" />
        <condValue require="WAP==1 || WAP==3" value="MMI_WAP_ENABLED" />
        <condValue require="PMODE==2" value="MMI_GPRS_ENABLED" />
        <condValue require="SRVC==0" value="MMI_LITE" />
        <!-- FIXME: for GOLite, a better require available? -->
        <condValue require="EM==1" value="MMI_EM_ENABLED" />
        <condValue require="((BOARD==40) || (BOARD==41) || (BOARD==43) || (BOARD==46))&amp;&amp; (SRVC==1)" value="COLOURDISPLAY" />
        <condValue value="NO_ASCIIZ" />
        <!-- used to require="UNIC==1" which is the default now -->
        <condValue require="(BOARD==40) || (BOARD==41) || (BOARD==43) || (BOARD==46)" value="LSCREEN" />
        <condValue value="MMI_TTY_ENABLED" require="(FF_TTY==1)" />
        <condValue value="INT_PHONEBOOK" />
        <condValue value="NEW_EDITOR" require="NEWED==1" />
        <condValue value="TRGT_G23" />
        <condValue value="AUS_CONDAT_TYPE_PORTING" />
        <condValue value="RIV_DRIVER_TEST" require="BOARD==43" />
        <!-- FIXME: this option is only relevant for WAP, has been moved to the affected sourcesets for now.
        <condValue value="USE_WIP_MALLOC"/>
        -->
      </condOption>
      <condOption name="undefine">
        <condValue require="GAME==0" value="MMIGAME" />
        <condValue require="HZONE==0" value="MMI_HOMEZONE_ENABLED" />
        <condValue require="SATICON==0" value="FF_MMI_SAT_ICON" />
        <condValue require="EMS==0" value="FF_MMI_EMS" />
        <condValue require="MMS==0" value="FF_MMI_MMS" />
        <condValue require="SMS_DYNAMIC==1" value="FF_MMI_SMS_DYNAMIC" />        
        <condValue require="ETXT==0" value="EASY_TEXT_ENABLED" />
        <condValue require="CHIMMI==0" value="CHINESE_MMI" />
        <condValue require="WAP==0" value="MMI_WAP_ENABLED" />
        <condValue require="PMODE!=2" value="MMI_GPRS_ENABLED" />
        <condValue require="SRVC==1" value="MMI_LITE" />
        <!-- FIXME: for GOLite, a better 'require' condition available? -->
        <condValue require="EM==0" value="MMI_EM_ENABLED" />
        <condValue require="!(((BOARD==40) || (BOARD==41) || (BOARD==43) || (BOARD==46)) &amp;&amp; (SRVC==1))" value="COLOURDISPLAY" />
        <condValue require="(BOARD!=40) &amp;&amp; (BOARD!=41)&amp;&amp; (BOARD!=43)&amp;&amp; (BOARD!=46)" value="LSCREEN" />
        <condValue value="MMI_TEST_MODE" />
        <!-- not yet supported: require="MMITEST==0/1"  -->
        <condValue value="MMI_MELODYGENERATOR" />
        <!-- not yet supported: require="MELGEN==0/1" -->
      </condOption>
    </optionDef>
    <optionDef description="FAX and DATA options" name="fax_and_data_opt">
      <condOption name="define">
        <condValue require="SRVC!=0" value="FAX_AND_DATA=FAX_AND_DATA" />
      </condOption>
    </optionDef>
    <optionDef name="AutoNamed" description="name generation templates">
      <condOption name="BaseDirName">
        <condValue valRef="CMP_MODE" value="[valname]" />
        <condValue valRef="MMI" value="[valname]" />
        <condValue valRef="PMODE" value="[valname]" />
        <condValue valRef="PKT_STATE" value="[valname]" />
        <condValue valRef="SRVC" value="[valname]" />
        <condValue valRef="STD" value="[valname]" />
        <condValue valRef="TK" value="[valname]" />
        <condValue valRef="WAP" value="[valname]" />
        <condValue valRef="TCPIP" value="[valname]" />
        <condValue valRef="RNET_BR_STATE" value="[valname]" />
        <condValue valRef="RNET_RT_STATE" value="[valname]" />
        <condValue valRef="AAA_DAA" value="[valname]" />
        <condValue valRef="SATE" value="[valname]" />
        <condValue valRef="GAME" value="[valname]" />
        <condValue valRef="HZONE" value="[valname]" />
        <condValue valRef="SATICON" value="[valname]" />
        <condValue valRef="PROT_IMEI" value="[valname]" />
        <condValue valRef="EMS" value="[valname]" />
        <condValue valRef="MMS" value="[valname]" />
        <condValue valRef="SMS_DYNAMIC" value="[valname]" />        
        <condValue valRef="UNIC" value="[valname]" />
        <condValue valRef="CHIMMI" value="[valname]" />
        <condValue valRef="ETXT" value="[valname]" />
        <condValue valRef="PDU" value="[valname]" />
        <condValue valRef="PS" value="[valname]" />
        <condValue valRef="EM" value="[valname]" />
        <condValue valRef="DP" value="[valname]" />
        <condValue valRef="NTRC" value="[valname]" />
        <condValue valRef="EOTD" value="[valname]" />
        <condValue valRef="FF_TTY" value="[valname]" />
        <condValue valRef="CPHS" value="[valname]" />
        <condValue valRef="BT" value="[valname]" />
        <condValue valRef="BOARD" value="[valname]" />
        <condValue valRef="VOCODER_FUNC_INTERFACE" value="[valname]" />
        <condValue valRef="CHIPSET" value="[valname]" />
        <condValue valRef="ANALOG" value="[valname]"/>
        <condValue valRef="RF" value="[valname]" />
        <condValue valRef="DSP" value="[valname]" />
        <condValue valRef="MEMO" value="[valname]" />
        <condValue valRef="FLASH" value="[valname]" />
        <condValue valRef="BLUETOOTH" value="[valname]" />
        <condValue valRef="BTE_MOBILE" value="[valname]" />
        <!--        <condValue valRef="RNET" value="[valname]"/> -->
        <!--        <condValue valRef="JAVA_K" value="[valname]"/> -->
        <condValue valRef="TEST" value="[valname]" />
        <!--        <condValue valRef="US_DB" value="[valname]"/> -->
        <condValue valRef="LINT" value="[valname]"/>
        <condValue valRef="TOOL_CHOICE" value="[valname]" />
      </condOption>
      <condOption name="outDirName">
        <condValue require="" value="gsm" />
        <condValue require="" value="_" />
        <condValue require="" valRef="AutoNamed.BaseDirName" />
      </condOption>
      <condOption name="imageName">
        <condValue require="" value="_" />
        <condValue require="" valRef="AutoNamed.BaseDirName" />
      </condOption>
      <condOption name="mapFileName">
        <condValue require="" value="gsm" />
        <condValue require="" value="_" />
        <condValue require="" valRef="AutoNamed.BaseDirName" />
        <condValue require="" value=".map" />
      </condOption>
    </optionDef>
    <optionDef description="not generated options - SSA_WCP_INCLUDES" name="SSA_WCP_INCLUDES">
      <condOption name="ssa_include_var">
        <condValue valRef="CFG_INCLUDES.include" />
        <condValue valRef="BT_INCLUDES.include" require="BT!=0" />
        <condValue valRef="HCI_INCLUDES.include" require="BT!=0" />
        <condValue valRef="RIVIERA_INCLUDES.include" />
        <condValue valRef="DRIVERS_INCLUDES.include" />
        <condValue valRef="MAIN_INCLUDES.include" />
        <condValue valRef="LAYER1_INCLUDES.include" />
        <condValue valRef="SERVICES_INCLUDES.include" />
      </condOption>
    </optionDef>
    <optionDef description="not generated options - CFG_INCLUDES" name="CFG_INCLUDES">
      <condOption name="include">
        <!-- autoinclude section optionset SSA_CFG_INCLUDES begin -->
        <!--        <condValue path="$(SSA_CFG_INCLUDES)"/> -->
        <condValue pathRef="OUT_DIR" />
        <!-- ffs.cfg -->
        <condValue pathRef="CFG_PLUS_HEADER" />
        <!-- autoinclude section optionset SSA_CFG_INCLUDES end -->
      </condOption>
    </optionDef>
    <!-- BEGIN OF GENERATED CONTENT -->
    <optionDef description="auto generated options - BT_INCLUDES" name="BT_INCLUDES">
      <condOption name="include">
        <!-- autoinclude section optionset SSA_BT_INCLUDES begin -->
        <!--        <condValue path="$(SSA_BT_INCLUDES)"/> -->
        <condValue pathRef="WIDCOMM_DIR" path="include" />
        <!-- autoinclude section optionset SSA_BT_INCLUDES end -->
      </condOption>
    </optionDef>
    <optionDef description="auto generated options - DRIVERS_INCLUDES" name="DRIVERS_INCLUDES">
      <condOption name="include">
        <!-- autoinclude section optionset SSA_DRIVERS_INCLUDES begin -->
        <!--        <condValue path="$(SSA_DRIVERS_INCLUDES)"/> -->
        <condValue pathRef="DRIVERS_APP_DIR" />
        <!-- traceswitch.h -->
        <condValue valRef="DRIVERS_CORE_INCLUDES.include" />
        <!-- autoinclude section optionset SSA_DRIVERS_INCLUDES end -->
      </condOption>
    </optionDef>
    <optionDef description="auto generated options - HCI_INCLUDES" name="HCI_INCLUDES">
      <condOption name="include">
        <!-- autoinclude section optionset SSA_HCI_INCLUDES begin -->
        <!--        <condValue path="$(SSA_HCI_INCLUDES)"/> -->
        <condValue pathRef="WIDCOMM_DIR" path="hci" />
        <!-- autoinclude section optionset SSA_HCI_INCLUDES end -->
      </condOption>
    </optionDef>
    <optionDef description="auto generated options - LAYER1_INCLUDES" name="LAYER1_INCLUDES">
      <condOption name="include">
        <!-- autoinclude section optionset SSA_LAYER1_INCLUDES begin -->
        <!--        <condValue path="$(SSA_LAYER1_INCLUDES)"/> -->
        <condValue pathRef="LAYER1_INCLUDE" />
        <!-- autoinclude section optionset SSA_LAYER1_INCLUDES end -->
      </condOption>
    </optionDef>
    <optionDef description="auto generated options - MAIN_INCLUDES" name="MAIN_INCLUDES">
      <condOption name="include">
        <!-- autoinclude section optionset SSA_MAIN_INCLUDES begin -->
        <condValue pathRef="CHIPSETSW_SYSTEM" />
        <!-- autoinclude section optionset SSA_MAIN_INCLUDES end -->
      </condOption>
    </optionDef>
    <optionDef description="auto generated options - RIVIERA_INCLUDES" name="RIVIERA_INCLUDES">
      <condOption name="include">
        <!-- autoinclude section optionset SSA_RIVIERA_INCLUDES begin -->
        <!--        <condValue path="$(SSA_RIVIERA_INCLUDES)"/> -->
        <condValue pathRef="RIVIERA_DIR" />
        <!-- autoinclude section optionset SSA_RIVIERA_INCLUDES end -->
      </condOption>
    </optionDef>
    <optionDef description="auto generated options - SERVICES_INCLUDES" name="SERVICES_INCLUDES">
      <condOption name="include">
        <!-- autoinclude section optionset SSA_SERVICES_INCLUDES begin -->
        <!--        <condValue path="$(SSA_SERVICES_INCLUDES)"/> -->
        <condValue pathRef="SERVICES_DIR" />
        <!-- autoinclude section optionset SSA_SERVICES_INCLUDES end -->
      </condOption>
    </optionDef>
    <!-- END OF GENERATED CONTENT -->
    <!-- autoinclude section optionset 0 begin -->
    <!-- autoinclude section optionset 0 end -->
    <!-- BEGIN OF TI INCLUDE SECTION -->
    <optionDef description="DRIVERS_CORE_INCLUDES" name="DRIVERS_CORE_INCLUDES">
      <condOption name="include">
        <condValue pathRef="DRIVERS_CORE_DIR" />
        <condValue pathRef="DRIVERS_CORE_DIR" path="abb" />
        <condValue pathRef="DRIVERS_CORE_DIR" path="armio" />
        <condValue pathRef="DRIVERS_CORE_DIR" path="clkm" />
        <condValue pathRef="DRIVERS_CORE_DIR" path="conf" />
        <condValue pathRef="DRIVERS_CORE_DIR" path="dma" />
        <condValue pathRef="DRIVERS_CORE_DIR" path="dsp_dwnld" />
        <condValue pathRef="DRIVERS_CORE_DIR" path="inth" />
        <condValue pathRef="DRIVERS_CORE_DIR" path="memif" />
        <condValue pathRef="DRIVERS_CORE_DIR" path="rhea" />
        <condValue pathRef="DRIVERS_CORE_DIR" path="security" />
        <condValue pathRef="DRIVERS_CORE_DIR" path="spi" />
        <condValue pathRef="DRIVERS_CORE_DIR" path="timer" />
        <condValue pathRef="DRIVERS_CORE_DIR" path="uart" />
        <condValue pathRef="DRIVERS_CORE_DIR" path="ulpd" />
      </condOption>
    </optionDef>
    <optionDef description="L1_INCLUDES" name="L1_INCLUDES">
      <condOption name="include">
        <condValue pathRef="LAYER1_DIR" path="audio_cust0" />
        <condValue pathRef="LAYER1_DIR" path="audio_include" />
        <condValue pathRef="LAYER1_DIR" path="cust0" />
        <condValue pathRef="LAYER1_DIR" path="hint" require="OP_L1_STANDALONE==1" />
        <condValue pathRef="LAYER1_DIR" path="hmacs" />
        <condValue pathRef="LAYER1_DIR" path="include" />
        <condValue pathRef="LAYER1_DIR" path="p_include" />
        <condValue pathRef="LAYER1_DIR" path="tm_include" />
        <condValue pathRef="LAYER1_DIR" path="tm_cust0" />
        <condValue pathRef="LAYER1_DIR" path="dyn_dwl_include" require="L1_DYN_DSP_DWNLD" />
        <condValue pathRef="LAYER1_DIR" path="gtt_include" require="L1_GTT==1" />
        <condValue pathRef="LAYER1_DIR" path="gtt_include/ctm" require="L1_GTT==1" />
        <condValue pathRef="SERVICES_DIR" path="tty" require="(L1_GTT==1) &amp;&amp; (OP_L1_STANDALONE==0)" />
        <condValue pathRef="RIVIERA_DIR" path="rvf" require="(L1_GTT==1) &amp;&amp; (OP_L1_STANDALONE==0)" />
        <condValue pathRef="RIVIERA_DIR" path="rvt" require="(L1_GTT==1) &amp;&amp; (OP_L1_STANDALONE==0)" />
      </condOption>
    </optionDef>
    <optionDef description="TPU_DRIVERS_INCLUDE" name="TPU_DRIVERS_INCLUDE">
      <condOption name="include">
        <condValue pathRef="TPU_DRIVERS_DIR" path="p_source0" />
        <condValue pathRef="TPU_DRIVERS_DIR" path="source0" />
        <condValue pathRef="TPU_DRIVERS_DIR" path="source" />
      </condOption>
    </optionDef>
    
    <optionDef description="TI_INCLUDES" name="TI_INCLUDES">
      <condOption name="include">
        <condValue pathRef="OS_INCLUDE_DIR" require="RVTOOL==0" />
        <condValue pathRef="RVTOOL_DIR" path="nucleusMNT" require="RVTOOL==1" />
        <condValue pathRef="OUT_DIR" />
        <condValue pathRef="CFG_PLUS_HEADER" />
        <condValue pathRef="BOOT_INCLUDE" />
        <!-- GPF_INC : used (at least) by dio -->
        <condValue pathRef="GPF_INC" />
        <!-- GPF_FRAME_CUST : used (at least) by csmi -->
	 <condValue pathRef="GPF_FRAME_CUST" />
        <condValue pathRef="CHIPSETSW_SYSTEM" />
        <condValue pathRef="RIVIERA_DIR" />
        <condValue pathRef="RIVIERA_DIR" path="rv" />
        <!--        <condValue pathRef="RVTOOL_DIR"/> -->
        <!-- LAYER1_INCLUDE : used (at least) by scmi -->
        <!--        <condValue pathRef="LAYER1_INCLUDE"/>-->
        <!--        <condValue valRef="L1_INCLUDES.include" require="RVTOOL==0"/>-->
        <!--        <condValue valRef="TPU_DRIVERS_INCLUDE.include"/>-->
        <condValue valRef="DRIVERS_CORE_INCLUDES.include" require="RVTOOL==0" />
        <condValue pathRef="DRIVERS_CORE_DIR" require="RVTOOL==1" />
        <condValue pathRef="DRIVERS_APP_DIR" />
        <condValue pathRef="SERVICES_DIR" />
        <condValue pathRef="G23_SRC" />
        <condValue pathRef="INC_TOOLS" />
        <!-- needed my MAIN -->
        <!--        <condValue valRef="TPU_DRIVERS_INCLUDE.include" require="RVTOOL==0"/> -->
      </condOption>
    </optionDef>
    <!-- END OF TI INCLUDE SECTION -->
    <!-- BEGIN OF TI L1 SECTION -->
    <!-- Name of the L1 standalone target -->
    <optionDef description="Build of L1 standalone target name" name="autoname_l1">
      <condOption name="l1_target_name">
        <condValue valRef="CUST" value="_[value]" />
        <condValue valRef="RF_FAM" value="_[value]" />
        <condValue valRef="CHIPSET" value="_[value]" />
        <condValue valRef="ANLG_FAM" value="_[value]" />
        <condValue valRef="DSP" value="_[value]" />
        <condValue valRef="STD" value="_[value]" />
        <condValue valRef="DWNLD" value="_[value]" />
        <condValue valRef="BOARD" value="_[value]" />
        <condValue valRef="LONG_JUMP" value="_[value]" />
        <condValue valRef="TESTMODE" value="_[value]" />
      </condOption>
    </optionDef>
    <!-- Name of the L1 linker command file -->
    <optionDef description="L1 linker command file" name="autoname_l1_lnk">
      <condOption name="l1_lnk_cmd_file">
        <condValue valRef="CHIPSET" value="[value]" />
        <condValue valRef="BOARD" value="_[value]" />
        <condValue valRef="FLASH" value="_[value]" />
        <condValue valRef="LONG_JUMP" value="_[value]" />
      </condOption>
    </optionDef>
    <!-- Name of the output directory -->
    <optionDef description="L1 output directory" name="autoname_l1_out">
      <condOption name="out_dir_l1">
        <condValue valRef="PROGRAM" value="TCS[value]" />
        <condValue valRef="CONFIG" value="_CFG[value]" />
      </condOption>
    </optionDef>
    <!-- END OF TI L1 SECTION -->
    <!-- BEGIN OF TI PERL SCRIPTS SECTION -->
    <optionDef name="SWE" description="option group">
      <condOption name="header_gen">
        <condValue grpRef="SWE_PROP" value="'[name]'=[value]" />
      </condOption>
    </optionDef>
    <optionDef name="CFG" description="New Option Group Description">
      <condOption name="cfg_gen">
        <condValue grpRef="CFG_PROP" value="[shortname]_[name]=[value]" />
      </condOption>
    </optionDef>
    <!-- END OF TI PERL SCRIPTS SECTION -->
    <!-- BEGIN OF TI OPTION FLAGS SECTION -->
    <!-- Compiler options specific to board builds -->
    <optionDef description="optimize option (level 2)" name="optimize">
      <condOption name="c_options">
        <condValue value="-o" require="(RVTOOL==0) || (OP_L1_STANDALONE==1)" />
      </condOption>
    </optionDef>
    <optionDef description="optimize option (level 1) and local optimization" name="optimize_level1">
      <condOption name="c_options">
        <condValue value="-o1" require="(RVTOOL==0) || (OP_L1_STANDALONE==1)" />
      </condOption>
    </optionDef>
    <optionDef description="optimize option (level 2) and global optimization" name="optimize_level2">
      <condOption name="c_options">
        <condValue value="-o2" require="(RVTOOL==0) || (OP_L1_STANDALONE==1)" />
      </condOption>
    </optionDef>
    <optionDef description="optimize option (level 3) and interproc optimization" name="optimize_level3">
      <condOption name="c_options">
        <condValue value="-o3" require="(RVTOOL==0) || (OP_L1_STANDALONE==1)" />
      </condOption>
    </optionDef>
    <optionDef description="enable inline function expansion" name="inline_expansion">
      <condOption name="c_options">
        <condValue value="-x" require="((RVTOOL==0) || (OP_L1_STANDALONE==1)) &amp;&amp; (TOOL_CHOICE==0)" />
      </condOption>
    </optionDef>
    <optionDef description="no linking" name="no_linking">
      <condOption name="c_options">
        <condValue value="-c" require="(RVTOOL==0) || (OP_L1_STANDALONE==1)" />
      </condOption>
    </optionDef>
    <optionDef description="word align structs" name="word_align">
      <condOption name="c_options">
        <condValue value="-mw" require="((RVTOOL==0) || (OP_L1_STANDALONE==1)) &amp;&amp; (TOOL_CHOICE==0)" />
        <condValue value="--align_structs=4" require="((RVTOOL==0) || (OP_L1_STANDALONE==1)) &amp;&amp; (TOOL_CHOICE==3)" />
      </condOption>
    </optionDef>
    <optionDef description="speed optimization" name="speed_opt">
      <condOption name="c_options">
        <condValue value="-mf" require="(RVTOOL==0) || (OP_L1_STANDALONE==1)" />
      </condOption>
    </optionDef>
    <optionDef description="normal optimization with debug" name="normal_opt">
      <condOption name="c_options">
        <condValue value="-mn" require="(RVTOOL==0) || (OP_L1_STANDALONE==1)" />
      </condOption>
    </optionDef>
    <optionDef description="generate 16-bit code" name="code16">
      <condOption name="c_options">
        <condValue value="-mt" require="(RVTOOL==0) || (OP_L1_STANDALONE==1)" />
      </condOption>
    </optionDef>
    <optionDef description="normal optimization with debug and 16-bit instructions" name="normalflags16">
      <condOption name="c_options">
        <condValue value="-mn -mt" require="(RVTOOL==0) || (OP_L1_STANDALONE==1)" />
      </condOption>
    </optionDef>
    <optionDef description="symbolic debugging" name="debug">
      <condOption name="c_options">
        <condValue value="-g" require="TOOL_CHOICE==0" />
        <condValue value="-gt" require="TOOL_CHOICE==3" />
      </condOption>
    </optionDef>
    <optionDef description="no symbolic debugging" name="nodebug">
      <condOption name="c_options">
        <condValue value="" require="TOOL_CHOICE==0" />
        <condValue value="-gn" require="TOOL_CHOICE==3" />
      </condOption>
    </optionDef>
    <optionDef description="symbolic debugging" name="asm_debug">
      <condOption name="asm_options">
        <condValue value="-g" require="TOOL_CHOICE==0" />
        <condValue value="-gt" require="TOOL_CHOICE==3" />
      </condOption>
    </optionDef>
    <optionDef description="no symbolic debugging" name="asm_nodebug">
      <condOption name="asm_options">
        <condValue value="" require="TOOL_CHOICE==0" />
        <condValue value="-gn" require="TOOL_CHOICE==3" />
      </condOption>
    </optionDef>
    <optionDef description="symbolic debugging" name="symbol">
      <condOption optRef="debug" require="((SYMBOLS==1) &amp;&amp; (RVTOOL==0)) || (OP_L1_STANDALONE==1)" />
    </optionDef>
    <!-- Common flags -->
    <optionDef description="standard compiler options" name="cflags">
      <condOption name="c_options">
        <condValue value="-pw2 -q" require="((RVTOOL==0) || (OP_L1_STANDALONE==1)) &amp;&amp; (TOOL_CHOICE==0)" />
        <condValue value="-pden" require="((RVTOOL==0) || (OP_L1_STANDALONE==1)) &amp;&amp; (TOOL_CHOICE==3)" />
      </condOption>
    </optionDef>
    <optionDef description="Common options shared by all modules" name="cflagsbase">
      <condOption optRef="cflags" />
      <condOption name="c_options">
        <condValue value="-eoobj -me" require="(RVTOOL==0) || (OP_L1_STANDALONE==1)" />
      </condOption>
      <condOption name="define">
        <condValue valRef="TOOL_CHOICE" value="[name]=[value]" require="((RVTOOL==0) || (OP_L1_STANDALONE==1)) &amp;&amp; (TOOL_CHOICE!=30)" />
        <condValue valRef="TOOL_CHOICE" value="[name]=3" require="((RVTOOL==0) || (OP_L1_STANDALONE==1)) &amp;&amp; (TOOL_CHOICE==30)" />
        <condValue value="_TMS470" require="(RVTOOL==0) || (OP_L1_STANDALONE==1)" />
      </condOption>
    </optionDef>
    <optionDef description="standard compiler options" name="cflags16">
      <condOption optRef="cflags" />
      <condOption optRef="word_align" />
      <condOption optRef="no_linking" />
      <condOption optRef="optimize" />
      <condOption optRef="normalflags16" />
    </optionDef>
    <!-- Compiler options specific to assembly code -->
    <optionDef description="object code in little-endian format" name="asm_le">
      <condOption name="asm_options">
        <condValue value="-me" />
      </condOption>
    </optionDef>
    <optionDef description="object code in little-endian format no debug" name="asmflags">
      <condOption optRef="asm_le" />
      <condOption optRef="asm_nodebug" />
    </optionDef>
    <optionDef description="16-bit instructions" name="asmflags16">
      <condOption optRef="asmflags" />
      <condOption name="asm_options">
        <condValue value="-mt" />
      </condOption>
    </optionDef>
    <optionDef description="Options for bootloader" name="adefs">
      <condOption name="define">
        <condValue valRef="BOARD" value="[name]=[value]" />
        <condValue valRef="CHIPSET" value="[name]=[value]" />
        <condValue valRef="LONG_JUMP" value="[name]=[value]" />
        <condValue valRef="TOOL_CHOICE" value="[name]=[value]" />
        <condValue value="SECURITY=0" require="OP_L1_STANDALONE==1" />
        <condValue value="__BOOTLOADER__" require="OP_L1_STANDALONE==1" />
        <condValue valRef="R2D_ASM" value="[name]=[value]" require="OP_L1_STANDALONE==0" />
        <condValue valRef="R2D_LCD_TEST" value="[name]=[value]" require="OP_L1_STANDALONE==0" />
        <condValue valRef="TI_PROFILER" value="[name]=[value]" require="OP_L1_STANDALONE==0" />
        <condValue valRef="TI_NUC_MONITOR" value="[name]=[value]" require="OP_L1_STANDALONE==0" />
        <condValue valRef="L1_GPRS" value="[name]=[value]" require="OP_L1_STANDALONE==0" />
        <condValue valRef="OP_WCP" value="[name]=[value]" require="OP_L1_STANDALONE==0" />
        <condValue valRef="WCP_PROF" value="[name]=[value]" require="OP_L1_STANDALONE==0" />
      </condOption>
    </optionDef>
    <!-- Windows -->
    <optionDef description="Common options shared by all modules" name="win_cflagsbase">
      <condOption name="c_options">
        <condValue value="/nologo /MTd /W3 /Gm /GX /ZI /Od /D DEVICE_A /D _WIN32_WINNT=0x0400 /D WIN32 /D _DEBUG /D _MBCS /D _LIB /D _WINDOWS /D TEST /D MSDOS /D DSP=33 /D TARGET /D OP_RIV_AUDIO=1 /FD /GZ /c /I &quot;$(strip $(subst ;,&quot; /I &quot;,$(shell echo &quot;$$INCLUDE&quot;)))&quot; /D ANLG_FAM=2 /D RF_FAM=0" require="RVTOOL==1" />
      </condOption>
    </optionDef>
    <!-- OS -->
    <!-- NUCLEUS -->
    <optionDef description="NUCLEUS OS option flags (not optimized)" name="nucleus_noopt_flags">
<!-- Flags (board only) for compiler 1.22e: -me -mt -o -mw $(cflagsbase) -->
<!-- Flags (board only) for compiler 2.54: -me -mt -o2 -mw -gt -->
      <condOption optRef="code16"/>
      <condOption optRef="word_align"/>
      <condOption optRef="cflagsbase"/>
      <!-- Compilation for CGT1.22e requires NO debug option -->
      <condOption optRef="nodebug" require="TOOL_CHOICE==0"/>
      <!-- Compilation for CGT2.54 requires debug option -->
      <condOption optRef="debug" require="TOOL_CHOICE!=0"/>
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase"/>
    </optionDef>
    <optionDef description="NUCLEUS OS option flags (optimized)" name="nucleus_flags">
      <condOption optRef="nucleus_noopt_flags"/>
      <condOption optRef="optimize"/>
    </optionDef>
    <!-- Services -->
    <!-- AUDIO -->
    <optionDef description="AUDIO option flags" name="audio_flags">
      <!-- Flags (board only): -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- ATP -->
    <optionDef description="ATP option flags" name="atp_flags">
      <!-- Flags (board only): -mt -mn $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- CST -->
    <optionDef description="CST option flags" name="cst_flags">
      <!-- Flags: -mt -o -x -mw $(cflagsbase) -->
      <condOption optRef="optimize" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption name="c_options">
        <condValue value="-mt" />
      </condOption>
      <condOption optRef="symbol" />
    </optionDef>
    <!-- DAR -->
    <optionDef description="DAR option flags" name="dar_flags">
      <!-- Flags: -mt -mn $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <!-- ETM -->
    <optionDef description="ETM option flags" name="etm_flags">
      <!-- Flags: -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <!-- LLS -->
    <optionDef description="LLS option flags" name="lls_flags">
      <!-- Flags (board only): -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- MKS -->
    <optionDef description="MKS option flags" name="mks_flags">
      <!-- Flags (board only): -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- MPM -->
    <optionDef description="MPM option flags" name="mpm_flags">
      <!-- Flags: -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <!-- MMS SERVICE TO BE CHECKED -->
    <optionDef description="MMS Service option flags" name="mms_srv_flags">
      <!-- Flags (board only): -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- RGUI -->
    <optionDef description="RGUI option flags" name="rgui_flags">
      <!-- Flags (board only): -mt -mn -o2 -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="optimize_level2" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <optionDef description="RGUI (Tests) option flags" name="rgui_test_flags">
      <!-- Flags (board only): -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- TUT -->
    <optionDef description="TUT option flags" name="tut_flags">
      <!-- Flags (board only): -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- RNET (Br, Ws & RT) -->
    <optionDef description="RNET option flags" name="rnet_flags">
      <!-- Flags (board only): -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- DCFG -->
    <optionDef description="DCFG option flags" name="dcfg_flags">
      <!-- Flags (board only): -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- DCM -->
    <optionDef description="DCM option flags" name="dcm_flags">
      <!-- Flags (board only): -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- MDC -->
    <optionDef description="MDC option flags" name="mdc_flags">
      <!-- Flags: -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <!-- MDL -->
    <optionDef description="MDL option flags" name="mdl_flags">
      <!-- Flags: -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <!-- TTY -->
    <optionDef description="TTY option flags" name="tty_flags">
      <!-- Flags: -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <!-- MFW -->
    <optionDef description="MFW option flags" name="mfw_flags">
      <!-- Flags: -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <!-- SMBS -->
    <optionDef description="SMBS option flags" name="smbs_flags">
      <!-- Flags: -mt -o -x -mw $(cflagsbase) -->
      <condOption optRef="optimize" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption name="c_options">
        <condValue value="-mt" />
      </condOption>
      <condOption optRef="symbol" />
    </optionDef>
    <optionDef description="mem_load.c option flags" name="mem_load_flags">
      <condOption optRef="optimize" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <!-- Drivers -->
    <!-- ABB -->
    <optionDef description="ABB option flags" name="abb_flags">
      <!-- Flags (board only): -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- BUZZER -->
    <optionDef description="BUZZER option flags" name="buzzer_flags">
      <!-- Flags (board only): -mt -mn -o -x -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="optimize" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- CSMI -->
    <optionDef description="CSMI option flags" name="csmi_flags">
      <!-- Flags: -mt -mn -o -x -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="optimize" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <!-- FFS -->
    <optionDef description="FFS option flags" name="ffs_flags">
      <!-- Flags (board only): -mt -mn -o -x -mw -g -DFAX_AND_DATA=FAX_AND_DATA $(cflagsbase) -->
      <!-- Please note that option -DFAX_AND_DATA=FAX_AND_DATA is needed only if SRVC != 0 -->
      <condOption optRef="normalflags16" />
      <condOption optRef="optimize" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <condOption optRef="fax_and_data_opt" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <optionDef description="FFS option flags (Riviera)" name="ffs_flags_riv">
      <!-- Flags (board only): -mt -mn $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- KPD -->
    <optionDef description="KPD option flags" name="kpd_flags">
      <!-- Flags (board only): -mt -mn $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- LCC -->
    <optionDef description="LCC option flags" name="lcc_flags">
      <!-- Flags (board only): -mt -mn -o -x -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="optimize" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- POWER -->
    <optionDef description="POWER option flags" name="power_flags">
      <!-- Flags (board only): -mt -mn -o -x -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="optimize" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <condOption optRef="mmi_opt" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- PWR -->
    <optionDef description="PWR option flags" name="pwr_drv_flags">
      <!-- Flags: -mt -mn -o -x -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="optimize" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <optionDef description="PWR (Tests) option flags" name="pwr_drv_test_flags">
      <!-- Flags: -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <!-- R2D -->
    <optionDef description="R2D (board only, flash) option flags" name="r2d_drv_flags">
      <!-- Flags: -mn -mt -mf -o2 -x -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="speed_opt" />
      <condOption optRef="optimize_level2" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <optionDef description="R2D (board only, flash) option flags" name="r2d_drv_lcd_flags">
      <!-- Flags: -mn -mt -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <optionDef description="R2D (uwire) option flags" name="r2d_drv_uwire_flags">
      <!-- Flags (board only): -mn -mt -o2 -x -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="optimize_level2" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <optionDef description="R2D (board only, custom flash) option flags" name="r2d_drv_custom_flags">
      <!-- Flags: -mn -mt -mf -o2 -x -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="speed_opt" />
      <condOption optRef="optimize_level2" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <optionDef description="R2D (board only, internal RAM) option flags" name="r2d_drv_int_ram_flags">
      <!-- Flags: -mn -mf -o2 -mw $(cflagsbase) -->
      <condOption optRef="speed_opt" />
      <condOption optRef="optimize_level2" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption name="c_options">
        <condValue value="-mn" />
      </condOption>
      <condOption optRef="symbol" />
    </optionDef>
    <optionDef description="R2D (board only, internal RAM, no optimization) option flags" name="r2d_drv_int_ram_noopt_flags">
      <!-- Flags: -mn -mw $(cflagsbase) -->
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption name="c_options">
        <condValue value="-mn" />
      </condOption>
      <condOption optRef="symbol" />
    </optionDef>
    <optionDef description="R2D (Tests) option flags" name="r2d_drv_test_flags">
      <!-- Flags (board only): -mt -mn -mf -o2 -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="optimize_level2" />
      <condOption optRef="speed_opt" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- RTC -->
    <optionDef description="RTC option flags" name="rtc_drv_flags">
      <!-- Flags (board only): -mt -mn $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- SIM -->
    <optionDef description="SIM option flags" name="sim_drv_flags">
      <!-- Flags: -mt -mn -o -x -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="optimize" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <optionDef description="SIM32 option flags" name="sim32_drv_flags">
      <!-- Flags: -o -x -mw $(cflagsbase) -->
      <condOption optRef="optimize" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <!-- SPI -->
    <optionDef description="SPI option flags" name="spi_drv_flags">
      <!-- Flags (board only): -mt -mn -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
	<!-- NGENGE options for 3 new drivers: -->
	<!-- DIO_IL -->
	<optionDef description="DIO_IL option flags" name="dio_il_flags">
	  <!-- Flags (board only): -mt -mn -g $(cflagsbase) -->
	  <condOption optRef="normalflags16" />
	  <condOption optRef="word_align"/>
	  <condOption optRef="cflagsbase" />
	  <condOption optRef="debug" />
	  <!-- Flags (PC only): $(win_cflagsbase) -->
	  <condOption optRef="win_cflagsbase" />
	</optionDef>	<!-- MUX -->
	<optionDef description="MUX option flags" name="mux_flags">
	  <!-- Flags (board only): -mt -mn -g $(cflagsbase) -->
	  <condOption optRef="normalflags16" />
	  <condOption optRef="word_align"/>
	  <condOption optRef="cflagsbase" />
	  <condOption optRef="debug" />
	   <!-- Flags (PC only): $(win_cflagsbase) -->
	  <condOption optRef="win_cflagsbase" />
	</optionDef>	<!-- SAM -->
	<optionDef description="SAM option flags" name="sam_flags">
	  <!-- Flags (board only): -mt -mn -g $(cflagsbase) -->
	  <condOption optRef="normalflags16" />
	  <condOption optRef="word_align"/>
	  <condOption optRef="cflagsbase" />
	  <condOption optRef="debug" />
	  <!-- Flags (PC only): $(win_cflagsbase) -->
	  <condOption optRef="win_cflagsbase" />
	</optionDef>
    <!-- UART -->
    <optionDef description="SPI option flags" name="uart_drv_flags">
      <!-- Flags: -mt -mn -o -x -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="optimize" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <!-- Riviera -->
    <optionDef description="Riviera option flags" name="rv_flags">
      <!-- Flags (board only): -mt -mn $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- RivieraTool -->
    <optionDef description="RivieraTool option flags" name="rvtool_flags">
      <!-- Flags (PC only): $(win_cflagsbase) -->
      <condOption optRef="win_cflagsbase" />
    </optionDef>
    <!-- Bootloader -->
    <optionDef description="Riviera option flags" name="bootloader_flags">
      <!-- Flags: -mt -mn -c -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="no_linking" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <!-- Main -->
    <optionDef description="Main option flags" name="main_flags">
      <!-- Flags: -mt -mn -o -x -mw $(cflagsbase) -->
      <condOption optRef="normalflags16" />
      <condOption optRef="optimize" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="word_align" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="symbol" />
    </optionDef>
    <!-- END OF TI OPTION FLAGS SECTION -->
    <!-- BEGIN OF TI L1 OPTION FLAGS SECTION -->
    <!-- Debug options -->
    <optionDef description="Debug option for bootloader" name="boot_dbg">
      <condOption optRef="debug" />
    </optionDef>
    <optionDef description="Debug option for bootloader" name="boot_asm_dbg">
      <condOption optRef="asm_nodebug" />
    </optionDef>
    <optionDef description="Debug option for drivers" name="drivers_dbg">
      <condOption optRef="nodebug" />
    </optionDef>
    <optionDef description="Debug option for L1" name="l1_dbg">
      <condOption optRef="debug" />
    </optionDef>
    <optionDef description="Debug option for TPU" name="tpu_dbg">
      <condOption optRef="debug" />
    </optionDef>
    <!-- Bootloader -->
    <optionDef description="Options for bootloader" name="boot_flags">
      <condOption optRef="boot_dbg" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="normal_opt" />
      <condOption optRef="code16" />
      <condOption optRef="word_align" />
      <condOption optRef="no_linking" />
    </optionDef>
    <optionDef description="Options for bootloader" name="boot_flags_asm32">
      <condOption optRef="boot_asm_dbg" />
      <condOption optRef="asmflags" />
      <condOption optRef="adefs" />
    </optionDef>
    <optionDef description="Options for bootloader" name="boot_flags_asm16">
      <condOption optRef="boot_asm_dbg" />
      <condOption optRef="asmflags16" />
      <condOption optRef="adefs" />
    </optionDef>
    <optionDef description="bootloader include paths" name="boot_include">
      <condOption optRef="DRIVERS_CORE_INCLUDES" />
      <condOption name="include">
        <condValue pathRef="INC_TOOLS" />
        <condValue pathRef="BOOT_INCLUDE" />
        <condValue pathRef="CFG_PLUS_HEADER" />
        <condValue pathRef="OS_INCLUDE_DIR" />
      </condOption>
    </optionDef>
    <!-- Drivers -->
    <optionDef description="Options for drivers" name="drivers_flags">
      <condOption optRef="drivers_dbg" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="normal_opt" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="code16" />
      <condOption optRef="optimize_level2" />
      <condOption optRef="word_align" />
    </optionDef>
    <optionDef description="Options for drivers" name="l1_abb_flags">
      <condOption optRef="drivers_dbg" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="normal_opt" />
      <condOption optRef="code16" />
    </optionDef>
    <optionDef description="Options for drivers" name="cflags32">
      <condOption optRef="drivers_dbg" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="inline_expansion" />
      <condOption optRef="optimize" />
      <condOption optRef="word_align" />
    </optionDef>
    <optionDef description="drivers include paths" name="drivers_include">
      <condOption optRef="L1_INCLUDES" />
      <condOption optRef="DRIVERS_CORE_INCLUDES" />
      <condOption optRef="TPU_DRIVERS_INCLUDE" />
      <condOption name="include">
        <condValue pathRef="INC_TOOLS" />
        <condValue pathRef="CFG_PLUS_HEADER" />
        <condValue pathRef="OS_INCLUDE_DIR" />
        <!-- config/l1sw.cfg -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="OUT_DIR" />
        <!-- cust_os.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="GPF_FRAME_CUST" />
        <!-- main/sys_types.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="CHIPSETSW_SYSTEM" />
        <!-- uart/serialswitch.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="DRIVERS_APP_DIR" />
        <!-- rv/general.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="RIVIERA_DIR" />
      </condOption>
    </optionDef>
    <!-- L1 -->
    <optionDef description="Options for L1" name="l1_flags_16">
      <condOption optRef="l1_dbg" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="code16" />
      <condOption optRef="optimize" />
      <condOption optRef="word_align" />
      <condOption name="define">
        <condValue require="OP_L1_STANDALONE==0" value="RV_TRACE_LEVEL_WARNING=2" />
      </condOption>
    </optionDef>
    <optionDef description="Options for L1" name="l1_flags_32_no_opt">
      <condOption optRef="l1_dbg" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="word_align" />
    </optionDef>
    <optionDef description="Options for L1" name="l1_flags_16_no_opt">
      <condOption optRef="l1_dbg" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="code16" />
      <condOption optRef="word_align" />
    </optionDef>
    <optionDef description="Options for L1" name="l1_flags_16_no_wa">
      <condOption optRef="l1_dbg" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="code16" />
      <condOption optRef="optimize" />
    </optionDef>
    <optionDef description="Options for L1" name="l1_flags_32_no_wa">
      <condOption optRef="l1_dbg" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="optimize" />
    </optionDef>
    <optionDef description="Options for L1" name="l1_flags_16_opt1">
      <condOption optRef="l1_dbg" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="code16" />
      <condOption optRef="word_align" />
      <condOption optRef="optimize_level1" />
    </optionDef>
    <optionDef description="L1 include paths" name="l1_include">
      <condOption optRef="L1_INCLUDES" />
      <condOption optRef="TPU_DRIVERS_INCLUDE" />
      <condOption optRef="DRIVERS_CORE_INCLUDES" />
      <condOption name="include">
        <condValue pathRef="INC_TOOLS" />
        <condValue pathRef="CFG_PLUS_HEADER" />
        <condValue pathRef="OS_INCLUDE_DIR" />
        <!-- config/l1sw.cfg -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="OUT_DIR" />
        <!-- cust_os.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="GPF_FRAME_CUST" />
        <!-- main/sys_types.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="CHIPSETSW_SYSTEM" />
        <!-- ffs/ffs_api.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="DRIVERS_APP_DIR" />
        <!-- buzzer.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="DRIVERS_APP_DIR" path="buzzer" />
        <!-- ffs_api.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="DRIVERS_APP_DIR" path="ffs" />
        <!-- sim.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="DRIVERS_APP_DIR" path="sim" />
        <!-- serialswitch.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="DRIVERS_APP_DIR" path="uart" />
        <!-- rv/general.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="RIVIERA_DIR" />
        <!-- general.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="RIVIERA_DIR" path="rv" />
        <!-- rvt_gen.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="RIVIERA_DIR" path="rvt" />
        <!-- audio/audio_features_i.h, ... -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="SERVICES_DIR" />
        <!-- audio_api.h, ... -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="SERVICES_DIR" path="audio" />
      </condOption>
    </optionDef>
    <!-- TPU -->
    <optionDef description="Options for TPU" name="tpu_drivers_flags">
      <condOption optRef="tpu_dbg" />
      <condOption optRef="cflagsbase" />
      <condOption optRef="no_linking" />
      <condOption optRef="code16" />
      <condOption optRef="optimize_level2" />
      <condOption optRef="word_align" />
    </optionDef>
    <optionDef description="TPU include paths" name="tpu_include">
      <condOption optRef="L1_INCLUDES" />
      <condOption optRef="TPU_DRIVERS_INCLUDE" />
      <condOption optRef="DRIVERS_CORE_INCLUDES" />
      <condOption name="include">
        <condValue pathRef="INC_TOOLS" />
        <condValue pathRef="CFG_PLUS_HEADER" />
        <condValue pathRef="OS_INCLUDE_DIR" />
        <!-- main/sys_types.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="CHIPSETSW_SYSTEM" />
        <!-- rvt_gen.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="RIVIERA_DIR" path="rvt" />
        <!-- rv/general.h -->
        <condValue require="OP_L1_STANDALONE==0" pathRef="RIVIERA_DIR" />
      </condOption>
    </optionDef>
    <!-- END OF TI L1 OPTION FLAGS SECTION -->
  </options>
</optionSet>