Rev 84 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 84 | Rev 85 | ||
---|---|---|---|
Line 3... | Line 3... | ||
3 | nothing: |
3 | nothing: |
4 | 4 | ||
5 | build: boot.bin |
5 | build: boot.bin |
6 | dd if=boot.bin of=../../../src/image.bin bs=512 conv=sync |
6 | dd if=boot.bin of=../../../src/image.bin bs=512 conv=sync |
7 | -cat ../../../src/kernel.bin >>../../../src/image.bin |
7 | -cat ../../../src/kernel.bin >>../../../src/image.bin |
8 | dd if=/dev/zero of=../../../src/image.bin bs=1 seek=$(KERNEL_SIZE) count=`expr 1474560 - $(KERNEL_SIZE)` |
8 | dd if=/dev/zero of=../../../src/image.bin bs=1 seek=1474559 count=1 |
9 | 9 | ||
10 | boot.bin: boot.o |
10 | boot.bin: boot.o |
11 | ld -T boot.ld -entry _start_0x7c00 --oformat binary boot.o -o $@ |
11 | ld -T boot.ld -entry _start_0x7c00 --oformat binary boot.o -o $@ |
12 | 12 | ||
13 | boot.o: boot.S |
13 | boot.o: boot.S |