Use 'strip -s' for ELF image
This commit is contained in:
parent
db5c83c918
commit
159b8f71b7
|
@ -155,7 +155,7 @@ proto.gen: elfstrip
|
||||||
.PHONY: elfstrip
|
.PHONY: elfstrip
|
||||||
|
|
||||||
elfstrip: $(PROGRAMS)
|
elfstrip: $(PROGRAMS)
|
||||||
strip $(PROGRAMS)
|
strip -s $(PROGRAMS)
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <minix.service.mk>
|
.include <minix.service.mk>
|
||||||
|
|
|
@ -64,7 +64,7 @@ image: includes services
|
||||||
${PAD_KERNEL_TEXT}
|
${PAD_KERNEL_TEXT}
|
||||||
mkimage $(PROGRAMS)
|
mkimage $(PROGRAMS)
|
||||||
cp ${KERNEL} ${PROGRAMS} /boot
|
cp ${KERNEL} ${PROGRAMS} /boot
|
||||||
strip ${KERNEL:T:S/^/\/boot\//} ${PROGRAMS:T:S/^/\/boot\//}
|
strip -s ${KERNEL:T:S/^/\/boot\//} ${PROGRAMS:T:S/^/\/boot\//}
|
||||||
.else
|
.else
|
||||||
image: includes services
|
image: includes services
|
||||||
${PAD_KERNEL_TEXT}
|
${PAD_KERNEL_TEXT}
|
||||||
|
|
Loading…
Reference in a new issue