On 07/30/12 12:16, Laszlo Ersek wrote:

> I tried to do it after consulting
> <http://sourceforge.net/mailarchive/message.php?msg_id=29533908> again
> (kudos Ifan); please see the first patch. The build failed.
> 
> I figured perhaps including AutoGen.h would help (second patch). It didn't.

"BaseTools/Conf/tools_def.template" defines

DEFINE MSFT_ASLPP_FLAGS        = /nologo /E /C /FIAutoGen.h
DEFINE ICC_WIN_ASLPP_FLAGS     = /nologo /E /C /FIAutoGen.h
DEFINE GCC_ASLPP_FLAGS             = -x c -E -P

If I add "-include AutoGen.h" to GCC_ASLPP_FLAGS (also in
"Conf/tools_def.txt"), then I don't have to #include the header
manually, but the resultant source fails the same to compile with iasl.

Thanks
Laszlo

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to