Reviewed-by: Liming Gao
> -Original Message-
> From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of
> Yonghong Zhu
> Sent: Wednesday, October 24, 2018 3:38 PM
> To: edk2-devel@lists.01.org
> Cc: Gao, Liming
> Subject: [edk2] [Patch] BaseTools: list .nasm include inc files as its
> dependency
>
> From: zhijufan
>
> .nasm source file may include some header files.
> header file should be listed in Makefile as .nasm source file
> dependency.
> But now, BaseTools doesn't find them and list them in Makefile.
> This is a missing, because original ASM file supports it.
>
> Cc: Liming Gao
> Cc: Yonghong Zhu
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Zhiju.Fan
> Signed-off-by: Yonghong Zhu
> ---
> BaseTools/Source/Python/AutoGen/GenMake.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/BaseTools/Source/Python/AutoGen/GenMake.py
> b/BaseTools/Source/Python/AutoGen/GenMake.py
> index b4377ee..d94d8f9 100644
> --- a/BaseTools/Source/Python/AutoGen/GenMake.py
> +++ b/BaseTools/Source/Python/AutoGen/GenMake.py
> @@ -28,11 +28,11 @@ from .BuildEngine import *
> import Common.GlobalData as GlobalData
> from collections import OrderedDict
> from Common.DataType import TAB_COMPILER_MSFT
>
> ## Regular expression for finding header file inclusions
> -gIncludePattern = re.compile(r"^[ \t]*#?[ \t]*include(?:[
> \t]*(?:\\(?:\r\n|\r|\n))*[ \t]*)*(?:\(?[\"<]?[ \t]*)([-\w.\\/()
> \t]+)(?:[ \t]*[\">]?\)?)", re.MULTILINE | re.UNICODE | re.IGNORECASE)
> +gIncludePattern = re.compile(r"^[ \t]*[#%]?[ \t]*include(?:[
> \t]*(?:\\(?:\r\n|\r|\n))*[ \t]*)*(?:\(?[\"<]?[ \t]*)([-\w.\\/()
> \t]+)(?:[ \t]*[\">]?\)?)", re.MULTILINE | re.UNICODE | re.IGNORECASE)
>
> ## Regular expression for matching macro used in header file inclusion
> gMacroPattern = re.compile("([_A-Z][_A-Z0-9]*)[ \t]*\((.+)\)", re.UNICODE)
>
> gIsFileMap = {}
> --
> 2.6.1.windows.1
>
> ___
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
___
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel