mirror of
https://github.com/google/pebble.git
synced 2025-06-02 00:13:12 +00:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
18
third_party/waf/waf-light/waflib/Tools/gas.py
vendored
Normal file
18
third_party/waf/waf-light/waflib/Tools/gas.py
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/env python
|
||||
# encoding: utf-8
|
||||
# Thomas Nagy, 2008-2010 (ita)
|
||||
|
||||
"Detect as/gas/gcc for compiling assembly files"
|
||||
|
||||
import waflib.Tools.asm # - leave this
|
||||
from waflib.Tools import ar
|
||||
|
||||
def configure(conf):
|
||||
"""
|
||||
Find the programs gas/as/gcc and set the variable *AS*
|
||||
"""
|
||||
conf.find_program(['gas', 'gcc'], var='AS')
|
||||
conf.env.AS_TGT_F = ['-c', '-o']
|
||||
conf.env.ASLNK_TGT_F = ['-o']
|
||||
conf.find_ar()
|
||||
conf.load('asm')
|
Loading…
Add table
Add a link
Reference in a new issue