mirror of
https://github.com/google/pebble.git
synced 2025-03-15 08:41:21 +00:00
22 lines
560 B
Python
22 lines
560 B
Python
def configure(conf):
|
|
pass
|
|
|
|
|
|
def build(bld):
|
|
nanopb_sources = []
|
|
nanopb_sources.append(bld.path.make_node('pb_common.c'))
|
|
nanopb_sources.append(bld.path.make_node('pb_encode.c'))
|
|
nanopb_sources.append(bld.path.make_node('pb_decode.c'))
|
|
|
|
nanopb_includes = ['.']
|
|
|
|
bld(export_includes=nanopb_includes, name='nanopb_includes')
|
|
|
|
bld.stlib(source=nanopb_sources,
|
|
includes=nanopb_includes,
|
|
export_includes=nanopb_includes,
|
|
target='nanopb',
|
|
use=['pblibc'])
|
|
|
|
|
|
# vim:filetype=python
|