sw_apps:zynqmp_fsbl: Made compiler optimization configurable with HSI

Removing compiler optimization level and debug level flags from FSBL tcl file.
These flags can be passed on as arguments while compiling using make.
O2 optimization will be required while building FSBL to reduce the
size of FSBL and hence to accomodate ATF in OCM.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
This commit is contained in:
Sarat Chand Savitala 2015-04-01 17:51:17 +05:30 committed by Nava kishore Manne
parent 4c2aa9292c
commit f43d267e1b

View file

@ -124,7 +124,7 @@ proc swapp_generate {} {
file delete -force $ld_file_a53
set_property -name {APP_COMPILER_FLAGS} \
-value {-Wall -O0 -g3 -fmessage-length=0 -mcpu=cortex-r5 -mfloat-abi=softfp} \
-value {-Wall -fmessage-length=0 -mcpu=cortex-r5 -mfloat-abi=softfp} \
-objects [current_sw_design ]
} else {
set ld_file "lscript.ld"
@ -135,7 +135,7 @@ proc swapp_generate {} {
file rename -force $ld_file_a53 $ld_file_new
set_property -name {APP_COMPILER_FLAGS} \
-value {-Wall -O0 -g3 -fmessage-length=0 -DXFSBL_A53} \
-value {-Wall -fmessage-length=0 -DXFSBL_A53} \
-objects [current_sw_design ]
}
}