make: Strip final kernel image

This commit is contained in:
K Lange 2021-05-31 20:06:28 +09:00
parent 19ef74a9ff
commit c63c8ba7e7
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ shell: system
misaka-kernel: ${KERNEL_ASMOBJS} ${KERNEL_OBJS} kernel/symbols.o
${CC} -g -T kernel/arch/${ARCH}/link.ld ${KERNEL_CFLAGS} -o $@.64 ${KERNEL_ASMOBJS} ${KERNEL_OBJS} kernel/symbols.o -lgcc
${OC} -I elf64-x86-64 -O elf32-i386 $@.64 $@
${OC} --strip-debug -I elf64-x86-64 -O elf32-i386 $@.64 $@
kernel/sys/version.o: ${KERNEL_SOURCES}