public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Kurt Kennett <Kurt.Kennett@microsoft.com>
To: edk2-devel <edk2-devel@lists.01.org>
Subject: Setting BuildOptions by module type does not seem to work
Date: Mon, 15 Aug 2016 16:10:31 +0000	[thread overview]
Message-ID: <BY2PR03MB522F935EA48A0233A5883199C120@BY2PR03MB522.namprd03.prod.outlook.com> (raw)

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.

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

K2




             reply	other threads:[~2016-08-15 16:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-15 16:10 Kurt Kennett [this message]
2016-08-15 16:21 ` Setting BuildOptions by module type does not seem to work Andrew Fish
2016-08-15 16:34   ` Kurt Kennett
2016-08-15 17:29     ` Andrew Fish
2016-08-15 17:55       ` Kurt Kennett
2016-08-16  2:16         ` Gao, Liming
2016-08-16 14:49           ` Kurt Kennett
2016-08-16 15:15             ` Andrew Fish
2016-08-16 15:22               ` Kurt Kennett
2016-08-16 15:47                 ` Andrew Fish
2016-08-16 16:21                   ` Gao, Liming
2016-08-16 16:27                     ` Andrew Fish
2016-08-16 16:50                       ` Gao, Liming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BY2PR03MB522F935EA48A0233A5883199C120@BY2PR03MB522.namprd03.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox