public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Gao, Liming" <liming.gao@intel.com>
To: Andrew Fish <afish@apple.com>, edk2-devel <edk2-devel@lists.01.org>
Subject: Re: Can I do this in an INF file?
Date: Wed, 17 May 2017 01:41:03 +0000	[thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D72EC72@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <F08666CE-2DDA-4F17-B37D-11A2A4007B23@apple.com>

Andrew:
  There is no such usage. INF can specify source files for the different ARCHs, but not specify source files for the different module type. In fact, INF module type is fixed. It can't be changed to other type in build time. If you expect the library to be linked to the different type driver with the different sources, you may create two version INF files to include the different source files.  

Thanks
Liming
>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>Andrew Fish
>Sent: Wednesday, May 17, 2017 7:43 AM
>To: edk2-devel <edk2-devel@lists.01.org>
>Subject: [edk2] Can I do this in an INF file?
>
>I'm trying to cross compile a runtime library to work in an Application (for
>testing). I can't seem to restrict files and libs to specific module types?
>
>[Sources.common.UEFI_APPLICATION]
>  FakeRuntime.c
>
>
>[LibraryClasses.common.DXE_RUNTIME_DRIVER]
>  UefiRuntimeLib
>
>Am I using the wrong syntax?
>
>Thanks,
>
>Andrew Fish
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel


  reply	other threads:[~2017-05-17  1:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-16 23:42 Can I do this in an INF file? Andrew Fish
2017-05-17  1:41 ` Gao, Liming [this message]
2017-05-17  1:46   ` Andrew Fish
2017-05-17  2:43     ` Andrew Fish
2017-05-17 14:00       ` Gao, Liming
2017-05-17 15:41         ` Andrew Fish

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=4A89E2EF3DFEDB4C8BFDE51014F606A14D72EC72@shsmsx102.ccr.corp.intel.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