Skip to content
Snippets Groups Projects
Commit 4ceab7a2 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Allow compiling both livedisk and harddrive

parent c9ed045c
No related branches found
No related tags found
No related merge requests found
...@@ -18,4 +18,4 @@ kernel_file: ...@@ -18,4 +18,4 @@ kernel_file:
.length equ kernel_file.end - kernel_file .length equ kernel_file.end - kernel_file
.length_sectors equ .length / 512 .length_sectors equ .length / 512
;incbin "build/userspace/filesystem.bin" incbin "build/filesystem.bin"
%include "bootsector.asm"
startup_start:
%ifdef ARCH_i386
%include "startup-i386.asm"
%endif
%ifdef ARCH_x86_64
%include "startup-x86_64.asm"
%endif
align 512, db 0
startup_end:
kernel_file:
incbin "build/kernel/kernel_live"
align 512, db 0
.end:
.length equ kernel_file.end - kernel_file
.length_sectors equ .length / 512
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment