-1) Setup your environment:
-
- Create and go to your sandbox directory </sandbox/my_xnu>
-
- $ cd </sandbox/my_xnu>
-
- Extract the xnu project from cvs:
-
- $ cvs co -r <xnu-tag> xnu
-
- where <xnu-tag> must be replaced by the matching xnu tag for
- the xnu project level.
-
- Go to the top directory in your XNU project.
-
- $ cd </sandbox/my_xnu>/xnu
-
- If you are using a sh-style shell, run the following command:
- $ . SETUP/setup.sh
-
- If you are using a csh-style shell, run the following command:
- % source SETUP/setup.csh
-
- This will define the following environmental variables:
- SRCROOT, OBJROOT, DSTROOT, SYMROOT
-
-2) Export the Component Header Files
-
- From the top directory, run:
-
- $ make exporthdrs
-
- This exports the component header files in the $OBJROOT/EXPORT_HDRS
- directory.
-
-3) Build all the Components
-
- From the top directory. run:
-
- $ make all