Rafael,

In the edk2 every things is relative to the $WORKSPACE. You will need to setup 
the workspace in the c:/UDK2010 directory by doing the edksetup.bat. Everything 
is relative to the $WORKSPACE. So for example packages are found relative to 
the workspace the build.exe command is relative to the workspace, etc., paths 
in INF files are relative to the workspace. 

In general the idea is the UDK2010 is a set of packages and your project can 
contain a set of the UDK2010 packages and your own packages can be peers. I 
guess it is possible that you could make the UDK2010 packages links of some 
kind in your project workspace. 

I'm not sure you can even build a driver outside the workspace, but it may be 
possible. Just remember everything is relative to the workspace where the 
packages exist. 

Andrew Fish

Notice that all references to packages are relative to the $WORKSPACE in the 
[Packages] section. 
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/MdeModulePkg/Core/Dxe/DxeMain.inf

On Jan 30, 2013, at 3:23 AM, Rafael Machado <rafaelrodrigues.mach...@gmail.com> 
wrote:

> Hi everyone
>  
> I have a doubt about how to compile an uefi application in a directory that 
> is not at the same directory as UDK.
> I have an application that is in a directory located inside the UDK 
> directory, for example c:/UDK2010/MyApplication , and it's compiled correctly
> Now I want to compile it in a different directory and it's not compiling 
> correctly.
> Do I need to set some environment variable to be able to copile an 
> application that is, for example, in c:/...../Desktop/MyApplication using 
> udk, since udk is at c:/UDK2010  ?
>  
> Thanks and Regards
> Rafael R. Machado
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_jan_______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to