PERFORCE change 42875 for review
Robert Watson
rwatson at FreeBSD.org
Fri Nov 21 04:07:20 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=42875
Change 42875 by rwatson at rwatson_powerbook on 2003/11/20 20:06:41
Add instructions to install boostrap_cmds.
Assume the starting directory for each step is the root of the
sedarwin tree, and be sure each preceeding step restores that
assumption so that if someone is just copying and pasting
commands, the right thing happens.
sudo when installing headers.
Document more about what happens when headers are installed.
Add a "Build XNU" step, which will probably need more fleshing out.
Affected files ...
.. //depot/projects/trustedbsd/sedarwin/bootstrap_instructions.txt#2 edit
Differences ...
==== //depot/projects/trustedbsd/sedarwin/bootstrap_instructions.txt#2 (text+ko) ====
@@ -32,6 +32,9 @@
//depot/vendor/apple/darwin/apsl/bootstrap_cmds
+ Install bootstrap_cmds using:
+
+ make ; sudo make install
Step 3: Configure TrustedBSD/SEBSD makefiles
@@ -45,7 +48,7 @@
Next, define EXPORT_HDRS as the header file target relative to
your Darwin kernel build. Chances are, this default will work fine
- for you:
+ for you if you're building XNU straight in the xnu tree:
EXPORT_HDRS=$(DARWIN)/BUILD/obj/EXPORT_HDRS
@@ -64,6 +67,7 @@
cd apsl/xnu
make exporthdrs
+ cd ../..
NOTE: This step will fail if you have not installed bootstrap_cmds
due to a dependence on the relpath tool.
@@ -74,7 +78,10 @@
run TrustedBSD/SEDarwin, you will need to first install the system
headers for new system calls and services:
- make install-headers
+ sudo make install-headers
+
+ In particular, this will populate /usr/include with the extended
+ attribute, MAC, and SEBSD header files.
Step 6: Build TrustedBSD and SEBSD support libraries
@@ -124,6 +131,11 @@
XXX
cd ../..
+Step 10: Build XNU
+
+ cd apsl/xnu
+ make
+
Step 10: Build, Install "Libkvm"
cd apsl/Libkvm
@@ -148,4 +160,3 @@
make ; sudo make install
cd ../..
-
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list