[ofw] [PATCH] winmad/inf: create inf file under bin/kernel

Sean Hefty sean.hefty at intel.com
Wed Nov 4 22:34:16 PST 2009


Winmad currently creates its inf file under core/winmad/kernel/obj*.
Move the inf file to bin/kernel/obj*.  This is the location where all
other inf files in the tree are created.

Signed-off-by: Sean Hefty <sean.hefty at intel.com>
---
Index: core/winmad/kernel/makefile.inc
===================================================================
--- core/winmad/kernel/makefile.inc	(revision 2536)
+++ core/winmad/kernel/makefile.inc	(working copy)
@@ -1,9 +1,13 @@
 _LNG=$(LANGUAGE)
+
+!IF !DEFINED(_INX)
 _INX=.
+!ENDIF
+
 STAMP=stampinf -f $@ -a $(_BUILDARCH) -k
$(KMDF_VERSION_MAJOR).$(KMDF_VERSION_MINOR)
 
 !INCLUDE mod_ver.def
 
-$(OBJ_PATH)\$(O)\$(INF_NAME).inf: $(_INX)\$(INF_NAME).inx 
+$(INF_TARGET) : $(_INX)\$(INF_NAME).inx 
     copy $(_INX)\$(@B).inx $@
-    $(STAMP) -d * -v
$(IB_MAJORVERSION).$(IB_MINORVERSION).$(IB_BUILDVERSION).$(OPENIB_REV)
+    $(STAMP) -f $@ -d * -v
$(IB_MAJORVERSION).$(IB_MINORVERSION).$(IB_BUILDVERSION).$(OPENIB_REV) 
Index: core/winmad/kernel/SOURCES
===================================================================
--- core/winmad/kernel/SOURCES	(revision 2536)
+++ core/winmad/kernel/SOURCES	(working copy)
@@ -4,7 +4,8 @@
 
 KMDF_VERSION_MAJOR = 1
 INF_NAME = winmad
-NTTARGETFILES = $(OBJ_PATH)\$(O)\$(INF_NAME).inf
+INF_TARGET=..\..\..\bin\kernel\$(O)\$(INF_NAME).inf
+NTTARGETFILES = $(INF_TARGET)
 MISCFILES = $(NTTARGETFILES)
 TARGETLIBS = $(TARGETLIBS) \
 			 $(DDK_LIB_PATH)\wdmsec.lib		\
Index: core/winmad/kernel/winmad.inx
===================================================================
--- core/winmad/kernel/winmad.inx	(revision 2536)
+++ core/winmad/kernel/winmad.inx	(working copy)
@@ -62,7 +62,7 @@
 winmadd.dll
 
 [Manufacturer]
-%OFA% = WmModel
+%OFA% = WmModel, NT$ARCH$
 
 [WmModel]
 %winmad.DeviceDesc% = WmDevice, root\winmad




More information about the ofw mailing list