Skip to content

Commit

Permalink
* make_package.bat: Updated build to work with latest WDK and on 64b…
Browse files Browse the repository at this point in the history
…it systems
  • Loading branch information
djpnewton committed Jul 11, 2010
1 parent fc7a151 commit 2d66eb3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
2010-07-11 Daniel Newton <djpnewton@gmail.com>

* filter/busdog.inx: Added serial and parallel port filtering
* make_package.bat: Updated build to work with latest WDK and on 64bit
systems

2010-06-05 Daniel Newton <djpnewton@gmail.com>

Expand Down
14 changes: 8 additions & 6 deletions make_package.bat
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
:: ddk environment
if "%1"=="64" (
call C:\WinDDK\7600.16385.0\bin\setenv.bat C:\WinDDK\7600.16385.0\ fre x64 WNET no_oacr
call C:\WinDDK\7600.16385.1\bin\setenv.bat C:\WinDDK\7600.16385.1\ fre x64 WNET no_oacr
) else (
call C:\WinDDK\7600.16385.0\bin\setenv.bat C:\WinDDK\7600.16385.0\ fre x86 WXP no_oacr
call C:\WinDDK\7600.16385.1\bin\setenv.bat C:\WinDDK\7600.16385.1\ fre x86 WXP no_oacr
)
if "%1"=="64" (
set other_arch_spec=amd64
Expand Down Expand Up @@ -38,11 +38,12 @@ xcopy /Y %BASEDIR%\redist\DIFx\dpinst\MultiLin\%_BUILDARCH%\dpinst.exe gui\drive
if errorlevel 1 goto error

::visual studio environment
::if "%1"=="64" (
:: call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86_amd64
::) else (
if exist "c:\Program Files (x86)" (
call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
) else (
call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
::)
)
if errorlevel 1 goto error
cd %~dp0

:: build busdog gui
Expand All @@ -63,6 +64,7 @@ goto end
echo +++++++++++++++++++++
echo +++Error in build!+++
echo +++++++++++++++++++++
cd %~dp0
exit /B 1

:end
Expand Down

0 comments on commit 2d66eb3

Please sign in to comment.