public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Tim Lewis <tim.lewis@insyde.com>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Using NULL| style library linkable in EDK2
Date: Thu, 20 Jul 2017 16:29:56 +0000	[thread overview]
Message-ID: <7236196A5DF6C040855A6D96F556A53F61597E@msmail.insydesw.com.tw> (raw)

Per the DSC specification (section 2.7), it is not legal to use a NULL| in the LIbraryClasses section.

The reserved library class keyword, NULL is not permitted in any of the [LibraryClasses]
sections. The NULL Library class keyword is only permitted within the [Components] section's
INF file subsection.
However, it appears that this exact construct is not only used, but required for Compiler Intrinsic libraries (such as used in the ARM build in ArmPkg.dsc).

So I suggest that this line in the specification be modified to state "Except for compiler intrinsic libraries, the..."

Thanks,

Tim Lewis
CTO, Insyde Software
www.insyde.com<http://www.insyde.com>



             reply	other threads:[~2017-07-20 16:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-20 16:29 Tim Lewis [this message]
2017-07-20 17:56 ` Using NULL| style library linkable in EDK2 Kinney, Michael D
2017-07-20 18:01   ` Tim Lewis

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=7236196A5DF6C040855A6D96F556A53F61597E@msmail.insydesw.com.tw \
    --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