Changeset 389f41e in mainline for arch/amd64/boot/Makefile
- Timestamp:
- 2005-11-08T11:57:23Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5f85c91
- Parents:
- 5b65205
- File:
-
- 1 edited
-
arch/amd64/boot/Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/boot/Makefile
r5b65205 r389f41e 1 .PHONY: nothing build clean 2 3 nothing: 1 .PHONY: build clean 4 2 5 3 build: boot.bin 6 4 dd if=boot.bin of=../../../image.bin bs=512 conv=sync 7 -cat ../../../kernel.bin >> ../../../image.bin5 -cat ../../../kernel.bin >> ../../../image.bin 8 6 dd if=/dev/zero of=../../../image.bin bs=1 seek=1474559 count=1 9 7 10 8 boot.bin: boot.o 11 ld-T boot.ld -entry _start_0x7c00 --oformat binary boot.o -o $@9 $(LD) -T boot.ld -entry _start_0x7c00 --oformat binary boot.o -o $@ 12 10 13 11 boot.o: boot.S 14 gcc -E -DKERNEL_SIZE=$(KERNEL_SIZE) boot.S >boot.s15 asboot.s -o $@12 $(CC) -E -DKERNEL_SIZE=$(KERNEL_SIZE) boot.S > boot.s 13 $(AS) boot.s -o $@ 16 14 rm boot.s 17 15 18 16 clean: 19 -rm *.o *.bin17 -rm -f boot.o boot.bin ../../../image.bin
Note:
See TracChangeset
for help on using the changeset viewer.
