Introducing LunaBuild to the build flow (#36)
[lunaix-os.git] / lunaix-os / arch / i386 / LBuild
1 use("hal")
2
3 sources([
4     "exceptions/interrupts.c",
5     "exceptions/i386_isrdef.c",
6     "exceptions/intr_routines.c",
7     "exceptions/i386_isrm.c",
8     
9     "exceptions/interrupt.S",
10     "exceptions/intrhnds.S",
11 ])
12
13 sources([
14     "boot/mb_parser.c",
15     "boot/kpt_setup.c",
16     "boot/init32.c",
17
18     "boot/boot.S",
19     "boot/prologue.S"
20 ])
21
22 sources([
23     "mm/fault.c",
24     "mm/tlb.c",
25     "mm/pmm.c",
26     "mm/gdt.c",
27     "mm/vmutils.c"
28 ])
29
30 sources([
31     "klib/fast_crc.c",
32     "klib/fast_str.c",
33     "hart.c",
34     "arch.c",
35     "gdbstub.c",
36     "trace.c",
37
38     "syscall.S",
39     "failsafe.S"
40 ])
41
42 headers([
43     "includes"
44 ])