Hello all,
I am trying to clone the MDD code from the USB function client driver in
PUBLIC\COMMON to add a few things to pipe.cpp, and the various instructions
of Steve Maillet, Bruce Eitman, etc. published on the web don't seem to map
very well to this case. I've copied the contents of
C:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\USBFN\CONTROLLER\MDD to my platform,
modified SOURCES appropriately to write output to the platform, and verified
that UFNMDDBASE.LIB is built in the expected PLATFORM\FOO\LIB\ARMV4I\RETAIL
directory.
Problem is, the instructions to clone a driver seem to assume that all the
ingredients are contained in a folder which can be copied to the platform so
that sysgen_capture can be run. That isn't the case here; the product
UFNMDDBASE.LIB appears to be linked into UFNMDD.DLL by the following block in
the big cesysgen makefile at PUBLIC\COMMON\CESYSGEN\MAKEFILE:
ufnmdd:: ufnmddbase ceosutil defbuslib
@set TARGETNAME=$@
@set RELEASETYPE=OAK
@set SOURCELIBS=$(SG_OUTPUT_OAKLIB)\ufnmddbase.lib
$(SG_OUTPUT_SDKLIB)\ceosutil.lib $(SG_OUTPUT_OAKLIB)\defbuslib.lib
@set TARGETTYPE=LIBRARY
$(MAKECMD) /NOLOGO $(SG_OUTPUT_OAKLIB)\$@.lib
I am a little leery of the prospect of cloning this monster, or worse the
entire public\common trunk! But I am at an impasse here, and modifying
public\common code is looking like the only feasible way to modify this
stuff. Can anyone advise how to proceed before I "back it up and hack it up"?
Best regards,
Craig Blome