Build It -- Downloading the Neutrino OS/Kernel Source#
Pre-requisites#
To build the Neutrino OS source you need to have:
- Momentics Development Environment installed for the build tools
- Have the OS source available to your local machine.
Supported build environments include: Neutrino (x86 self-hosted), Windows, Linux and Solaris.
These instructions assume you have pulled the source down to a single directory that will serve as the build root (BUILD_ROOT):
% pwd
/home/somepath
% ls
trunk
% export BUILD_ROOT=/home/somepath
Build It#
- Create a staging directory for installed binaries and headers to go
% cd $BUILD_ROOT
% mkdir stage
- Configure the override makefile stub % cd $BUILD_ROOT
% cat >qconf-override.mk
USE_ROOT_nto=$BUILD_ROOT/stage
INSTALL_ROOT_nto=$BUILD_ROOT/stage
OSLIST=nto
EXCLUDE_VARIANTLIST=wcc
VERSION_REL=6.3.0
^D
- Set the override environment variable to point at the makefile stub
% export QCONF_OVERRIDE=$BUILD_ROOT/qconf-override.mk
- Install all of the header files in the local stage
% cd $BUILD_ROOT/trunk
% make hinstall
... lots of output, including copying to $BUILD_ROOT/stage
- Build the Neutrino OS binaries
% cd $BUILD_ROOT/trunk
% make install
... lots of build output, binaries copied to $BUILD_ROOT/stage
The final binaries (libraries, executables) that you have built should now be found in the $BUILD_ROOT/stage tree.
For a more detailed explanation of these build steps and what is going on, read @@@Understanding The Neutrino Build Process