Build the BSP (IDE)
You can use the QNX Momentics IDE on Linux or Windows, to work with this BSP.
Build in the IDE
You can build the entire BSP in the QNX Momentics IDE, which includes building the source and IFS images.
- If you haven't done so, launch the IDE, then import the BSP archive
(which was downloaded for you using the QNX Software Center) into the
IDE (see
Import to the QNX Momentics IDE
for details). - If you haven't already, switch to the C/C++ Perspective, then in the
Project Explorer view, right-click the BSP source project
(such as BSP_ti-j784s4-evm) and select
Build Project.
This step builds the entire BSP, which includes the images and the binaries required for the images. You can check the progress and outcome of your build in the Console view.
- If you want to modify the buildfile, open the .build file under the System Builder Files folder. After you've made your changes, right-click the BSP source project and select Build Project.
Build changes to the buildfile
You can make changes to the buildfile(s) in the images folder.
To build the changes you've made to a buildfile, create a make target in the images folder and then map it to an existing make target in the Makefile located in the images folder, which is equivalent to running the make command from the images directory.
For more information about creating make targets, see
in the C/C++ Development User Guide in the IDE Help.- In the Project Explorer view, expand the images folder, right-click the IFS file you want recreated, and select Delete. The IFS must be deleted or it won't be rebuilt.
- In the example view, right-click the images folder and select .
- In the Create Build Target dialog box, type the name of an
existing target in the Makefile, and then
click OK.
For example, if you wanted to build the default IFS file, ifs-j784s4-evm.raw, it maps to the ifs-j784s4-evm.raw target in the Makefile, you would type ifs-j784s4-evm.raw as the target. For more information on the targets available, see the
Build the BSP (commandline)
section.Note:It's a good idea to create clean and all build targets, which run the make clean (to remove all created IFS files in the images folder) and make all (to rebuild all the IFS files) commands, respectively. - In the Project Explorer view, under the images folder, you should see Build Targets created. Right-click Build Targets, select the build target that you created in the previous step, and click Build.
After your image builds, you should see it appear under the images folder in the IDE.