# Filename: build_config.mk # # Build configuration make file - This file contains all the options that are # frequently changed # # This file changes when: # 1. format needs to change (eg: COFF/ELF) # 2. Endian-ness needs to change (little/big) # 3. global compiler and linker options need to change (one entry for each # core) # 4. Profile needs to change (debug/whole_program_debug) # 5. Build option changes (xdc/make/full) # # Global options # Build - Allowed values = full | xdc | make # This "builds" packages based on the setting: # full - build both XDC and make (all the packages/components) # xdc - build and configure only XDC packages # make - build only make based components and link everything # NOTE: BUILD need not be defined at all, which case it behaves like it is set # to "full". This is to ensure backward compatibility. BUILD = full # Endianness : Allowed values = little | big ENDIAN = little # Format : Allowed values = COFF | ELF FORMAT = COFF # Platform: ti816x-evm (Netra) | ti814x-evm (Centaurus) #PLATFORM = ti816x-evm # CORE CORE= c6xdsp # Platform memory: available external memory PLATFORM_MEM = 1024M # # Platform specific # CFLAGS_GLOBAL_ti816x-evm = -DTI_816X_BUILD -DPLATFORM_EVM_SI # # Core specific options - Cores of ti816x (Netra) and ti814x (Centaurus) # # m3video - Ducati - Core 0 (Cortex-M3) # Profile: Allowed values = debug | whole_program_debug PROFILE_m3video = whole_program_debug CFLAGS_GLOBAL_m3video = -g -ms --gcc -D___DSPBIOS___ -D___DUCATI_FW___ -DSYSLINK_USE_TILER -DMULTICHANNEL_OPT=1 LNKFLAGS_GLOBAL_m3video = -x --zero_init=off --retain=_Ipc_ResetVector # m3vpss - Ducati - Core 1 (Cortex-M3) # Profile: Allowed values = debug | whole_program_debug PROFILE_m3vpss = whole_program_debug CFLAGS_GLOBAL_m3vpss = -g -ms --gcc -D___DSPBIOS___ -D___DUCATI_FW___ -DSYSLINK_USE_TILER -DMULTICHANNEL_OPT=1 LNKFLAGS_GLOBAL_m3vpss = -x --zero_init=off --retain=_Ipc_ResetVector # a8host - Cortex-A8 # Profile: Allowed values = debug PROFILE_a8host = debug | whole_program_debug | release CFLAGS_GLOBAL_a8host = LNKFLAGS_GLOBAL_a8host = # Toolchain for Cortex-A8 ISA: Allowed values = TI | CS # TI - TI ARM toolchain: TMS470 # CS - CodeSourcery TOOLCHAIN_a8 = TI # c6xdsp - DSP core # Profile: Allowed values = debug | whole_program_debug | release PROFILE_c6xdsp = debug CFLAGS_GLOBAL_c6xdsp = # arm9 - ARM-9 # Profile: Allowed values = debug | whole_program_debug | release PROFILE_arm9 = debug CFLAGS_GLOBAL_arm9 = # Nothing beyond this point