]> Zhao Yanbai Git Server - minix.git/commitdiff
Use 'strip -s' for ELF image
authorArun Thomas <arun@minix3.org>
Fri, 22 Jul 2011 05:51:57 +0000 (07:51 +0200)
committerArun Thomas <arun@minix3.org>
Fri, 22 Jul 2011 05:52:34 +0000 (07:52 +0200)
drivers/ramdisk/Makefile
tools/Makefile

index 59ed1d94f3daa2c8573842e7a39be5320ab231bb..151d4bae18df427c40a0e4a610750cf85319ac20 100644 (file)
@@ -155,7 +155,7 @@ proto.gen: elfstrip
 .PHONY: elfstrip
 
 elfstrip: $(PROGRAMS)
-       strip $(PROGRAMS)
+       strip -s $(PROGRAMS)
 .endif
 
 .include <minix.service.mk>
index 52ef830e650c44ebe6e82f79c2dddf0d8a9b940b..ce5c2762198f521b0b1762d9f2c121d94ac63314 100644 (file)
@@ -64,7 +64,7 @@ image: includes services
        ${PAD_KERNEL_TEXT}
        mkimage $(PROGRAMS)
        cp ${KERNEL} ${PROGRAMS} /boot
-       strip ${KERNEL:T:S/^/\/boot\//} ${PROGRAMS:T:S/^/\/boot\//}
+       strip -s ${KERNEL:T:S/^/\/boot\//} ${PROGRAMS:T:S/^/\/boot\//}
 .else
 image:  includes services
        ${PAD_KERNEL_TEXT}