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:
parent
c4d9681327
commit
c6a2f353c3
1 changed files with 2 additions and 3 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue