sw_apps:zynqmp_fsbl: xilsecure library selection by default
While creating new FSBL+BSP project, made xilsecure library to be selected by default. This avoids compilation errors when FSBL project is created. Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
This commit is contained in:
parent
0c9ca599cf
commit
2374e5de1c
2 changed files with 13 additions and 6 deletions
|
@ -41,4 +41,8 @@ END
|
|||
|
||||
BEGIN LIBRARY
|
||||
PARAMETER LIBRARY_NAME = xilffs
|
||||
END
|
||||
END
|
||||
|
||||
BEGIN LIBRARY
|
||||
PARAMETER LIBRARY_NAME = xilsecure
|
||||
END
|
||||
|
|
|
@ -58,13 +58,16 @@ proc swapp_is_supported_sw {} {
|
|||
# make sure we are using standalone OS
|
||||
check_standalone_os;
|
||||
|
||||
# make sure xilffs is available
|
||||
set librarylist [get_libs -filter "NAME==xilffs"];
|
||||
# make sure xilffs and xilrsa are available
|
||||
set librarylist_1 [get_libs -filter "NAME==xilffs"];
|
||||
set librarylist_2 [get_libs -filter "NAME==xilsecure"];
|
||||
|
||||
if { [llength $librarylist] == 0 } {
|
||||
if { [llength $librarylist_1] == 0 && [llength $librarylist_2] == 0 } {
|
||||
error "This application requires xilffs and xilsecure libraries in the Board Support Package.";
|
||||
} elseif { [llength $librarylist_1] == 0 } {
|
||||
error "This application requires xilffs library in the Board Support Package.";
|
||||
} elseif { [llength $librarylist] > 1} {
|
||||
error "Multiple xilffs libraries present in the Board Support Package."
|
||||
} elseif { [llength $librarylist_2] == 0 } {
|
||||
error "This application requires xilsecure library in the Board Support Package.";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue