Building a Poulsbo Based BSP with IDE 4.5#
Because IDE 4.5 modifies the project layout when importing a BSP, users must set a couple extra include paths on some projects for Poulsbo based BSPs. This problem will be addressed in IDE 4.6.
- Import the BSP
- When asked if you want to "Build the projects from the imported package?", answer No
- Add libstartup/public to the pci-poulsbo project Extra Include Paths (see below for detailed instructions on how to add Extra Include Paths)
If you have the IPL Source package imported into IDE with your BSP:
- Add libipl to the fastboot_ipl project Extra Include Paths
- Add fastboot_ipl/public to the board specific ipl project Extra Include Paths
- Add fastboot_ipl/Static to the board specific ipl project Extra Library Paths (see below for detailed instructions on how to add Extra Library Paths)
- Open the linker script for the board specific IPL (it should be called boardname.lnk)
- Change the INCLUDE ../../../../../../lib/fastboot_ipl/poulsbo.lnk line to INCLUDE ../../../../project-prefix-fastboot_ipl/poulsbo.lnk, make sure to replace project-prefix with your actual project prefix.
- Right click on the project
- Click Properties
- Click QNX C/C++ Project in the left pane
- Click on the Compiler tab
- Select the Extra Include Paths from the Category drop-down
- Click Project under Add from:
- Select the project and possible sub-directory to include
- Click OK
- Click OK
- Optionally answer Yes to the dialog asking you to rebuild the project
- Right click on the project
- Click Properties
- Click QNX C/C++ Project in the left pane
- Click on the Linker tab
- Click Project under Add from:
- Select the project and possible sub-directory to include
- Click OK
- Click OK
- Optionally answer Yes to the dialog asking you to rebuild the project