blob: 38e44b99342f275c41ee14319b36f8c3f1d7db21 [file] [log] [blame]
swissChilif3d65762022-07-03 22:34:54 -07001# -*- tcl -*-
2
3init kernel kernel.elf
4
5presets freestanding debug 32 warn nasm
6
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