1. Get EDK2 from SVN
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2
3. 以visual studio 2005 command prompt (2008, 2010應該也都可以)執行edksetup.bat,看到畫面如下之後:
4. Key in
C:\edk2\build,看到以下畫面就算成功了
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg265QeRZXjgue0HJgklNPu6MzKXhcippNSUpb_WW8Dz2q8nutA3MjkiGpZoIl-EMzTgYHhqL_gb0Ip5DxRl4ZbMSeCFrPDqs5s1rREmu1xHGdxchdcYK18VsdVLGtVJNChuTA1pemSTxg/s1600/2.png)
5. C:\edk2\Conf\Target.txt
Active folder:
ACTIVE_PLATFORM = AppPkg/AppPkg.dsc
Active platform:
TARGET_ARCH = IA32 X64
Note: build 指令參考
-------------------------------------------------------------------------------
Supported build targets
-----------------------
all - Build whole platform or module. It can be ignored.
genc - Generate AutoGen.c, AutoGen.h and <ModuleName>.depex files only.
genmake - Generate makefiles in addition to files generated by "genc" target.
clean - Clean intermediate files
cleanall - Clean all generated files and directories during build, except the
generated Makefile files (top level and module makefiles)
cleanlib - Clean all generated files and directories during library build
run - Launch NT32 shell (only valid for NT32 platform)
EDKII document連結 : http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=EDK_II_Documents
沒有留言:
張貼留言