Paul
Tue Apr 08 10:26:36 PDT 2008
Every time you build *anything* in Windows CE, you're using makefile.def ;-)
It's the file that describes the basic rules (what does RELEASETYPE mean?
what does TARGETTYPE mean? where are include files found for a given build
type? etc.), that you then use when building your components using SOURCES
file. You can find the file itself in \PUBLIC\COMMON\OAK\MISC, if you need
to look at.
Paul T.
"Bradley Remedios" <bremedios@gmail.com> wrote in message
news:3be6b2de-5dd9-43b1-bb05-e1a69acb20f1@1g2000prf.googlegroups.com...
On Apr 8, 8:20 am, Bjorn Hall <BjornH...@discussions.microsoft.com>
wrote:
> I wonder how you clone code from public driver to your own platform code?
I used the following guide when I had to clone some public code
(
http://msdn2.microsoft.com/en-us/library/aa459163.aspx). It was
originally written for Windows CE 4.2 but I used it in my Windows CE
6.0 BSP.
> Ive tried using tips from other threads without success.
>
> Lets say i want to modify
> "WINCE600\public\common\oak\drivers\display\emulrotate". How do I do this?
It would involve copying the directory emulrotate into your PLATFORM
\YOUR_BSP\SRC\DRIVERS directory and running a Sysgen_capture on
emulrotate. It's all detailed in the link above.
The only thing is if I remember correctly, the guide above will
require you to have two directories one for a .lib and one for
a .dll. This isn't really required, just it's default configuration,
you should be able to . The files you copied over will likely build
itself into a lib, the Sysgen_capture will provide you with a sources
file to build it into a .dll.
> I guess this lib is linked into some module using makefile.def? If I clone
> it and build it in my platform the .lib file will end up in my
> platform\lib
> directory. How do I get the build system to use this .lib instead of the
> public one?
>
> I would be glad if someone could explain how the makefile.def works and
> how
> the cloning is done.
I've never used a makefile.def file, but following the link above
should allow you to clone your component.