Re: [edk2] UEFI Compilation dorectory

Subject: Re: [edk2] UEFI Compilation dorectory

From: "Richardson, Brian" <brian.richardson@intel.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2013-01-31 03:04:32

The compiled code needs to be under the workspace directory. Everything in EDK II is relative to the workspace as the 'root' directory. Just make your own sub-directory under the workspace.

Thanks ... br
---
Brian Richardson -- brian.richardson@intel.com -- Twitter: intel_brian

-----Original Message-----
From: Andrew Fish [mailto:afish@apple.com] 
Sent: Wednesday, January 30, 2013 1:06 PM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] UEFI Compilation dorectory

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  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

------------------------------------------------------------------------------
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