[ofw] [PATCH 4/7] docs/build instructions

Sean Hefty sean.hefty at intel.com
Thu May 15 16:02:33 PDT 2008


Provide simple build instructions for developers who check out the
source tree and want to try building the drivers.  It's more intuitive
to provide build details with the source code itself, than separately
on a web site.

Signed-off-by: Sean Hefty <sean.hefty at intel.com>
---
This is meant as a starting point for more detailed build instructions.

Index: build.txt
===================================================================
--- build.txt	(revision 0)
+++ build.txt	(revision 0)
@@ -0,0 +1,27 @@
+To build the WinOF tree, you need to have the following installed:
+
+WDK version 6001.18001
+Windows Platform SDK (multiple versions work)
+
+The WinOF tree (kernel drivers and userspace libraries) is built from the WDK
+build environment.  You need to set the following environment variables:
+
+OPENIB_REV		(example set OPENIB_REV=0)
+PLATFORM_SDK_PATH	(example set PLATFORM_SDK_PATH=c:\progra~1\mi2578~1)
+
+The OPENIB_REV variable can be set to the SVN revision number of the code.
+
+The PLATFORM_SDK_PATH variable must reference the SDK path, using 8.3 notation
+(no spaces).  You can use 'dir /x' to obtain the correct 8.3 notation for a
+given directory.
+
+Environment variables may be set by using the 'set' command in a command prompt
+window.  Or by selecting Control Panel -> Performance and Maintenance -> System ->
+Advanced -> Environment Variables.
+
+To build the code, cd into the trunk and type 'build -wg'.  See 'build -?' for
+additional build options.
+
+A build batch file is also available in etc\bldwo.bat that allows building
+for any OS / processor architecture from within a single command window.  Run
+'bldwo' without any arguments for more details.






More information about the ofw mailing list