swissChili | 04a856e | 2021-03-13 22:14:18 -0800 | [diff] [blame^] | 1 | .TH building 9 "13 March 2021" "1" "Building the kernel" |
swissChili | 825d46b | 2021-02-21 10:14:16 -0800 | [diff] [blame] | 2 | .SH SYNOPSIS |
swissChili | 04a856e | 2021-03-13 22:14:18 -0800 | [diff] [blame^] | 3 | Bluejay uses the JMK build system, a simple M4 script that generates Makefiles. |
| 4 | Use the jmk binary in bin/ to generate Makefiles, then build the kernel with the |
| 5 | Makefile in src/kernel/. |
swissChili | 825d46b | 2021-02-21 10:14:16 -0800 | [diff] [blame] | 6 | .SH DESCRIPTION |
| 7 | The included Makefile provides several targets useful for building and |
| 8 | debugging the kernel. Here are the useful targets: |
| 9 | |
| 10 | kernel.elf: compile multiboot kernel |
| 11 | |
| 12 | qemu: run multiboot kernel in qemu |
| 13 | |
| 14 | debug: run qemu with debug server and attach gdb |
| 15 | |
| 16 | install: build bootable grub image in /bin/bluejay.iso |
| 17 | |
| 18 | qemu-iso: boot the iso file |
| 19 | |
| 20 | clean: delete build artifacts |
swissChili | 04a856e | 2021-03-13 22:14:18 -0800 | [diff] [blame^] | 21 | .SH SEE ALSO |
| 22 | jmk(1) |