From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mx.groups.io with SMTP id smtpd.web10.5348.1579084764427112512 for ; Wed, 15 Jan 2020 02:39:24 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.136, mailfrom: lan-chinx.hsu@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2020 02:39:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,322,1574150400"; d="scan'208";a="256706536" Received: from unknown (HELO lanchinx-MOBL.gar.corp.intel.com) ([10.5.246.112]) by fmsmga002.fm.intel.com with ESMTP; 15 Jan 2020 02:39:23 -0800 From: Lan-chinX Hsu To: devel@edk2.groups.io Cc: Lan-chinX Hsu , Liming Gao Subject: [PATCH] BaseTools:Fix tools_def.txt contains hard-coded path to mtoc Date: Wed, 15 Jan 2020 18:39:21 +0800 Message-Id: <20200115103921.464-1-lan-chinx.hsu@intel.com> X-Mailer: git-send-email 2.25.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=3D2030 Change MTOC PATH to reference $PATH to find mtoc. The Patch is going to fix this issue Signed-off-by: Lan-chinX Hsu Cc: Liming Gao --- BaseTools/Conf/tools_def.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.t= emplate index feee2bbf16..39b8c2e7df 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -2853,7 +2853,7 @@ NOOPT_CLANGPDB_X64_DLINK2_FLAGS =3D *_XCODE5_*_ASLPP_PATH =3D clang=0D *_XCODE5_*_ASLDLINK_PATH =3D ld=0D *_XCODE5_*_DSYMUTIL_PATH =3D /usr/bin/dsymutil=0D -*_XCODE5_*_MTOC_PATH =3D /usr/local/bin/mtoc=0D +*_XCODE5_*_MTOC_PATH =3D mtoc=0D *_XCODE5_*_DEPS_FLAGS =3D DEF(GCC_DEPS_FLAGS)=0D =0D ##################=0D --=20 2.17.1.windows.2