mirror of
https://github.com/google/pebble.git
synced 2025-11-21 15:02:18 -05:00
Import of the watch repository from Pebble
This commit is contained in:
15
platform/tintin/boot/libc/wscript
Normal file
15
platform/tintin/boot/libc/wscript
Normal file
@@ -0,0 +1,15 @@
|
||||
def build(bld):
|
||||
# Collect all the files in the libc directory
|
||||
source_dirs = ['string', 'math', 'stub']
|
||||
sources = sum([bld.path.ant_glob('%s/*.c' % d) for d in source_dirs], [])
|
||||
sources.extend(bld.path.ant_glob('*.c'))
|
||||
|
||||
# Build the libc directory using firmware environment
|
||||
bld.objects(source=sources,
|
||||
target='pblibc',
|
||||
includes=['include', '.'],
|
||||
cflags=['-fno-lto'],
|
||||
export_includes='include',
|
||||
use='')
|
||||
|
||||
# vim:filetype=python
|
||||
Reference in New Issue
Block a user