From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 CABA881F3F for ; Thu, 2 Feb 2017 21:31:41 -0800 (PST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP; 02 Feb 2017 21:31:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,327,1477983600"; d="scan'208,217";a="816539746" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by FMSMGA003.fm.intel.com with ESMTP; 02 Feb 2017 21:31:41 -0800 Received: from fmsmsx114.amr.corp.intel.com (10.18.116.8) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 2 Feb 2017 21:31:41 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX114.amr.corp.intel.com (10.18.116.8) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 2 Feb 2017 21:31:40 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.88]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.132]) with mapi id 14.03.0248.002; Fri, 3 Feb 2017 13:31:39 +0800 From: "Gao, Liming" To: Kyle Pugh CC: "edk2-devel@lists.01.org" , Laszlo Ersek , "Zhu, Yonghong" Thread-Topic: [PATCH v1 1/1] BaseTools: AutoGen: Expand macros in INF files Thread-Index: AQHSdnY5Xs6GUNbvjE2ogKdUHuYKSaFIgYYg////KICADk0t4A== Date: Fri, 3 Feb 2017 05:31:38 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6D6354@shsmsx102.ccr.corp.intel.com> References: <20170124191557.5404-1-apianti@users.sourceforge.net> <20170124191557.5404-2-apianti@users.sourceforge.net> <4A89E2EF3DFEDB4C8BFDE51014F606A14D6D47EA@shsmsx102.ccr.corp.intel.com> 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 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Re: [PATCH v1 1/1] BaseTools: AutoGen: Expand macros in INF files X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2017 05:31:42 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 UHVnaDoNCiAgRW52aXJvbm1lbnQgbWFjcm9zIGFyZSBhbGxvd2VkIGluIERTQy9GREYsIGJ1dCBu b3QgaW4gREVDL0lORi4gREVDIGFuZCBJTkYgYmVsb25ncyB0byBQYWNrYWdlcy4gVGhleSBhcmUg cmVxdWlyZWQgdG8gYmUgdGhlIGZpeGVkIGluZm9ybWF0aW9uLCBsaWtlIHRoZSBkZWZpbml0aW9u IGluIEMgaGVhZGVyIGZpbGUuIEkgdW5kZXJzdGFuZCB5b3VyIHVzYWdlIGlzIHRvIGNoYW5nZSBC QVNFX05BTUUgZGVmaW5lZCBpbiBtb2R1bGUgSU5GLiBXaHkgbmVlZCB0byB0aGUgZGlmZmVyZW50 IEJBU0VfTkFNRT8NCg0KVGhhbmtzDQpMaW1pbmcNCkZyb206IEt5bGUgUHVnaCBbbWFpbHRvOmt5 bGV0cHVnaEBnbWFpbC5jb21dDQpTZW50OiBXZWRuZXNkYXksIEphbnVhcnkgMjUsIDIwMTcgNjo1 OCBQTQ0KVG86IEdhbywgTGltaW5nIDxsaW1pbmcuZ2FvQGludGVsLmNvbT4NCkNjOiBlZGsyLWRl dmVsQGxpc3RzLjAxLm9yZzsgTGFzemxvIEVyc2VrIDxsZXJzZWtAcmVkaGF0LmNvbT47IFpodSwg WW9uZ2hvbmcgPHlvbmdob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