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 the IPL and IFS images.

  1. If you haven't done so, launch the IDE and 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).
  2. 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-nxp-imx8qm-cpu-mek) 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.

  3. 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 with the target parameter from the images directory.

For more information about creating make targets, see Tasks > Building Projects > Creating a make target in the C/C++ Development User Guide in the IDE Help.

  1. 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.
  2. In the Project Explorer view, right-click the images folder and select Build Targets > Create....
  3. 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, qnx-ifs-cpu-mek, which maps to the qnx-ifs-cpu-mek target in the Makefile, you would type qnx-ifs-cpu-mek 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 and IPL files in the images folder) and make all (to rebuild all the IFS and IPL files) commands, respectively.
  4. 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.

Page updated: