This commit is contained in:
rsc 2007-08-28 17:48:44 +00:00
parent c35c064e04
commit e3f271e880

View file

@ -53,13 +53,13 @@ bootblock: bootasm.S bootmain.c
./sign.pl bootblock ./sign.pl bootblock
bootother: bootother.S bootother: bootother.S
$(CC) -nostdinc -I. -c $*.S $(CC) -nostdinc -I. -c bootother.S
$(LD) -N -e start -Ttext 0x7000 -o bootother.out bootother.o $(LD) -N -e start -Ttext 0x7000 -o bootother.out bootother.o
$(OBJCOPY) -S -O binary bootother.out bootother $(OBJCOPY) -S -O binary bootother.out bootother
$(OBJDUMP) -S bootother.o > bootother.asm $(OBJDUMP) -S bootother.o > bootother.asm
initcode: initcode.S initcode: initcode.S
$(CC) -nostdinc -I. -c $*.S $(CC) -nostdinc -I. -c initcode.S
$(LD) -N -e start -Ttext 0 -o initcode.out initcode.o $(LD) -N -e start -Ttext 0 -o initcode.out initcode.o
$(OBJCOPY) -S -O binary initcode.out initcode $(OBJCOPY) -S -O binary initcode.out initcode
$(OBJDUMP) -S initcode.o > initcode.asm $(OBJDUMP) -S initcode.o > initcode.asm