sw_apps:zynq_fsbl: Changes to remove unnecessary ps init files from FSBL

This change in FSBL is done to remove unnecessary ps init files in FSBl application project.
Only ps7_init.c and ps7_init.h are required files in FSBL project.
Presence of ps7_init_gpl files lead to linker errors.
Hence removed those and all other unnecessary files.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
This commit is contained in:
Sarat Chand Savitala 2014-12-24 18:16:46 +05:30 committed by Suneel Garapati
parent 61bfd0ddd2
commit 592dee49fa

View file

@ -69,7 +69,29 @@ proc check_stdout_hw {} {
proc swapp_generate {} {
# generate/copy ps init files
::hsm::utils::generate_psinit
::hsi::utils::generate_psinit
#delete unnecessary files (only ps7_init.c & ps7_init.h are needed for FSBL)
set file "ps7_init.html"
if { [file exists $file] } {
file delete -force $file
}
set file "ps7_init.tcl"
if { [file exists $file] } {
file delete -force $file
}
set file "ps7_init_gpl.c"
if { [file exists $file] } {
file delete -force $file
}
set file "ps7_init_gpl.h"
if { [file exists $file] } {
file delete -force $file
}
}
proc swapp_get_linker_constraints {} {