Changeset 389f41e in mainline for arch/amd64/boot/Makefile


Ignore:
Timestamp:
2005-11-08T11:57:23Z (20 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5f85c91
Parents:
5b65205
Message:

new build system almost finished

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/boot/Makefile

    r5b65205 r389f41e  
    1 .PHONY: nothing build clean
    2 
    3 nothing:
     1.PHONY: build clean
    42
    53build: boot.bin
    64        dd if=boot.bin of=../../../image.bin bs=512 conv=sync
    7         -cat ../../../kernel.bin >>../../../image.bin
     5        -cat ../../../kernel.bin >> ../../../image.bin
    86        dd if=/dev/zero of=../../../image.bin bs=1 seek=1474559 count=1
    97
    108boot.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 $@
    1210
    1311boot.o: boot.S
    14         gcc -E -DKERNEL_SIZE=$(KERNEL_SIZE) boot.S >boot.s
    15         as boot.s -o $@
     12        $(CC) -E -DKERNEL_SIZE=$(KERNEL_SIZE) boot.S > boot.s
     13        $(AS) boot.s -o $@
    1614        rm boot.s
    1715
    1816clean:
    19         -rm *.o *.bin
     17        -rm -f boot.o boot.bin ../../../image.bin
Note: See TracChangeset for help on using the changeset viewer.