Interpret initial results and remove unnecessary files

Typically, files that appear under $QNX_TARGET/usr/include/sys within the host development environment would not be duplicated within the BSP. However, over the lifespan of QNX Momentics 6.5.0, it was necessary to make changes or updates to these and other files that were found under the /usr/include/sys/ directory. To maintain compatibility between source code that we included with various BSPs, and the updated versions of these header files, QNX typically includes the updated header file(s) with any BSP that requires them, in order to build the corresponding source code. These header files override the ones included in the QNX 6.5.0 SP1 installation.

However, with the advent of a new version of the operating system (i.e., QNX SDP 6.6), the latest versions of these header files are now present within the host environment itself, and so we no longer need to include those same files within the BSP archive. In fact, the older BSP versions of these files will now themselves cause conflicts, and need to be removed so that the base QNX SDP 6.6 versions are the only ones present in the system. The same is true for all files found under the BSP directory prebuilt/usr/include/sys.

To process and continue cleaning the BSP:
  1. To clean up the first batch of errors, you'll need to type the following commands at the prompt:
    # cd /root/bsps/sabrelite_650/prebuilt/usr/include/sys/
    # ls
    asound.h  can_dcmd.h  platform.h   srcversion.h
    #
  2. Look in the equivalent directory of the QNX SDP 6.6 host environment (under /root/qnx660/target/qnx6/usr/include/sys).
    You’ll see that new versions of all of these files (and many others) are included with QNX SDP 6.6. Therefore, they can be safely deleted from the BSP.
  3. To remove these files, navigate to the directory and remove these files by typing the following commands at the prompt:
    # cd /root/bsps/sabrelite_650/prebuilt/usr/include/sys/
    # rm *