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 1C66A82079 for ; Sun, 18 Dec 2016 22:00:09 -0800 (PST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP; 18 Dec 2016 22:00:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,372,1477983600"; d="scan'208";a="204371141" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga004.fm.intel.com with ESMTP; 18 Dec 2016 22:00:08 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 18 Dec 2016 22:00:08 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 18 Dec 2016 22:00:08 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.54]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.77]) with mapi id 14.03.0248.002; Mon, 19 Dec 2016 14:00:04 +0800 From: "Gao, Liming" To: "Zhu, Yonghong" , "edk2-devel@lists.01.org" Thread-Topic: [Patch] BaseTools: Correct bin wrappers for GenDepex.py path Thread-Index: AQHSWagvr/8Jbnw/uUa0mEjB7+crQKEOxvVw Date: Mon, 19 Dec 2016 06:00:04 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14D6B2679@shsmsx102.ccr.corp.intel.com> References: <1482118193-5884-1-git-send-email-yonghong.zhu@intel.com> In-Reply-To: <1482118193-5884-1-git-send-email-yonghong.zhu@intel.com> 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: [Patch] BaseTools: Correct bin wrappers for GenDepex.py path 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: Mon, 19 Dec 2016 06:00:09 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao > -----Original Message----- > From: Zhu, Yonghong > Sent: Monday, December 19, 2016 11:30 AM > To: edk2-devel@lists.01.org > Cc: Gao, Liming > Subject: [Patch] BaseTools: Correct bin wrappers for GenDepex.py path >=20 > The WindowsLike and PosixLike bin wrappers for GenDepex.py do not use > correct path. GenDepex.py is not in a GenDepex directory. Instead, it is > in the AutoGen directory. >=20 > Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=3D292 > Cc: Liming Gao > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Yonghong Zhu > --- > BaseTools/BinWrappers/PosixLike/GenDepex | 2 +- > BaseTools/BinWrappers/WindowsLike/GenDepex.bat | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/BaseTools/BinWrappers/PosixLike/GenDepex > b/BaseTools/BinWrappers/PosixLike/GenDepex > index 214d88f..bdb6722 100755 > --- a/BaseTools/BinWrappers/PosixLike/GenDepex > +++ b/BaseTools/BinWrappers/PosixLike/GenDepex > @@ -9,6 +9,6 @@ fi > full_cmd=3D${BASH_SOURCE:-$0} # see > http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not = a > good choice here > dir=3D$(dirname "$full_cmd") > cmd=3D${full_cmd##*/} >=20 > export PYTHONPATH=3D"$dir/../../Source/Python" > -exec "${python_exe:-python}" "$dir/../../Source/Python/$cmd/$cmd.py" > "$@" > +exec "${python_exe:-python}" > "$dir/../../Source/Python/AutoGen/$cmd.py" "$@" > diff --git a/BaseTools/BinWrappers/WindowsLike/GenDepex.bat > b/BaseTools/BinWrappers/WindowsLike/GenDepex.bat > index 9fbb704..ffc783d 100644 > --- a/BaseTools/BinWrappers/WindowsLike/GenDepex.bat > +++ b/BaseTools/BinWrappers/WindowsLike/GenDepex.bat > @@ -1,3 +1,3 @@ > @setlocal > @set ToolName=3D%~n0% > - > @%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\% > ToolName%\%ToolName%.py %* > +@%PYTHON_HOME%\python.exe %BASE_TOOLS_PATH%\Source\Python\ > AutoGen\%ToolName%.py %* > -- > 2.6.1.windows.1