Here is an example of building the OS with a batch file. Here is another.
I don't want to build the whole kernel, just a subproject contained in the OS project. Basically the same thing as what "Build all subprojects" does. (And not make a run-time image after the build.)
What is the command line equivalent of "Build all subprojects"?
Here's an example I've used with VS2008 / Platform Builder 7.
It looks for subprojects in the specified OSDesign. Any projects found are built with
build -c
.May need a bit of adjustment depending on the Platform Builder version and what you are looking to achieve, but this is the general idea.
The script leaves behind a
setenv.bat
file. This may be useful for diagnosing build errors, or can simply be deleted.