# Building r2d_drv_flash.libCFLAGS="-mn -mt -mf -o2 -x -mw -me -pw2"CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"# IncludesCPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"CPPFLAGS="$CPPFLAGS -I.."CPPFLAGS="$CPPFLAGS -I../config"CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_cust0"CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/audio_include"CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/cust0"CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/hmacs"CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/include"CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/p_include"CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_include"CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/tm_cust0"CPPFLAGS="$CPPFLAGS -I$SRC/cs/layer1/dyn_dwl_include"# Source modulesSRCDIR=$SRC/cs/drivers/drv_app/r2dcfile_plain $SRCDIR/r2d.ccfile_plain $SRCDIR/r2d_env.ccfile_plain $SRCDIR/r2d_i.ccfile_plain $SRCDIR/r2d_inits.ccfile_plain $SRCDIR/r2d_task.c# New sourcesetCFLAGS="-mn -mt -mw -me -pw2"CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"# IncludesCPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"CPPFLAGS="$CPPFLAGS -I.."CPPFLAGS="$CPPFLAGS -I../config"CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"# Source modulescfile_plain $SRCDIR/lcd_gsm_ps_api.ccfile_plain $SRCDIR/lcd_functions.ccfile_plain $SRCDIR/lcd_messages.ccfile_plain $SRCDIR/lcd_process.c# New sourcesetCFLAGS="-mn -mt -o2 -x -mw -me -pw2"CPPFLAGS="-DTOOL_CHOICE=0 -D_TMS470"# IncludesCPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_app"CPPFLAGS="$CPPFLAGS -I$SRC/cs/os/nucleus"CPPFLAGS="$CPPFLAGS -I.."CPPFLAGS="$CPPFLAGS -I../config"CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/inc"CPPFLAGS="$CPPFLAGS -I$SRC/$GPF/frame/cust_os"CPPFLAGS="$CPPFLAGS -I$SRC/cs/system"CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera"CPPFLAGS="$CPPFLAGS -I$SRC/cs/riviera/rv"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/abb"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/armio"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/clkm"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/conf"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dma"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/dsp_dwnld"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/inth"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/memif"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/rhea"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/security"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/spi"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/timer"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/uart"CPPFLAGS="$CPPFLAGS -I$SRC/cs/drivers/drv_core/ulpd"CPPFLAGS="$CPPFLAGS -I$SRC/cs/services"# Source modules#cfile_plain $SRCDIR/board/uwire.c# FreeCalypso change: TI's TCS211 build always includes uwire.c in the lib,# but we are currently excluding it unconditionally because none of our# supported configurations need it: on the C139 this code is wrong and MUST# be excluded, whereas the D-Sample LCD doesn't use uWire and the code never# gets pulled into the link even if it's included in the lib.## The code in r2d/board/uwire.c is only needed when targeting the real# C-Sample (not C139 emulation) or earlier TI boards, but our build system# does not currently support those anyway.