public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "gaoliming" <gaoliming@byosoft.com.cn>
To: "'Feng, Bob C'" <bob.c.feng@intel.com>, <yuwei.chen@intel.com>
Cc: <devel@edk2.groups.io>
Subject: 回复: [edk2-devel] [PATCH 1/1] BaseTools: Move C tool flags before the common flags
Date: Tue, 29 Sep 2020 09:08:59 +0800	[thread overview]
Message-ID: <001601d695fd$1ce3e450$56abacf0$@byosoft.com.cn> (raw)
In-Reply-To: <16351DF886D5D5F8.19281@groups.io>

Bob & Yuwei:
  Can you help review this patch?

Thanks
Liming
> -----邮件原件-----
> 发件人: bounce+27952+65297+4905953+8761045@groups.io
> <bounce+27952+65297+4905953+8761045@groups.io> 代表 gaoliming
> 发送时间: 2020年9月16日 9:03
> 收件人: devel@edk2.groups.io
> 抄送: Yuwei Chen <yuwei.chen@intel.com>; Bob Feng <bob.c.feng@intel.com>
> 主题: [edk2-devel] [PATCH 1/1] BaseTools: Move C tool flags before the
common
> flags
> 
> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=2938
> 
> C tool may add the additional INC include path. They should have
> high priority than the common INC include path.
> This fix is to resolve the structure PCD issue to refer to the same
> header file defined in BaseTools and MdePkg. The one in MdePkg should
> be used.
> 
> Cc: Yuwei Chen <yuwei.chen@intel.com>
> Cc: Bob Feng <bob.c.feng@intel.com>
> Signed-off-by: Liming Gao <gaoliming@byosoft.com.cn>
> ---
>  BaseTools/Source/C/Makefiles/ms.common            | 2 +-
>  BaseTools/Source/Python/Workspace/DscBuildData.py | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/BaseTools/Source/C/Makefiles/ms.common
> b/BaseTools/Source/C/Makefiles/ms.common
> index f5f77fdc0bc5..b2dbcf376c04 100644
> --- a/BaseTools/Source/C/Makefiles/ms.common
> +++ b/BaseTools/Source/C/Makefiles/ms.common
> @@ -55,7 +55,7 @@ AR = lib.exe
>  LD = link.exe
>  LINKER = $(LD)
> 
> -INC = -I . -I $(SOURCE_PATH)\Include -I $(ARCH_INCLUDE) -I
> $(SOURCE_PATH)\Common $(INC)
> +INC = $(INC) -I . -I $(SOURCE_PATH)\Include -I $(ARCH_INCLUDE) -I
> $(SOURCE_PATH)\Common
> 
>  CFLAGS = $(CFLAGS) /nologo /Zi /c /O2 /MT /W4 /WX /D
> _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE
>  CPPFLAGS = $(CPPFLAGS) /EHsc /nologo /Zi /c /O2 /MT /D
> _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE
> diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py
> b/BaseTools/Source/Python/Workspace/DscBuildData.py
> index 1afbd3eefc6c..eba65625337a 100644
> --- a/BaseTools/Source/Python/Workspace/DscBuildData.py
> +++ b/BaseTools/Source/Python/Workspace/DscBuildData.py
> @@ -2639,7 +2639,7 @@ class DscBuildData(PlatformBuildClassObject):
>          else:
>              MakeApp = MakeApp + PcdGccMakefile
>              MakeApp = MakeApp + 'APPFILE = %s/%s\n' % (self.OutputPath,
> PcdValueInitName) + 'APPNAME = %s\n' % (PcdValueInitName) + 'OBJECTS
> = %s/%s.o %s.o\n' % (self.OutputPath, PcdValueInitName,
> os.path.join(self.OutputPath, PcdValueCommonName)) + \
> -                      'include $(MAKEROOT)/Makefiles/app.makefile\n' +
> 'INCLUDE +='
> +                      'include $(MAKEROOT)/Makefiles/app.makefile\n' +
> 'TOOL_INCLUDE +='
> 
>          IncSearchList = []
>          PlatformInc = OrderedDict()
> --
> 2.27.0.windows.1
> 
> 
> 
> 
> 
> 




           reply	other threads:[~2020-09-29  1:09 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <16351DF886D5D5F8.19281@groups.io>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001601d695fd$1ce3e450$56abacf0$@byosoft.com.cn' \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox