Changeset 389f41e in mainline for arch/amd64
- 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
- Location:
- arch/amd64
- Files:
-
- 25 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/Makefile.inc
r5b65205 r389f41e 32 32 BFD_NAME = elf64-x86-64 33 33 BFD_ARCH = i386:x86-64 34 BFD = binary 34 35 TARGET = amd64-linux-gnu 35 36 TOOLCHAIN_DIR = /usr/local/amd64/bin -
arch/amd64/_link.ld.in
r5b65205 r389f41e 13 13 #include <arch/mm/page.h> 14 14 15 OUTPUT_FORMAT( binary)15 OUTPUT_FORMAT(BFD) 16 16 ENTRY(kernel_image_start) 17 17 -
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.