Use 'strip -s' for ELF image

This commit is contained in:
Arun Thomas 2011-07-22 07:51:57 +02:00
parent db5c83c918
commit 159b8f71b7
2 changed files with 2 additions and 2 deletions

View file

@ -155,7 +155,7 @@ proto.gen: elfstrip
.PHONY: elfstrip
elfstrip: $(PROGRAMS)
strip $(PROGRAMS)
strip -s $(PROGRAMS)
.endif
.include <minix.service.mk>

View file

@ -64,7 +64,7 @@ image: includes services
${PAD_KERNEL_TEXT}
mkimage $(PROGRAMS)
cp ${KERNEL} ${PROGRAMS} /boot
strip ${KERNEL:T:S/^/\/boot\//} ${PROGRAMS:T:S/^/\/boot\//}
strip -s ${KERNEL:T:S/^/\/boot\//} ${PROGRAMS:T:S/^/\/boot\//}
.else
image: includes services
${PAD_KERNEL_TEXT}