Build the BSP (commandline)
You can use the commandline on Linux or Windows to work with this BSP.
Makefile targets in the BSP
The Makefile is located under the $BSP_ROOT_DIR/images directory. It defines more than one target:
- all
- Builds the QNX IFS for the target.
- ifs-rpi4.bin
- Builds the IFS file used by the Raspberry bootloader and specified in the config.txt file.
If you don't specify a target, make invokes the all target.
Build from the commandline
To build the BSP on your host system, in a Command Prompt window (Windows) or a terminal (Linux), you must first build at the root directory of the BSP (BSP_ROOT_DIR), then you can build using the Makefile targets described previously in the $BSP_ROOT_DIR/images directory. To build your BSP, perform the following steps:
- Download the BSP archive, unzip it, and set up your environment to
build. For more information, see
Download and set up the BSP.
- In the BSP's images directory ($BSP_ROOT_DIR/images), type make clean to remove the default image files
from the $BSP_ROOT_DIR/images directory.
cd $BSP_ROOT_DIR cd images make clean
This action removes all existing image files.
- Navigate back to the BSP_ROOT_DIR and type make. Running make does the following:
- builds the BSP and creates its directories
- places any images required for the board into the $BSP_ROOT_DIR/images directory
cd $BSP_ROOT_DIR
make
You should now have an IFS file called ifs-rpi4.bin.