boot programs gzip/strip changes

as disk space typically isn't a concern when crosscompiling, but
convenience and ability to debug is, change the strip and gzip defaults

	. do not strip or gzip the binaries when crosscompiling

this makes it faster to rebuild and restart a compiled system, with
debugging info if so desired.
This commit is contained in:
Ben Gras 2012-07-05 17:32:15 +02:00
parent c4d9681327
commit c6a2f353c3

View file

@ -86,12 +86,11 @@ hdboot: services
[ "$$n" -ge 10 ] && prefix="mod" || prefix="mod0"; \ [ "$$n" -ge 10 ] && prefix="mod" || prefix="mod0"; \
newname="${DESTDIR}/boot/minix/.temp/$${prefix}$${n}_`basename $$i`"; \ newname="${DESTDIR}/boot/minix/.temp/$${prefix}$${n}_`basename $$i`"; \
${INSTALL} $$i $$newname; \ ${INSTALL} $$i $$newname; \
${STRIP} -s $$newname; \
gzip $$newname; \
done done
cp ../kernel/kernel ${DESTDIR}/boot/minix/.temp/ cp ../kernel/kernel ${DESTDIR}/boot/minix/.temp/
${STRIP} -s ${DESTDIR}/boot/minix/.temp/kernel
if [ "${MKINSTALLBOOT}" != "no" ] ; then \ if [ "${MKINSTALLBOOT}" != "no" ] ; then \
${STRIP} -s ${DESTDIR}/boot/minix/.temp/* ; \
gzip ${DESTDIR}/boot/minix/.temp/mod* ; \
${HOST_SH} mkboot $@; \ ${HOST_SH} mkboot $@; \
${HOST_SH} ../commands/update_bootcfg/update_bootcfg.sh;\ ${HOST_SH} ../commands/update_bootcfg/update_bootcfg.sh;\
else \ else \