From owner-p4-projects@FreeBSD.ORG Thu Nov 20 20:07:21 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id B05A316A4D0; Thu, 20 Nov 2003 20:07:21 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 88E8316A4CE for ; Thu, 20 Nov 2003 20:07:21 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C68D743FBD for ; Thu, 20 Nov 2003 20:07:20 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hAL47KXJ036448 for ; Thu, 20 Nov 2003 20:07:20 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hAL47KEw036445 for perforce@freebsd.org; Thu, 20 Nov 2003 20:07:20 -0800 (PST) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Thu, 20 Nov 2003 20:07:20 -0800 (PST) Message-Id: <200311210407.hAL47KEw036445@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Subject: PERFORCE change 42875 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2003 04:07:22 -0000 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 ../.. -