]> Zhao Yanbai Git Server - minix.git/commitdiff
Strip only the image binaries
authorArun Thomas <arun@minix3.org>
Thu, 16 Feb 2012 18:14:33 +0000 (19:14 +0100)
committerArun Thomas <arun@minix3.org>
Thu, 16 Feb 2012 18:15:32 +0000 (19:15 +0100)
tools/Makefile

index 097e99a2a2eb73565c24a87ea09a0b2669dc0516..a2e3975667f119e28e769efe1452a321b8f4049c 100644 (file)
@@ -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