On 05/28/2015 10:38 AM, Andrew Fish wrote:
>
>> On May 28, 2015, at 8:35 AM, Hauch, Larry <larry.ha...@intel.com> wrote:
>>
>> Hi Jordan,
>> So if we remove .Nasm and .NASM and someone accidentally uses these in an 
>> INF file, should the build break?
>
> I vote yes. All our build servers run with a case sensitive file system.
>

Seconded.

> Thanks,
>
> Andrew Fish
>
>> Cheers,
>> Larry
>>
>> -----Original Message-----
>> From: Jordan Justen [mailto:jordan.l.jus...@intel.com]
>> Sent: Thursday, May 28, 2015 8:14 AM
>> To: edk2-devel@lists.sourceforge.net
>> Subject: [edk2] [PATCH v2] BaseTools/Conf: Don't support upper case nasm 
>> extensions
>>
>> For *.asm and *.s, there have been cases of *.Asm and *.S files, but since 
>> the nasm extensions are new, we don't need to support the upper case 
>> extensions.
>>
>> In other words, remove .Nasm and .NASM.
>>
>> Contributed-under: TianoCore Contribution Agreement 1.0
>> Signed-off-by: Jordan Justen <jordan.l.jus...@intel.com>
>> Cc: Liming Gao <liming....@intel.com>
>> ---
>> BaseTools/Conf/build_rule.template | 4 ++--  
>> BaseTools/Conf/tools_def.template  | 8 ++++----
>> 2 files changed, 6 insertions(+), 6 deletions(-)
>>
>> diff --git a/BaseTools/Conf/build_rule.template 
>> b/BaseTools/Conf/build_rule.template
>> index f1edf3a..e5467cc 100644
>> --- a/BaseTools/Conf/build_rule.template
>> +++ b/BaseTools/Conf/build_rule.template
>> @@ -194,7 +194,7 @@
>>
>> [Nasm-Assembly-Code-File.COMMON.COMMON]
>>      <InputFile>
>> -        ?.nasm, ?.Nasm, ?.NASM
>> +        ?.nasm
>>
>>      <ExtraDependency>
>>          $(MAKE_FILE)
>> @@ -479,7 +479,7 @@
>>
>> [Nasm-to-Binary-Code-File]
>>      <InputFile>
>> -        ?.nasmb, ?.NASMB
>> +        ?.nasmb
>>
>>      <ExtraDependency>
>>          $(MAKE_FILE)
>> diff --git a/BaseTools/Conf/tools_def.template 
>> b/BaseTools/Conf/tools_def.template
>> index ad34a3d..fd7b4b5 100644
>> --- a/BaseTools/Conf/tools_def.template
>> +++ b/BaseTools/Conf/tools_def.template
>> @@ -6276,7 +6276,7 @@ NOOPT_MYTOOLS_IPF_DLINK_FLAGS            = /NOLOGO 
>> /NODEFAULTLIB /LTCG /DLL /OPT
>> #   XCODE32         - Xcode 3.2 Tools (Snow Leopard)
>> *_XCODE32_*_*_FAMILY            = GCC
>> *_XCODE32_*_*_BUILDRULEFAMILY   = XCODE
>> -*_XCODE32_*_*_BUILDRULEORDER    = S s nasm Nasm NASM
>> +*_XCODE32_*_*_BUILDRULEORDER    = S s nasm
>>
>>
>> *_XCODE32_*_ASL_PATH          = /usr/bin/iasl
>> @@ -6386,7 +6386,7 @@ RELEASE_XCODE32_ARM_CC_FLAGS   = $(ARCHCC_FLAGS) 
>> $(PLATFORM_FLAGS) -mthumb-inter
>> #   CLANG         - clang that produce Mach-O with EFI x86_64 ABI
>> *_XCLANG_*_*_FAMILY            = GCC
>> *_XCLANG_*_*_BUILDRULEFAMILY   = XCODE
>> -*_XCLANG_*_*_BUILDRULEORDER    = S s nasm Nasm NASM
>> +*_XCLANG_*_*_BUILDRULEORDER    = S s nasm
>>
>> *_XCLANG_*_ASL_PATH          = /usr/bin/iasl
>>
>> @@ -6450,7 +6450,7 @@ RELEASE_XCLANG_X64_CC_FLAGS   = -ccc-host-triple 
>> x86_64-pc-win32-macho -c    -Os
>>
>> *_XCODE5_*_*_FAMILY            = GCC
>> *_XCODE5_*_*_BUILDRULEFAMILY   = XCODE
>> -*_XCODE5_*_*_BUILDRULEORDER    = S s nasm Nasm NASM
>> +*_XCODE5_*_*_BUILDRULEORDER    = S s nasm
>>
>> *_XCODE5_*_ASL_PATH          = /usr/bin/iasl
>>
>> @@ -6947,4 +6947,4 @@ RELEASE_ARMLINUXGCC_AARCH64_CC_FLAGS = $(ARCHCC_FLAGS) 
>> $(PLATFORM_FLAGS) DEF(GCC  #################  # Build rule order  
>> ################# -*_*_*_*_BUILDRULEORDER = nasm Nasm NASM asm Asm ASM S s
>> +*_*_*_*_BUILDRULEORDER = nasm asm Asm ASM S s
>> --
>> 2.1.4
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> edk2-devel mailing list
>> edk2-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> edk2-devel mailing list
>> edk2-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>


-- 

                                                Brian J. Johnson

--------------------------------------------------------------------

   My statements are my own, are not authorized by SGI, and do not
   necessarily represent SGI’s positions.

------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to