fix bootblock build with gcc 4.4
This commit is contained in:
parent
48755214c9
commit
45a9782636
2 changed files with 15 additions and 1 deletions
14
.gitignore
vendored
Normal file
14
.gitignore
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
_*
|
||||||
|
*.o
|
||||||
|
*.d
|
||||||
|
*.asm
|
||||||
|
*.sym
|
||||||
|
*.img
|
||||||
|
vectors.S
|
||||||
|
bootblock
|
||||||
|
bootother
|
||||||
|
bootother.out
|
||||||
|
initcode
|
||||||
|
initcode.out
|
||||||
|
kernel
|
||||||
|
mkfs
|
2
Makefile
2
Makefile
|
@ -53,7 +53,7 @@ bootblock: bootasm.S bootmain.c
|
||||||
$(CC) $(CFLAGS) -nostdinc -I. -c bootasm.S
|
$(CC) $(CFLAGS) -nostdinc -I. -c bootasm.S
|
||||||
$(LD) $(LDFLAGS) -N -e start -Ttext 0x7C00 -o bootblock.o bootasm.o bootmain.o
|
$(LD) $(LDFLAGS) -N -e start -Ttext 0x7C00 -o bootblock.o bootasm.o bootmain.o
|
||||||
$(OBJDUMP) -S bootblock.o > bootblock.asm
|
$(OBJDUMP) -S bootblock.o > bootblock.asm
|
||||||
$(OBJCOPY) -S -O binary bootblock.o bootblock
|
$(OBJCOPY) -S -O binary -j .text bootblock.o bootblock
|
||||||
./sign.pl bootblock
|
./sign.pl bootblock
|
||||||
|
|
||||||
bootother: bootother.S
|
bootother: bootother.S
|
||||||
|
|
Loading…
Reference in a new issue