From: GregNoel Date: Thu, 25 Sep 2008 09:31:12 +0000 (+0000) Subject: Issue 2183: .sx assembler suffix uses C preprocessor X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d75a31c6121f613ae5f6ab02ea6e33b1933f7a8b;p=scons.git Issue 2183: .sx assembler suffix uses C preprocessor git-svn-id: http://scons.tigris.org/svn/scons/trunk@3473 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Tool/__init__.xml b/src/engine/SCons/Tool/__init__.xml index ff50450b..8e69f07f 100644 --- a/src/engine/SCons/Tool/__init__.xml +++ b/src/engine/SCons/Tool/__init__.xml @@ -273,6 +273,8 @@ Source files must have one of the following extensions: .mm Object C++ file .s assembly language file .S Windows: assembly language file + ARM: CodeSourcery Sourcery Lite + .sx assembly language file + C pre-processor POSIX: assembly language file + C pre-processor .spp assembly language file + C pre-processor .SPP assembly language file + C pre-processor diff --git a/src/engine/SCons/Tool/as.py b/src/engine/SCons/Tool/as.py index 1b1b4b3a..100e68bb 100644 --- a/src/engine/SCons/Tool/as.py +++ b/src/engine/SCons/Tool/as.py @@ -40,7 +40,7 @@ import SCons.Util assemblers = ['as'] ASSuffixes = ['.s', '.asm', '.ASM'] -ASPPSuffixes = ['.spp', '.SPP'] +ASPPSuffixes = ['.spp', '.SPP', '.sx'] if SCons.Util.case_sensitive_suffixes('.s', '.S'): ASPPSuffixes.extend(['.S']) else: diff --git a/src/engine/SCons/Tool/masm.py b/src/engine/SCons/Tool/masm.py index a0c03d9c..ea34d796 100644 --- a/src/engine/SCons/Tool/masm.py +++ b/src/engine/SCons/Tool/masm.py @@ -38,7 +38,7 @@ import SCons.Tool import SCons.Util ASSuffixes = ['.s', '.asm', '.ASM'] -ASPPSuffixes = ['.spp', '.SPP'] +ASPPSuffixes = ['.spp', '.SPP', 'sx'] if SCons.Util.case_sensitive_suffixes('.s', '.S'): ASPPSuffixes.extend(['.S']) else: diff --git a/src/engine/SCons/Tool/nasm.py b/src/engine/SCons/Tool/nasm.py index 6d0f078f..bbd99fdc 100644 --- a/src/engine/SCons/Tool/nasm.py +++ b/src/engine/SCons/Tool/nasm.py @@ -38,7 +38,7 @@ import SCons.Tool import SCons.Util ASSuffixes = ['.s', '.asm', '.ASM'] -ASPPSuffixes = ['.spp', '.SPP'] +ASPPSuffixes = ['.spp', '.SPP', 'sx'] if SCons.Util.case_sensitive_suffixes('.s', '.S'): ASPPSuffixes.extend(['.S']) else: