You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by st...@apache.org on 2016/04/23 21:19:18 UTC

incubator-mynewt-newt git commit: compile .S files as well as .s

Repository: incubator-mynewt-newt
Updated Branches:
  refs/heads/develop 625695137 -> 8c3961d1a


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/develop
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 {