> On Aug 15, 2016, at 9:10 AM, Kurt Kennett <kurt.kenn...@microsoft.com> wrote:
> 
> DSC spec (January 2016 1.26) says I can do this:
> 
> (Section 3.6 pp 76)
> 
> ...
> * [BuildOptions.$(arch).CodeBase.Edk2ModuleType]
> ...
> 
> And this works fine:
> 
> [BuildOptions.AARCH64.common]
>    *_VS2015x86_*_DLINK_FLAGS = /BORK
> 
> But when I also do:
> 
> [BuildOptions.AARCH64.common.DXE_RUNTIME_DRIVER]
>    *_VS2015x86_*_DLINK_FLAGS = /PLOR
> 
> The link flags are not affected on the command line - they get the /BORK for 
> all module types, but not the /PLOR for DXE_RUNTIME_DRIVERs.
> 

Kurt,

Have you tried [BuildOptions.AARCH64.EDKII.DXE_RUNTIME_DRIVER]? Do you need EDK 
compatibility? 

I'm guessing that works given:
~/work/src/edk2(master)>git grep "BuildOptions." -- *.dsc | grep 
DXE_RUNTIME_DRIVER
OvmfPkg/OvmfPkgIa32.dsc:49:[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
OvmfPkg/OvmfPkgIa32X64.dsc:54:[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
OvmfPkg/OvmfPkgX64.dsc:54:[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
QuarkPlatformPkg/Quark.dsc:885:[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]


> I'm not familiar with the DSC processing tools source.  Anybody know where to 
> look to see why not?
> 

It starts here: 
https://github.com/tianocore/edk2/blob/master/BaseTools/Source/Python/build/build.py
 and uses some code from: 
https://github.com/tianocore/edk2/tree/master/BaseTools/Source/Python/Common

Thanks,

Andrew Fish

> K2
> 
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to