Add debug link for kernel symbols
This commit is contained in:
parent
070a42844a
commit
db0d3dff14
1
Makefile
1
Makefile
@ -27,6 +27,7 @@ kernel kernel.sym &: $(asmobj) $(gasmobj) $(cobj) linker.ld
|
||||
$(LD) $(LDFLAGS) $(asmobj) $(gasmobj) $(cobj) -o kernel -T linker.ld $(LIBGCC)
|
||||
objcopy --only-keep-debug kernel kernel.sym
|
||||
objcopy --strip-debug kernel
|
||||
objcopy --add-gnu-debuglink=kernel.sym kernel
|
||||
|
||||
fd.iso: kernel
|
||||
mkdir -p isodir/boot/grub
|
||||
|
Loading…
Reference in New Issue
Block a user