]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/edma3_lld.git/blob - makerules/build_config.mk
updated lib path for gcc compiler
[keystone-rtos/edma3_lld.git] / makerules / build_config.mk
1 # Filename: build_config.mk
2 #
3 # Build configuration make file - This file contains all the options that are
4 #                                 frequently changed
5 #
6 # This file changes when:
7 #     1. format needs to change (eg: COFF/ELF)
8 #     2. Endian-ness needs to change (little/big)
9 #     3. global compiler and linker options need to change (one entry for each
10 #                                                           core)
11 #     4. Profile needs to change (debug/whole_program_debug)
12 #     5. Build option changes (xdc/make/full)
13 #
15 # Global options
17 # Build - Allowed values = full | xdc | make
18 #         This "builds" packages based on the setting:
19 #                 full - build both XDC and make (all the packages/components)
20 #                 xdc  - build and configure only XDC packages
21 #                 make - build only make based components and link everything
22 # NOTE: BUILD need not be defined at all, which case it behaves like it is set
23 #       to "full". This is to ensure backward compatibility.
24 BUILD = full
26 # Endianness : Allowed values = little | big
27 ENDIAN = little
29 # Format : Allowed values = COFF | ELF
30 FORMAT = COFF
32 # Platform: ti816x-evm (Netra) | ti814x-evm (Centaurus)
33 #PLATFORM = ti816x-evm
35 # CORE
36 CORE= c6xdsp
38 # Platform memory: available external memory
39 PLATFORM_MEM = 1024M
41 #
42 # Platform specific
43 #
44 CFLAGS_GLOBAL_ti816x-evm = -DTI_816X_BUILD -DPLATFORM_EVM_SI
46 #
47 # Core specific options - Cores of ti816x (Netra) and ti814x (Centaurus)
48 #
50 # m3video - Ducati - Core 0 (Cortex-M3)
52 # Profile: Allowed values = debug | whole_program_debug 
53 PROFILE_m3video = whole_program_debug
54 CFLAGS_GLOBAL_m3video =  -g -ms --gcc -D___DSPBIOS___ -D___DUCATI_FW___ -DSYSLINK_USE_TILER -DMULTICHANNEL_OPT=1 
55 LNKFLAGS_GLOBAL_m3video = -x --zero_init=off --retain=_Ipc_ResetVector 
57 # m3vpss - Ducati - Core 1 (Cortex-M3)
59 # Profile: Allowed values = debug | whole_program_debug 
60 PROFILE_m3vpss = whole_program_debug
61 CFLAGS_GLOBAL_m3vpss =  -g -ms --gcc -D___DSPBIOS___ -D___DUCATI_FW___ -DSYSLINK_USE_TILER -DMULTICHANNEL_OPT=1 
62 LNKFLAGS_GLOBAL_m3vpss = -x --zero_init=off --retain=_Ipc_ResetVector 
64 # a8host - Cortex-A8
66 # Profile: Allowed values = debug 
67 PROFILE_a8host = debug | whole_program_debug | release
68 CFLAGS_GLOBAL_a8host =
69 LNKFLAGS_GLOBAL_a8host = 
70 # Toolchain for Cortex-A8 ISA: Allowed values = TI | CS
71 #         TI - TI ARM toolchain: TMS470
72 #         CS - CodeSourcery
73 TOOLCHAIN_a8 = GCC
75 # c6xdsp - DSP core
76 # Profile: Allowed values = debug | whole_program_debug | release
77 PROFILE_c6xdsp = debug
78 CFLAGS_GLOBAL_c6xdsp = 
80 # arm9 - ARM-9
81 # Profile: Allowed values = debug | whole_program_debug | release
82 PROFILE_arm9 = debug
83 CFLAGS_GLOBAL_arm9 = 
85 # Nothing beyond this point