Re: [edk2-devel] Conditionally Include FDF File

2020-04-20 Thread Ashish Singhal
have a conditional flag outside the include directive. Thanks Ashish From: Laszlo Ersek Sent: Monday, April 20, 2020 6:05 AM To: devel@edk2.groups.io ; Ashish Singhal ; Bob Feng ; Gao, Liming Subject: Re: [edk2-devel] Conditionally Include FDF File External email

Re: [edk2-devel] Conditionally Include FDF File

2020-04-20 Thread Laszlo Ersek
On 04/20/20 07:25, Ashish Singhal wrote: > I am trying to change my top-level FDF file layout by conditionally including > an FDF depending on a build time define being passed or not. > Any help getting around this Try including unconditionally, and pushing down the !if into the includee. This

Re: [edk2-devel] Conditionally Include FDF File

2020-04-20 Thread Ashish Singhal
, April 20, 2020 1:07 AM To: Lin, Derek (HPS SW) ; devel@edk2.groups.io ; Bob Feng ; Gao, Liming Subject: Re: [edk2-devel] Conditionally Include FDF File It seems like this is happening because in FdfParser.py, include files are processed before processing the conditional statements. I think this

Re: [edk2-devel] Conditionally Include FDF File

2020-04-20 Thread Ashish Singhal
: Ashish Singhal ; devel@edk2.groups.io Subject: Re: [edk2-devel] Conditionally Include FDF File External email: Use caution opening links or attachments I saw this issue too. The included file is always included no matter the condition is TRUE or FALSE. ``` !if FALSE !include abc.fdf !endif

Re: [edk2-devel] Conditionally Include FDF File

2020-04-19 Thread Lin, Derek (HPS SW)
I saw this issue too. The included file is always included no matter the condition is TRUE or FALSE. ``` !if FALSE !include abc.fdf !endif ``` -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#57597): https://edk2.groups.io/g/devel/message/