The repository provides Makefiles to build and copy hardware and software images to the deploy area.
Running make build_sw builds the software components for the given configuration.
Here is an example build command.
cd $REPO_SRC
make build_sw
As the XSA file is not explicitly provided in above command, the build looks for the xsa file at output/scu35-prod-base/reference_images/environmental_monitoring.xsa. If the file is not present here, the build triggers the hardware build to generate the xsa file before building the software.
Here is the output for the above build.
output/
└── scu35-prod-base
└── reference_images
├── environmental_monitoring_wrapper.pdi
└── environmental_monitoring.xsa
Run make help in $REPO_SRC directory to see various build options.