source: mainline/arch/ia32/boot/Makefile@ c9ed176

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since c9ed176 was c9ed176, checked in by Jakub Jermar <jakub@…>, 20 years ago

Move kernel build files one level up the directory tree.
Fix paths in your testing environment!

  • Property mode set to 100644
File size: 425 bytes
Line 
1.PHONY: nothing build clean
2
3nothing:
4
5build: boot.bin
6 dd if=boot.bin of=../../../image.bin bs=512 conv=sync
7 -cat ../../../kernel.bin >>../../../image.bin
8 dd if=/dev/zero of=../../../image.bin bs=1 seek=1474559 count=1
9
10boot.bin: boot.o
11 ld -T boot.ld -entry _start_0x7c00 --oformat binary boot.o -o $@
12
13boot.o: boot.S
14 gcc -E -DKERNEL_SIZE=$(KERNEL_SIZE) boot.S >boot.s
15 as boot.s -o $@
16 rm boot.s
17
18clean:
19 -rm *.o *.bin
Note: See TracBrowser for help on using the repository browser.