From: Arun Thomas Date: Thu, 16 Feb 2012 18:14:33 +0000 (+0100) Subject: Strip only the image binaries X-Git-Tag: v3.2.0~24 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=274212e760a25417a0f47e0fa4938a0a1f00819a;p=minix.git Strip only the image binaries --- diff --git a/tools/Makefile b/tools/Makefile index 097e99a2a..a2e397566 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -51,9 +51,7 @@ usage: all: services image image: includes services - cp ../kernel/kernel kernel mkimage $(PROGRAMS) - strip -s ${KERNEL} ${PROGRAMS} # rebuild the program or system libraries includes: @@ -92,7 +90,8 @@ hdboot: image cp $$i $$newname; \ [ -d /boot/image ] && ln -f $$newname /boot/`basename $$i` || true ; \ done - cp kernel /boot/minix/.temp/ + cp ../kernel/kernel /boot/minix/.temp/ + strip -s /boot/minix/.temp/* [ -d /boot/image ] && ln -f /boot/minix/.temp/kernel /boot/kernel || true sh mkboot $@ minix exec sh update_bootcfg.sh