From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.65; helo=mga03.intel.com; envelope-from=jaben.carsey@intel.com; receiver=edk2-devel@lists.01.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 AA6B5211ACEC3 for ; Tue, 5 Feb 2019 13:20:57 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Feb 2019 13:20:56 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,337,1544515200"; d="scan'208";a="317922089" Received: from orsmsx101.amr.corp.intel.com ([10.22.225.128]) by fmsmga005.fm.intel.com with ESMTP; 05 Feb 2019 13:20:54 -0800 Received: from orsmsx155.amr.corp.intel.com (10.22.240.21) by ORSMSX101.amr.corp.intel.com (10.22.225.128) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 5 Feb 2019 13:20:54 -0800 Received: from orsmsx153.amr.corp.intel.com ([169.254.12.50]) by ORSMSX155.amr.corp.intel.com ([169.254.7.147]) with mapi id 14.03.0415.000; Tue, 5 Feb 2019 13:20:53 -0800 From: "Carsey, Jaben" To: Laszlo Ersek , Leif Lindholm CC: "edk2-devel@lists.01.org" , "Gao, Liming" , "Kinney, Michael D" Thread-Topic: [edk2] [PATCH] BaseTools: Fix build failure when specifying multiple BUILDTARGET Thread-Index: AQHUvPGDgvQ+HNBD5k6Yq+Zgbvr6DKXRb4KAgAAtuoCAAAUBAIAAFOgQ Date: Tue, 5 Feb 2019 21:20:53 +0000 Message-ID: References: <20190205012356.31376-1-philmd@redhat.com> <20190205114701.rzhrwb75uecwswjl@bivouac.eciton.net> <1f75d314-4853-e405-dd59-f12901803f66@redhat.com> In-Reply-To: <1f75d314-4853-e405-dd59-f12901803f66@redhat.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZWJhZDlkMmItMjIyYi00NTdmLTllY2EtYzcwNTQzNWI2ZmFmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoic09pRmpnQnJkR3ltNE52cTUxMkUrN1dISzRtYmFiTGJQY1FDUCtOVXlYNzFubXZIZnZIU3NXMGdsMkQ5QVwvYjQifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [10.22.254.140] MIME-Version: 1.0 Subject: Re: [PATCH] BaseTools: Fix build failure when specifying multiple BUILDTARGET X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2019 21:20:57 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 TGFzemxvLA0KDQpub3Qgc3VyZSB3aGljaCBBbmRyZXcgeW91IHdhbnRlZCwgYnV0IGhlIGRpZG7i gJl0IGdldCBhZGRlZCBzbyBmYXIgYXMgSSBjYW4gdGVsbC4NCg0KPiAtLS0tLU9yaWdpbmFsIE1l c3NhZ2UtLS0tLQ0KPiBGcm9tOiBlZGsyLWRldmVsIFttYWlsdG86ZWRr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