Re: [edk2] BaseTools: handling of $(ARCH) in .dsc/.fdf when multiple -a specified

2019-02-11 Thread Gao, Liming
uary 5, 2019 7:36 PM > To: Leif Lindholm > Cc: edk2-devel@lists.01.org; Gao, Liming > Subject: Re: [edk2] BaseTools: handling of $(ARCH) in .dsc/.fdf when multiple > -a specified > > On 02/05/19 12:08, Leif Lindholm wrote: > > On Mon, Feb 04, 2019 at 08:02:55PM +0100, L

Re: [edk2] BaseTools: handling of $(ARCH) in .dsc/.fdf when multiple -a specified

2019-02-05 Thread Laszlo Ersek
On 02/05/19 12:08, Leif Lindholm wrote: > On Mon, Feb 04, 2019 at 08:02:55PM +0100, Laszlo Ersek wrote: >> AIUI, "-a IA32 -a X64" it means "build the Components.* sections >> (plural) as dictated by the '-a' flags, and then organize the full >> (multi-arch) set of modules into the flash device(s),

Re: [edk2] BaseTools: handling of $(ARCH) in .dsc/.fdf when multiple -a specified

2019-02-05 Thread Leif Lindholm
On Mon, Feb 04, 2019 at 08:02:55PM +0100, Laszlo Ersek wrote: > > Now, the Ia32X64 target is very much of a special case, which I don't > > necessarily see as usefully supported by the current .dsc > > specification. But I believe we need to do one of > > - banning (simultaneous) multi-architecture

Re: [edk2] BaseTools: handling of $(ARCH) in .dsc/.fdf when multiple -a specified

2019-02-04 Thread Laszlo Ersek
On 02/04/19 19:31, Leif Lindholm wrote: > Hi Bob, Liming, > > So, I've been playing around with merging the .dsc/.fdf files in > OvmfPkg. Merging IA32 and X64 is simple enough, since you can test on > > !if $(ARCH) == "X64" > > However, from what I can tell, when trying to merge in the > OvmfPkg

[edk2] BaseTools: handling of $(ARCH) in .dsc/.fdf when multiple -a specified

2019-02-04 Thread Leif Lindholm
Hi Bob, Liming, So, I've been playing around with merging the .dsc/.fdf files in OvmfPkg. Merging IA32 and X64 is simple enough, since you can test on !if $(ARCH) == "X64" However, from what I can tell, when trying to merge in the OvmfPkgIa32X64 platform - what you actually end up with in $(ARCH