generate kernel.sym for debug
This commit is contained in:
parent
3f3fb3b138
commit
1fcf63409c
5
Makefile
5
Makefile
@ -20,8 +20,9 @@ all:$(KERNEL)
|
||||
kernel.elf: $(cobj) $(gasmobj) font_psf.o $(LDSCRIPT)
|
||||
$(LD) $(LDFLAGS) -o $@ $(gasmobj) $(cobj) font_psf.o -T$(LDSCRIPT) -Map kernel.map
|
||||
|
||||
$(KERNEL): kernel.elf
|
||||
$(CROSS)objcopy -O binary $< $@
|
||||
$(KERNEL) kernel.sym &: kernel.elf
|
||||
$(CROSS)objcopy -O binary $< $(KERNEL)
|
||||
$(CROSS)objcopy --only-keep-debug $< kernel.sym
|
||||
|
||||
font_psf.o: font.psf
|
||||
$(LD) -r -b binary -o font_psf.o font.psf
|
||||
|
Loading…
Reference in New Issue
Block a user