blob: 39d795f4d65b12b5bde38eccfdda87fccf14320c [file] [log] [blame]
swissChilif3d65762022-07-03 22:34:54 -07001# -*- tcl -*-
2
3init kernel kernel.elf
4
swissChili56cf8172022-07-30 18:47:48 -07005presets freestanding debug warn
swissChilif3d65762022-07-03 22:34:54 -07006
swissChilie4229a22023-01-01 15:59:53 -05007cflags -I$root/include/kernel -I$root/include -I[pwd] -O0 -Wno-ignored-qualifiers -Wno-unused-params
swissChilif3d65762022-07-03 22:34:54 -07008
swissChili9b46c902022-07-10 15:48:46 -07009# Sources are mostly platform dependent (for now ;D )
10enable_multiplat
swissChilif3d65762022-07-03 22:34:54 -070011
swissChili9b46c902022-07-10 15:48:46 -070012srcs scan_codes.c
swissChilif3d65762022-07-03 22:34:54 -070013
14rule scan_codes.c "gen_scan_codes.py scan_codes.tsv" {
15 shell "python3 $::first_src > $::target"
16}
swissChili9b46c902022-07-10 15:48:46 -070017
18type custom_link
swissChili14d0b842023-01-01 02:22:44 -050019
20jmk_finalize