| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 | 2 |
| 3 # Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 3 # Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file |
| 4 # for details. All rights reserved. Use of this source code is governed by a | 4 # for details. All rights reserved. Use of this source code is governed by a |
| 5 # BSD-style license that can be found in the LICENSE file. | 5 # BSD-style license that can be found in the LICENSE file. |
| 6 | 6 |
| 7 import os | 7 import os |
| 8 import sys | 8 import sys |
| 9 import utils | 9 import utils |
| 10 import subprocess | 10 import subprocess |
| 11 | 11 |
| 12 def is_executable(path): | 12 def is_executable(path): |
| 13 return os.path.isfile(path) and os.access(path, os.X_OK) | 13 return os.path.isfile(path) and os.access(path, os.X_OK) |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 elif "-DGCC_XARM_LOCAL" in args: | 110 elif "-DGCC_XARM_LOCAL" in args: |
| 111 invoke_gcc_local(args) | 111 invoke_gcc_local(args) |
| 112 elif "-L/GCC_XARM_LOCAL" in args: | 112 elif "-L/GCC_XARM_LOCAL" in args: |
| 113 args.remove("-L/GCC_XARM_LOCAL") | 113 args.remove("-L/GCC_XARM_LOCAL") |
| 114 invoke_gcc_local(args) | 114 invoke_gcc_local(args) |
| 115 else: | 115 else: |
| 116 invoke_gcc(args) | 116 invoke_gcc(args) |
| 117 | 117 |
| 118 if __name__ == '__main__': | 118 if __name__ == '__main__': |
| 119 main() | 119 main() |
| OLD | NEW |