From: Ben Gras Date: Thu, 5 Jul 2012 15:32:15 +0000 (+0200) Subject: boot programs gzip/strip changes X-Git-Tag: v3.2.1~456 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.rndc-confgen.html?a=commitdiff_plain;h=c6a2f353c3bc6ee9cfd54089c1b05ed0e5b45cbe;p=minix.git 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. --- diff --git a/releasetools/Makefile b/releasetools/Makefile index 166019365..9961a1c65 100644 --- a/releasetools/Makefile +++ b/releasetools/Makefile @@ -86,12 +86,11 @@ hdboot: services [ "$$n" -ge 10 ] && prefix="mod" || prefix="mod0"; \ newname="${DESTDIR}/boot/minix/.temp/$${prefix}$${n}_`basename $$i`"; \ ${INSTALL} $$i $$newname; \ - ${STRIP} -s $$newname; \ - gzip $$newname; \ done cp ../kernel/kernel ${DESTDIR}/boot/minix/.temp/ - ${STRIP} -s ${DESTDIR}/boot/minix/.temp/kernel if [ "${MKINSTALLBOOT}" != "no" ] ; then \ + ${STRIP} -s ${DESTDIR}/boot/minix/.temp/* ; \ + gzip ${DESTDIR}/boot/minix/.temp/mod* ; \ ${HOST_SH} mkboot $@; \ ${HOST_SH} ../commands/update_bootcfg/update_bootcfg.sh;\ else \