From 98557424d956bb8a93a98340720bdbe3017cc04a Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 15 Jul 2020 22:56:19 +0200 Subject: this very much good be --- run | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'run') diff --git a/run b/run index 2cd64c1..8a53630 100755 --- a/run +++ b/run @@ -89,7 +89,7 @@ make_cross() { } make_build() { - rm -rf ./disk/bin/ ./disk/ + rm -rf disk/bin/ disk/ mkdir -p build/ disk/bin/ disk/ echo "Building..." @@ -98,8 +98,11 @@ make_build() { make cd .. - # Copy files + # Assemble bootloader nasm src/entry.asm -f bin -o disk/boot.bin + + # Make kernel binary + objcopy -O binary build/melvix.o build/melvix.bin cp build/melvix.bin disk/ # Create disk image -- cgit v1.2.3