On Feb 7, 2014, at 2:03 PM, John Davis <davi...@gmail.com> wrote:
> Hello
>
> I am trying to build a copy of DriverSampleDxe. This is the process I am
> using. The build completes and I see it building MyDriverSampleDxe.
> However, when I examine the
> C:\fw\edk2\Build\NT32IA32\DEBUG_VS2010x86\FV\Ffs directory I don't see a
> GUIDMyDriverSample folder.
>
Unlike the older build system placing a module in the .DSC file only makes it
build. To place something in an FV you need to add an entry to the .FDF file.
Thanks,
Andrew Fish
> ------
> This is the process for building a clone of DriverSample called
> MyDriverSample.
>
> MyDriverSample is just a copy of DriverSample with the exception that it has
> a new guid and new routines names.
>
> 1. Copy the directory in fw\edk2\DriverSampleDxe to fw\edk2\MyDriverSample.
> 2. Change file names from DriverSample to MyDriverSample.
> 3. Edit edk2\MdeModulePkg\MdeModulePkg.dsc so that the peer to DriverSample
> is duplicated.
> 4. Examine the contents of each of the files in that directory. Look for
> DriverSample and DRIVER_SAMPLE and replace to MyDriverSample and
> MY_DRIVER_SAMPLE.
> 5. In MyDriverSampleDxe.inf replace the GUID with one from www.GuidGen.com
> 6. Notice that NVDataStruc.h includes Guid/MyDriverSampleHii.h now. This
> file has to be cloned. Chances are these GUIDs will need to be differed. For
> now leave them as is.
> 7. Edit edk2\Nt32Pkg\Nt32Pkg.dsc and clone the DriverSample entry.
> 8. Edit edk2\EmulatorPkg\EmulatorPkg.dsc and clone the DriverSample entry.
> 9. Edit edk2\EmulatorPkg\EmulatorPkg.fdf and clone the DriverSample entry.
>
> ------
>
> Any idea why this would fail? The only thing which I did not change was
> StrGather.py where it refers to DriverSampleDxe. I figure that is for python
> tools in the shell. I figure for now, I don't need to use the python tools
> so I omitted duping it.
>
> John
>
> --
> John F. Davis
> 6 Kandes Court
> Durham, NC 27713
> 919-888-8358
>
> 独树一帜
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk_______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel