swissChili | f3d6576 | 2022-07-03 22:34:54 -0700 | [diff] [blame] | 1 | # -*- tcl -*- |
2 | |||||
3 | init kernel kernel.elf | ||||
4 | |||||
swissChili | 56cf817 | 2022-07-30 18:47:48 -0700 | [diff] [blame] | 5 | presets freestanding debug warn |
swissChili | f3d6576 | 2022-07-03 22:34:54 -0700 | [diff] [blame] | 6 | |
swissChili | e4229a2 | 2023-01-01 15:59:53 -0500 | [diff] [blame^] | 7 | cflags -I$root/include/kernel -I$root/include -I[pwd] -O0 -Wno-ignored-qualifiers -Wno-unused-params |
swissChili | f3d6576 | 2022-07-03 22:34:54 -0700 | [diff] [blame] | 8 | |
swissChili | 9b46c90 | 2022-07-10 15:48:46 -0700 | [diff] [blame] | 9 | # Sources are mostly platform dependent (for now ;D ) |
10 | enable_multiplat | ||||
swissChili | f3d6576 | 2022-07-03 22:34:54 -0700 | [diff] [blame] | 11 | |
swissChili | 9b46c90 | 2022-07-10 15:48:46 -0700 | [diff] [blame] | 12 | srcs scan_codes.c |
swissChili | f3d6576 | 2022-07-03 22:34:54 -0700 | [diff] [blame] | 13 | |
14 | rule scan_codes.c "gen_scan_codes.py scan_codes.tsv" { | ||||
15 | shell "python3 $::first_src > $::target" | ||||
16 | } | ||||
swissChili | 9b46c90 | 2022-07-10 15:48:46 -0700 | [diff] [blame] | 17 | |
18 | type custom_link | ||||
swissChili | 14d0b84 | 2023-01-01 02:22:44 -0500 | [diff] [blame] | 19 | |
20 | jmk_finalize |