Browse Source

Removed img padding

master
Stephen Downward 1 year ago
parent
commit
420fb5b57a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile

+ 1
- 1
Makefile View File

@@ -14,7 +14,7 @@ CFLAGS = -g -m32 -nostdlib -nostdinc -fno-builtin -fno-stack-protector -nostartf
os-image.bin: boot/bootsect.bin boot/bootsect2.bin kernel.bin
cat $^ > os-image.bin
#Pad os-image.bin
dd if=/dev/null of=os-image.bin bs=1 count=0 seek=1474560
#dd if=/dev/null of=os-image.bin bs=1 count=0 seek=1474560
# '--oformat binary' deletes all symbols as a collateral, so we don't need
# to 'strip' them manually on this case
kernel.bin: boot/kernel_entry.o ${OBJ}


Loading…
Cancel
Save