Skip to content

Commit d092949

Browse files
Comma Devicegeohot
Comma Device
authored andcommitted
seems to work now
1 parent 41e8083 commit d092949

File tree

2 files changed

+3
-99
lines changed

2 files changed

+3
-99
lines changed

can/Makefile

-97
This file was deleted.

can/SConscript

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ for x in os.listdir('../'):
88
if x.endswith(".dbc"):
99
def compile_dbc(target, source, env):
1010
process(source[0].path, target[0].path)
11-
in_fn = os.path.join('../', x)
11+
in_fn = [os.path.join('../', x), 'dbc_template.cc']
1212
out_fn = os.path.join('dbc_out', x.replace(".dbc", ".cc"))
1313
dbc = env.Command(out_fn, in_fn, compile_dbc)
1414
dbcs.append(dbc)
1515

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

1819
# packer
1920
env.Command(['packer_impl.so'],

0 commit comments

Comments
 (0)