blob: ffd134c050b147752f5492b3dfba27feba346b31 [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
swissChili9b46c902022-07-10 15:48:46 -07007cflags -I$root/include/kernel -I$root/include -I[pwd] -O0 -Wno-ignored-qualifiers -Wno-unused-params -Wno-sign-compare
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