Skip to content

Commit

Permalink
seems to work now
Browse files Browse the repository at this point in the history
  • Loading branch information
Comma Device authored and geohot committed Dec 1, 2019
1 parent 41e8083 commit d092949
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 99 deletions.
97 changes: 0 additions & 97 deletions can/Makefile

This file was deleted.

5 changes: 3 additions & 2 deletions can/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ for x in os.listdir('../'):
if x.endswith(".dbc"):
def compile_dbc(target, source, env):
process(source[0].path, target[0].path)
in_fn = os.path.join('../', x)
in_fn = [os.path.join('../', x), 'dbc_template.cc']
out_fn = os.path.join('dbc_out', x.replace(".dbc", ".cc"))
dbc = env.Command(out_fn, in_fn, compile_dbc)
dbcs.append(dbc)

libdbc = env.SharedLibrary('libdbc', dbcs)

libdbc = env.SharedLibrary('libdbc', ["dbc.cc", "parser.cc", "packer.cc", "common.cc"]+dbcs, LIBS=["capnp", "kj"])

# packer
env.Command(['packer_impl.so'],
Expand Down

0 comments on commit d092949

Please sign in to comment.