Date: Thu, 20 Nov 2003 20:07:20 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 42875 for review Message-ID: <200311210407.hAL47KEw036445@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=42875 Change 42875 by rwatson@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 ../.. -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311210407.hAL47KEw036445>