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:
parent
61bfd0ddd2
commit
592dee49fa
1 changed files with 23 additions and 1 deletions
|
@ -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 {} {
|
||||
|
|
Loading…
Add table
Reference in a new issue