[mthca] Fix a build break. [mlnx: 4411]
[mirror/winof/.git] / hw / mthca / kernel / SOURCES
index bff6b39..269da79 100644 (file)
@@ -4,6 +4,14 @@ TARGETNAME=mthca
 TARGETPATH=$(TRUNK)\bin\kernel\obj$(BUILD_ALT_DIR)\r
 TARGETTYPE=DRIVER\r
 \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
+\r
 !if $(FREEBUILD)\r
 ENABLE_EVENT_TRACING=1\r
 !else\r
@@ -12,7 +20,6 @@ ENABLE_EVENT_TRACING=1
 \r
 SOURCES= \\r
        mthca_log.mc            \\r
-       mthca_log.rc            \\r
        hca.rc                  \\r
        mthca_log.c             \\r
                                        \\r
@@ -66,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