Use 'strip -s' for ELF image
This commit is contained in:
parent
db5c83c918
commit
159b8f71b7
2 changed files with 2 additions and 2 deletions
|
@ -155,7 +155,7 @@ proto.gen: elfstrip
|
|||
.PHONY: elfstrip
|
||||
|
||||
elfstrip: $(PROGRAMS)
|
||||
strip $(PROGRAMS)
|
||||
strip -s $(PROGRAMS)
|
||||
.endif
|
||||
|
||||
.include <minix.service.mk>
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue