From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id D10C021A16E51 for ; Tue, 16 May 2017 18:41:06 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 May 2017 18:41:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,352,1491289200"; d="scan'208";a="262487506" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga004.fm.intel.com with ESMTP; 16 May 2017 18:41:06 -0700 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 16 May 2017 18:41:05 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 16 May 2017 18:41:05 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.246]) by SHSMSX104.ccr.corp.intel.com ([10.239.4.70]) with mapi id 14.03.0319.002; Wed, 17 May 2017 09:41:04 +0800 From: "Gao, Liming" To: Andrew Fish , edk2-devel Thread-Topic: [edk2] Can I do this in an INF file? Thread-Index: AQHSzp4lxBcYsJmjNkK3EPKKypQGH6H3vl4Q Date: Wed, 17 May 2017 01:41:03 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D72EC72@shsmsx102.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: Can I do this in an INF file? X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 May 2017 01:41:07 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Andrew: There is no such usage. INF can specify source files for the different AR= CHs, but not specify source files for the different module type. In fact, I= NF module type is fixed. It can't be changed to other type in build time. I= f 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 dif= ferent source files. =20 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 >Subject: [edk2] Can I do this in an INF file? > >I'm trying to cross compile a runtime library to work in an Application (f= or >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