# -*- tcl -*- | |
init kernel kernel.elf | |
presets freestanding debug warn | |
cflags -I$root/include/kernel -I$root/include -I[pwd] -O0 -Wno-ignored-qualifiers -Wno-unused-params | |
# Sources are mostly platform dependent (for now ;D ) | |
enable_multiplat | |
srcs scan_codes.c | |
rule scan_codes.c "gen_scan_codes.py scan_codes.tsv" { | |
shell "python3 $::first_src > $::target" | |
} | |
type custom_link | |
jmk_finalize |