You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ma...@apache.org on 2016/04/28 02:09:56 UTC

[29/32] incubator-mynewt-newt git commit: compile .S files as well as .s

compile .S files as well as .s


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/8c3961d1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/8c3961d1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/8c3961d1

Branch: refs/heads/master
Commit: 8c3961d1ae20b77cd6c11716e80662e50ee9d975
Parents: 6256951
Author: Sterling Hughes <st...@apache.org>
Authored: Sat Apr 23 12:19:08 2016 -0700
Committer: Sterling Hughes <st...@apache.org>
Committed: Sat Apr 23 12:19:08 2016 -0700

----------------------------------------------------------------------
 newt/toolchain/compiler.go | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/8c3961d1/newt/toolchain/compiler.go
----------------------------------------------------------------------
diff --git a/newt/toolchain/compiler.go b/newt/toolchain/compiler.go
index c7a5d21..27942c8 100644
--- a/newt/toolchain/compiler.go
+++ b/newt/toolchain/compiler.go
@@ -403,6 +403,8 @@ func (c *Compiler) CompileC() error {
 //                                  to compile.
 func (c *Compiler) CompileAs() error {
 	files, _ := filepath.Glob("*.s")
+	Sfiles, _ := filepath.Glob("*.S")
+	files = append(files, Sfiles...)
 
 	wd, err := os.Getwd()
 	if err != nil {