Files
jsix/src/libraries/j6/j6.module
Justin C. Miller 950360fddc [libj6] Move remaining j6 headers out of src/include
This means the kernel now depends on libj6. I've added the macro
definition __j6kernel when building for the kernel target, so I can
remove parts with #ifdefs.
2022-01-12 16:04:16 -08:00

20 lines
374 B
Python

# vim: ft=python
j6 = module("j6",
kind = "lib",
includes = [ "include" ],
sources = [
"init.cpp",
"include/j6/syscalls.h.cog",
"syscalls.s.cog",
])
from glob import glob
definitions = glob('definitions/**/*.def', recursive=True)
j6.add_depends([
"include/j6/syscalls.h.cog",
"syscalls.s.cog",
], definitions)