mkdir \TMP set TMP=C:\TMP
In order to handle dependencies, the libraries, headers, and other files found in the ./prebuilt directory must be copied correctly to your .scratch directory. To do this, you'll need to run make at the appropriate directory level.
Before you make any components for your particular board, you must first make the BSP sources at the top level. For example, suppose you want to build the flash source for the RPX-Lite BSP. Initially, you must build everything from the root of the BSP, like this:
cd /usr/src/bsp-6.1.0/ppc/rpx-lite make
This will build everything under ./src and will set up the scratch directory correctly.
Don't do this:
cd /usr/src/bsp-6.1.0/ppc/rpx-lite/src/hardware/flash/boards/rpx-lite/ppc/be make
After this initial build is complete, you should then be able to build any of the sources individually.
![]() |
Remember that if you change a library or header, make sure it gets copied to your scratch directory. |