mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-12-23 17:55:04 +01:00
I need to do something about these FLAGS...
This commit is contained in:
parent
f86c3bd610
commit
fb29c77d4e
@ -10,8 +10,10 @@ def configure(cfg):
|
|||||||
cfg.load("ticgt")
|
cfg.load("ticgt")
|
||||||
cfg.env.INCLUDES += ['.']
|
cfg.env.INCLUDES += ['.']
|
||||||
|
|
||||||
|
#if cfg.env.CC_NAME == 'ticc':
|
||||||
# Take them from the _cflags.txt file
|
# Take them from the _cflags.txt file
|
||||||
cfg.env.CFLAGS += "-g --no_compress -q -pdr -pdv -pden -ml3 -mv6740 --disable:sploop".split()
|
cfg.env.CFLAGS += "-o3 -q -pdr -pdv -pden -ml3 -mv6740 --disable:sploop".split()
|
||||||
|
cfg.env.LINKFLAGS += "-c -x".split()
|
||||||
|
|
||||||
# Experimental functions, please comment
|
# Experimental functions, please comment
|
||||||
cfg.ti_dsplink_set_platform_flags("OMAPL138", "C674X", "5.XX", "OMAPL138GEM")
|
cfg.ti_dsplink_set_platform_flags("OMAPL138", "C674X", "5.XX", "OMAPL138GEM")
|
||||||
@ -37,7 +39,7 @@ def build(bld):
|
|||||||
'DSPBIOS', 'DSPLINK',
|
'DSPBIOS', 'DSPLINK',
|
||||||
],
|
],
|
||||||
# Taken from DSP/Link generated _defines.txt files, replaced a -D by a -d
|
# Taken from DSP/Link generated _defines.txt files, replaced a -D by a -d
|
||||||
defines=' -dTSK_MODE -dDDSP_DEBUG -dMAX_DSPS=1 -dMAX_PROCESSORS=2 -dID_GPP=1 -dOMAPL138 -dPROC_COMPONENT -dPOOL_COMPONENT -dNOTIFY_COMPONENT -dMPCS_COMPONENT -dRINGIO_COMPONENT -dMPLIST_COMPONENT -dMSGQ_COMPONENT -dMSGQ_ZCPY_LINK -dCHNL_COMPONENT -dCHNL_ZCPY_LINK -dZCPY_LINK -dPROCID=0 -dDA8XXGEM -dDA8XXGEM_INTERFACE=SHMEM_INTERFACE -dPHYINTERFACE=SHMEM_INTERFACE -dDSP_SWI_MODE'.split(" -d")[1:] + [
|
defines=' -dTSK_MODE -dMAX_DSPS=1 -dMAX_PROCESSORS=2 -dID_GPP=1 -dOMAPL138 -dPROC_COMPONENT -dPOOL_COMPONENT -dNOTIFY_COMPONENT -dMPCS_COMPONENT -dRINGIO_COMPONENT -dMPLIST_COMPONENT -dMSGQ_COMPONENT -dMSGQ_ZCPY_LINK -dCHNL_COMPONENT -dCHNL_ZCPY_LINK -dZCPY_LINK -dPROCID=0 -dDA8XXGEM -dDA8XXGEM_INTERFACE=SHMEM_INTERFACE -dPHYINTERFACE=SHMEM_INTERFACE -dDSP_SWI_MODE'.split(" -d")[1:] + [
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -102,8 +102,9 @@ def configure(conf):
|
|||||||
@conf
|
@conf
|
||||||
def ti_set_debug(cfg, debug=1):
|
def ti_set_debug(cfg, debug=1):
|
||||||
if debug:
|
if debug:
|
||||||
cfg.env.CFLAGS += "-d_DEBUG -dDEBUG".split()
|
cfg.env.CFLAGS += "-d_DEBUG -dDEBUG -dDDSP_DEBUG".split()
|
||||||
# TODO for each TI CFLAG/INCLUDES/LINKFLAGS/LIBPATH replace RELEASE by DEBUG
|
# TODO for each TI CFLAG/INCLUDES/LINKFLAGS/LIBPATH replace RELEASE by DEBUG
|
||||||
|
# -g --no_compress
|
||||||
|
|
||||||
@conf
|
@conf
|
||||||
def ti_dsplink_set_platform_flags(cfg, splat, dsp, dspbios_ver, board):
|
def ti_dsplink_set_platform_flags(cfg, splat, dsp, dspbios_ver, board):
|
||||||
|
Loading…
Reference in New Issue
Block a user