4 if "%WINOF_PATH%"=="" goto use
\r
13 set wo_arch_dir=amd64
\r
18 set wo_arch_dir=ia64
\r
33 if not "%1"=="x86" goto use
\r
41 if not exist install mkdir install
\r
42 if not exist install\%2 mkdir install\%2
\r
43 if not exist install\%2\%1 mkdir install\%2\%1
\r
45 xcopy /D /Y bin\kernel\objfre_%wo_os%_%wo_arch%\%wo_arch_dir% install\%2\%1
\r
46 xcopy /D /Y bin\user\objfre_%wo_os%_%wo_arch%\%wo_arch_dir% install\%2\%1
\r
47 xcopy /D /Y bin\kernel\objchk_%wo_os%_%wo_arch%\%wo_arch_dir% install\%2\%1
\r
48 xcopy /D /Y bin\user\objchk_%wo_os%_%wo_arch%\%wo_arch_dir% install\%2\%1
\r
50 for /f "usebackq" %%i in (`dir /s /b *.inf`) do (
\r
51 xcopy /D /Y %%i install\%2\%1
\r
59 echo cpinst - copy installation files
\r
61 echo Copies drivers, libraries, executables, etc. into an install directory.
\r
62 echo Files from this directory may be used to install drivers on a given
\r
63 echo target system. You must customize for your development system by setting
\r
64 echo the following environment variable:
\r
66 echo WINOF_PATH: (example WINOF_PATH=c:\ofw\trunk)
\r
68 echo This will create WINOF_PATH\install\OS\ARCH
\r
71 echo cpinst {x86 : x64 : ia64} {xp : 2003 : 2008}
\r
72 echo xp requires x86 build
\r
74 echo You must have built both the free and checked versions of the code
\r
75 echo for the target platform. The files with the most recent date will be kept.
\r
78 echo cpinst x86 2003 - creates WINOF_PATH\install\2003\x86
\r
79 echo cpinst x64 2003 - creates WINOF_PATH\install\2003\x64
\r
80 echo cpinst x64 2008 - creates WINOF_PATH\install\2008\x64
\r