From c6a2f353c3bc6ee9cfd54089c1b05ed0e5b45cbe Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 5 Jul 2012 17:32:15 +0200 Subject: [PATCH] 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. --- releasetools/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 \