[mthca] Fix a build break. [mlnx: 4411]
[mirror/winof/.git] / hw / mthca / kernel / SOURCES
index 5364cdb..269da79 100644 (file)
@@ -4,13 +4,13 @@ TARGETNAME=mthca
 TARGETPATH=$(TRUNK)\bin\kernel\obj$(BUILD_ALT_DIR)\r
 TARGETTYPE=DRIVER\r
 \r
-!if $(_NT_TOOLS_VERSION) != 0x700\r
+KMDF_VERSION_MAJOR=1\r
+\r
 # WDK build only - transform .inx --> .inf adding date & version stamp.\r
 # see .\makefile.inc\r
 INF_NAME=$(TARGETNAME)\r
 INF_TARGET=$(TRUNK)\bin\kernel\$(O)\$(INF_NAME).inf\r
 NTTARGETFILES=$(INF_TARGET)\r
-!endif\r
 \r
 !if $(FREEBUILD)\r
 ENABLE_EVENT_TRACING=1\r
@@ -73,6 +73,7 @@ INCLUDES=\
 C_DEFINES=$(C_DEFINES) -DDRIVER -DDEPRECATE_DDK_FUNCTIONS -D__LITTLE_ENDIAN\r
 \r
 TARGETLIBS= \\r
+        $(DDK_LIB_PATH)\ntstrsafe.lib   \\r
        $(TARGETPATH)\*\complib.lib     \\r
        $(DDK_LIB_PATH)\wdmguid.lib\r
 \r