Get, set, or modify software repositories
Syntax
repo [OPTIONS]
Get/set the software repositories path currently used. This command is used to scan the repositories, to get the list of OS/libs/drivers/apps from repository.
Options
Option | Description |
---|---|
-set <path-list>
|
Set the repository path and load all the software cores available. Multiple repository paths can be specified as Tcl list. |
-get
|
Get the repository path(s). |
-scan
|
Scan the repositories. Used this option to scan the repositories, when some changes are done. |
-os
|
Return a list of all the OS from the repositories. |
-libs
|
Return a list of all the libs from the repositories. |
-drivers
|
Return a list of all the drivers from the repositories. |
-apps
|
Return a list of all the applications from repositories along with the following details. Supported processor - Processors for which the application can be built. Supported OS - OS for which the application can be built. Platform required - Indicates whether a platform is required to create the application. AIE applications need a platform while other applications can be created using a platform or xsa. |
-add-platforms <platforms directory>
|
Add the specified directory to the platform repository. |
-remove-platforms-dir <platforms directory>
|
Remove the specified directory from the platform repository. |
Returns
Depends on the OPTIONS specified.
-scan, -set
: Returns nothing.
-get
: Returns the current repository path.
-os, -libs, -drivers, -apps
: Returns the list of OS/libs/drivers/apps respectively.
Example(s)
repo -set <repo-path>
Set the repository path to the path specified by <repo-path>
.
repo -os
Return a list of OS from the repo.
repo -libs
Return a list of libraries from the repo.