mirror of
https://git.openafs.org/openafs.git
synced 2025-01-22 17:00:15 +00:00
Windows: Disable OACR by default for AFSRDR build
When building the AFS redirector with WDK7600 the Microsoft Auto Code Review process is started by default. This is a problem for buildbot. Disable OACR by default if the _RunOacr environment variable is not set to TRUE. Change-Id: I7e8f9f978e5f6b8a33fe0ff6174b9ddbe2a86ec7 Reviewed-on: http://gerrit.openafs.org/5479 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Rod Widdowson <rdw@steadingsoftware.com> Reviewed-by: Jeffrey Altman <jaltman@openafs.org> Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
parent
c208b13fa0
commit
6fb2e92422
@ -57,8 +57,14 @@ DDK_BUILDTYPE=FRE
|
||||
DDK_BUILDTYPE=CHK
|
||||
!ENDIF
|
||||
|
||||
!IF ("$(_RunOacr)" == "TRUE")
|
||||
OACR = oacr
|
||||
!ELSE
|
||||
OACR = no_oacr
|
||||
!ENDIF
|
||||
|
||||
$(OUT)\ddkbuild.cmd: NTMakefile
|
||||
echo CALL "$(NTDDKDIR)\bin\setenv.bat" $(NTDDKDIR) $(DDK_ARCH) $(DDK_PLATFORM) $(DDK_BUILDTYPE) > $@
|
||||
echo CALL "$(NTDDKDIR)\bin\setenv.bat" $(NTDDKDIR) $(DDK_ARCH) $(DDK_PLATFORM) $(DDK_BUILDTYPE) $(OACR) > $@
|
||||
echo cd /d $(AFSROOT)\src\WINNT\afsrdr >> $@
|
||||
echo cd kernel\fs >> $@
|
||||
echo build.exe -M >> $@
|
||||
@ -84,7 +90,7 @@ $(OUT)\ddkbuild.cmd: NTMakefile
|
||||
echo exit 0 >> $@
|
||||
|
||||
$(OUT)\ddkclean.cmd: NTMakefile
|
||||
echo CALL "$(NTDDKDIR)\bin\setenv.bat" $(NTDDKDIR) $(DDK_ARCH) $(DDK_PLATFORM) $(DDK_BUILDTYPE) > $@
|
||||
echo CALL "$(NTDDKDIR)\bin\setenv.bat" $(NTDDKDIR) $(DDK_ARCH) $(DDK_PLATFORM) $(DDK_BUILDTYPE) $(OACR) > $@
|
||||
echo cd /d $(AFSROOT)\src\WINNT\afsrdr >> $@
|
||||
echo cd kernel\fs >> $@
|
||||
echo build.exe -c -0 >> $@
|
||||
|
Loading…
Reference in New Issue
Block a user