From 1193925cd231ed15a48f9f34c0fab8101aa5c820 Mon Sep 17 00:00:00 2001 From: natrixaeria Date: Fri, 25 Oct 2019 04:07:23 +0200 Subject: Do not build start asm twice --- kernel/build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/build.sh b/kernel/build.sh index 14a864f..4a8130b 100755 --- a/kernel/build.sh +++ b/kernel/build.sh @@ -25,9 +25,8 @@ cleanup_temp() { build_kernel_elf() { create_target for f in $ASM_PATH/*.asm; do - nasm -felf64 "$f" -o $OBJ_PATH/"$(basename $f)".o + nasm -felf64 "$f" -o $OBJ_PATH/"$(basename -s .asm $f)".o done - nasm -felf64 $ASM_PATH/boot.asm -o $OBJ_PATH/boot.o ld -n -o $TARGET_PATH/kernel.bin -T $LINK_SCRIPT_PATH/linker.ld $OBJ_PATH/*.o cleanup_temp } -- cgit v1.2.3-70-g09d2