| 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 elif "-DGCC_XARM_LOCAL" in args: | 115 elif "-DGCC_XARM_LOCAL" in args: |
| 116 invoke_gcc_local(args) | 116 invoke_gcc_local(args) |
| 117 elif "-L/GCC_XARM_LOCAL" in args: | 117 elif "-L/GCC_XARM_LOCAL" in args: |
| 118 args.remove("-L/GCC_XARM_LOCAL") | 118 args.remove("-L/GCC_XARM_LOCAL") |
| 119 invoke_gcc_local(args) | 119 invoke_gcc_local(args) |
| 120 else: | 120 else: |
| 121 invoke_gcc(args) | 121 invoke_gcc(args) |
| 122 | 122 |
| 123 if __name__ == '__main__': | 123 if __name__ == '__main__': |
| 124 main() | 124 main() |
| OLD | NEW |