mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
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.
20 lines
374 B
Python
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)
|
|
|