From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from nwk-aaemail-lapp03.apple.com (nwk-aaemail-lapp03.apple.com [17.151.62.68]) by mx.groups.io with SMTP id smtpd.web09.13684.1603294796188254170 for ; Wed, 21 Oct 2020 08:39:56 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@apple.com header.s=20180706 header.b=NswW9aw7; spf=pass (domain: apple.com, ip: 17.151.62.68, mailfrom: afish@apple.com) Received: from pps.filterd (nwk-aaemail-lapp03.apple.com [127.0.0.1]) by nwk-aaemail-lapp03.apple.com (8.16.0.42/8.16.0.42) with SMTP id 09LFZYtv009791; Wed, 21 Oct 2020 08:39:52 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=from : content-type : mime-version : subject : date : references : to : in-reply-to : message-id; s=20180706; bh=WtdUomm3rOIRGgoGoKfSgyqemc7HjQgK+MZ341JLjqA=; b=NswW9aw7HZUq7DrtE7ynw2khDhDK8EedBBw9Tr6YbkEiQQbEnCvfEfo98wssH9jSkKqy XjkOlfGfjL8lXSgStHo0ULCeP6G+C4ncVaN6uDWvPr1ttOfnYdErwvzrOtHMk3a1YGxN 8UNPHgsSrFho/MXKh2wT1g/Kma5bpE45Qc7La9pgH+P/3PV9DOAJJEZo3aEEWgx+RRFJ QxT3P6D7h7fS7f+Updch/GaBYchVjd0xVoCeYNJu54lQBQeKiREyd7DldX4crCuWaXk9 c5JJzgaITzx95DeCX1jRgoEwKKaXZnU6gSWOY+PblQfpET7vfEtnpimTu8RLVXhl3K3b xQ== Received: from rn-mailsvcp-mta-lapp03.rno.apple.com (rn-mailsvcp-mta-lapp03.rno.apple.com [10.225.203.151]) by nwk-aaemail-lapp03.apple.com with ESMTP id 348gapsn7j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 21 Oct 2020 08:39:52 -0700 Received: from rn-mailsvcp-mmp-lapp02.rno.apple.com (rn-mailsvcp-mmp-lapp02.rno.apple.com [17.179.253.15]) by rn-mailsvcp-mta-lapp03.rno.apple.com (Oracle Communications Messaging Server 8.1.0.6.20200729 64bit (built Jul 29 2020)) with ESMTPS id <0QIK00CRU66G6H80@rn-mailsvcp-mta-lapp03.rno.apple.com>; Wed, 21 Oct 2020 08:39:52 -0700 (PDT) Received: from process_milters-daemon.rn-mailsvcp-mmp-lapp02.rno.apple.com by rn-mailsvcp-mmp-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.6.20200729 64bit (built Jul 29 2020)) id <0QIK00T005YTOS00@rn-mailsvcp-mmp-lapp02.rno.apple.com>; Wed, 21 Oct 2020 08:39:52 -0700 (PDT) X-Va-A: X-Va-T-CD: 5b6c8f95ba972c9933f4305d948c5c3d X-Va-E-CD: e78f5a2b239083fddd7b02548df64ceb X-Va-R-CD: 0750e15d18b816e1968b2c0f7cf7ec20 X-Va-CD: 0 X-Va-ID: 11b0342d-2a7a-4ac1-af5c-beacca1ef633 X-V-A: X-V-T-CD: 5b6c8f95ba972c9933f4305d948c5c3d X-V-E-CD: e78f5a2b239083fddd7b02548df64ceb X-V-R-CD: 0750e15d18b816e1968b2c0f7cf7ec20 X-V-CD: 0 X-V-ID: 55d47349-4789-4bf0-afff-f35acca565e4 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.737 definitions=2020-10-21_06:2020-10-20,2020-10-21 signatures=0 Received: from [17.235.37.240] (unknown [17.235.37.240]) by rn-mailsvcp-mmp-lapp02.rno.apple.com (Oracle Communications Messaging Server 8.1.0.6.20200729 64bit (built Jul 29 2020)) with ESMTPSA id <0QIK00AM866ER300@rn-mailsvcp-mmp-lapp02.rno.apple.com>; Wed, 21 Oct 2020 08:39:52 -0700 (PDT) From: "Andrew Fish" MIME-version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\)) Subject: Re: [edk2-devel] Overriding of linker in ed2 build system Date: Wed, 21 Oct 2020 08:39:50 -0700 References: <3DD25804-436E-49BD-BFD5-656E6BEC97D7@apple.com> <25627.1603291168254535564@groups.io> To: edk2-devel-groups-io , prabin.ca@arm.com In-reply-to: <25627.1603291168254535564@groups.io> Message-id: <78AA7491-0AAF-4452-8B49-C1E2DD7D2274@apple.com> X-Mailer: Apple Mail (2.3608.120.23.2.1) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.737 definitions=2020-10-21_06:2020-10-20,2020-10-21 signatures=0 Content-type: multipart/alternative; boundary="Apple-Mail=_A07C2933-D9CE-4689-8646-76E1FECC43B2" --Apple-Mail=_A07C2933-D9CE-4689-8646-76E1FECC43B2 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Prabin, Conf/tools_def.txt is the local untracked by git copy of the file that the= build actually uses. The Conf/tools_def.txt does NOT get overwritten by th= e BaseTools/Conf/tools_def.template if it exists. So you can edit Conf/tool= s_def.txt locally for an experiment. If you change BaseTools/Conf/tools_d= ef.template then people need to force the update via `. edksetup.sh =E2=80= =94reconfig`, if they have a local copy.=20 Thanks, Andrew Fish > On Oct 21, 2020, at 7:39 AM, Prabin CA wrote: >=20 > Hi Andrew, >=20 > Yes, it copy from BaseTools/Conf/tools_def.template to Conf/tools_def.t= xt, so if we make any changes in Conf/tools_def.txt will be over write by B= aseTools/Conf/tools_def.template, then why we have to edit txt file instead= template. Please confirm we have to edit template file or txt file. and we= are made changes such as setting target and appending LDFLAGS on template = file. >=20 --Apple-Mail=_A07C2933-D9CE-4689-8646-76E1FECC43B2 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Prabin,
Conf/tools_def.txt is the local untracke= d by git copy of the file that the build actually uses. The Conf/tools= _def.txt does NOT get overwritten by the BaseTools/Conf/tools_def.template = if it exists. So you can edit Conf/tools_def.txt  locally for an exper= iment. If you change  BaseTools/Conf/tools_def.template then people ne= ed to force the update via `. edksetup.sh =E2=80=94reconfig`, if they have = a local copy. 

Thanks,

Andrew= Fish

On Oct 21, 2020, at 7:39 AM, Prabin CA <prabin.ca@arm.com> wrote:
Hi Andrew,

Yes, it copy from  BaseTools/Conf/tools_def.template= to Conf/tools_def.txt, so if we make any changes in Conf/tools_def.txt wil= l be over write by BaseTools/Conf/tools_def.template, then why we have to e= dit txt file instead template. Please confirm we have to edit template file= or txt file. and we are made changes such as setting target and appending = LDFLAGS on template file.

--Apple-Mail=_A07C2933-D9CE-4689-8646-76E1FECC43B2--