Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/i386/floppies Add DBG=-Os to all so libhack.o gets b...



details:   https://anonhg.NetBSD.org/src/rev/e03923d83b41
branches:  trunk
changeset: 515736:e03923d83b41
user:      jmc <jmc%NetBSD.org@localhost>
date:      Thu Oct 04 04:14:06 2001 +0000

description:
Add DBG=-Os to all so libhack.o gets built without using -O2 on it.

Also adjust the clean rule to first run the clean rule from ramdiskbin.mk
if it exists (cleans up the object subdirs then from the new crunchgen setup)

diffstat:

 distrib/i386/floppies/ramdisk-big/Makefile         |  4 +++-
 distrib/i386/floppies/ramdisk-rescuesmall/Makefile |  4 +++-
 distrib/i386/floppies/ramdisk-rescuetiny/Makefile  |  4 +++-
 distrib/i386/floppies/ramdisk-small/Makefile       |  4 +++-
 distrib/i386/floppies/ramdisk-tiny/Makefile        |  4 +++-
 5 files changed, 15 insertions(+), 5 deletions(-)

diffs (125 lines):

diff -r f4211bde3624 -r e03923d83b41 distrib/i386/floppies/ramdisk-big/Makefile
--- a/distrib/i386/floppies/ramdisk-big/Makefile        Thu Oct 04 04:11:26 2001 +0000
+++ b/distrib/i386/floppies/ramdisk-big/Makefile        Thu Oct 04 04:14:06 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2001/05/25 17:12:41 christos Exp $
+#      $NetBSD: Makefile,v 1.6 2001/10/04 04:14:06 jmc Exp $
 
 TOP=           ${.CURDIR}/..
 WARNS=1
@@ -30,6 +30,7 @@
 RAMDISKSPC=    128
 RAMDISKCYLS=   32
 RAMDISKSIZE!=  expr ${RAMDISKSPC} \* ${RAMDISKCYLS}
+DBG=-Os
 
 realall: ${IMAGE}
 
@@ -76,6 +77,7 @@
 release:
 
 clean cleandir distclean:
+       if [ -f ${CBIN}.mk ]; then ${MAKE} -f ${CBIN}.mk clean; fi; \
        /bin/rm -f *.core ${IMAGE} ${IMAGE}.tmp ${CBIN} \
            ${CBIN}.mk ${CBIN}.cache *.o *.cro *.c tmplabel
 
diff -r f4211bde3624 -r e03923d83b41 distrib/i386/floppies/ramdisk-rescuesmall/Makefile
--- a/distrib/i386/floppies/ramdisk-rescuesmall/Makefile        Thu Oct 04 04:11:26 2001 +0000
+++ b/distrib/i386/floppies/ramdisk-rescuesmall/Makefile        Thu Oct 04 04:14:06 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2001/06/24 12:15:58 veego Exp $
+#      $NetBSD: Makefile,v 1.8 2001/10/04 04:14:06 jmc Exp $
 
 TOP=           ${.CURDIR}/..
 WARNS=1
@@ -29,6 +29,7 @@
 RAMDISKSPC=    165
 RAMDISKCYLS=   16
 RAMDISKSIZE!=  expr ${RAMDISKSPC} \* ${RAMDISKCYLS}
+DBG=-Os
 
 realall: ${IMAGE}
 
@@ -74,6 +75,7 @@
 release:
 
 clean cleandir distclean:
+       if [ -f ${CBIN}.mk ]; then ${MAKE} -f ${CBIN}.mk clean; fi; \
        /bin/rm -f ${AUXCLEAN} *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
            *.o *.cro *.c tmplabel
 
diff -r f4211bde3624 -r e03923d83b41 distrib/i386/floppies/ramdisk-rescuetiny/Makefile
--- a/distrib/i386/floppies/ramdisk-rescuetiny/Makefile Thu Oct 04 04:11:26 2001 +0000
+++ b/distrib/i386/floppies/ramdisk-rescuetiny/Makefile Thu Oct 04 04:14:06 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2001/06/24 12:15:58 veego Exp $
+#      $NetBSD: Makefile,v 1.8 2001/10/04 04:14:06 jmc Exp $
 
 TOP=           ${.CURDIR}/..
 WARNS=1
@@ -29,6 +29,7 @@
 RAMDISKSPC=    128
 RAMDISKCYLS=   21
 RAMDISKSIZE!=  expr ${RAMDISKSPC} \* ${RAMDISKCYLS}
+DBG=-Os
 
 realall: ${IMAGE}
 
@@ -74,6 +75,7 @@
 release:
 
 clean cleandir distclean:
+       if [ -f ${CBIN}.mk ]; then ${MAKE} -f ${CBIN}.mk clean; fi; \
        /bin/rm -f ${AUXCLEAN} *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
            *.o *.cro *.c ${IMAGE}.tmp tmplabel
 
diff -r f4211bde3624 -r e03923d83b41 distrib/i386/floppies/ramdisk-small/Makefile
--- a/distrib/i386/floppies/ramdisk-small/Makefile      Thu Oct 04 04:11:26 2001 +0000
+++ b/distrib/i386/floppies/ramdisk-small/Makefile      Thu Oct 04 04:14:06 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2001/05/26 00:10:06 christos Exp $
+#      $NetBSD: Makefile,v 1.8 2001/10/04 04:14:07 jmc Exp $
 
 TOP=           ${.CURDIR}/..
 WARNS=1
@@ -29,6 +29,7 @@
 RAMDISKSPC=    165
 RAMDISKCYLS=   16
 RAMDISKSIZE!=  expr ${RAMDISKSPC} \* ${RAMDISKCYLS}
+DBG=-Os
 
 realall: ${IMAGE}
 
@@ -75,6 +76,7 @@
 release:
 
 clean cleandir distclean:
+       if [ -f ${CBIN}.mk ]; then ${MAKE} -f ${CBIN}.mk clean; fi; \
        /bin/rm -f *.core ${IMAGE} ${IMAGE}.tmp ${CBIN} \
            ${CBIN}.mk ${CBIN}.cache *.o *.cro *.c tmplabel
 
diff -r f4211bde3624 -r e03923d83b41 distrib/i386/floppies/ramdisk-tiny/Makefile
--- a/distrib/i386/floppies/ramdisk-tiny/Makefile       Thu Oct 04 04:11:26 2001 +0000
+++ b/distrib/i386/floppies/ramdisk-tiny/Makefile       Thu Oct 04 04:14:06 2001 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2001/06/24 12:15:59 veego Exp $
+#      $NetBSD: Makefile,v 1.11 2001/10/04 04:14:07 jmc Exp $
 
 TOP=           ${.CURDIR}/..
 WARNS=1
@@ -29,6 +29,7 @@
 RAMDISKSPC=    128
 RAMDISKCYLS=   21
 RAMDISKSIZE!=  expr ${RAMDISKSPC} \* ${RAMDISKCYLS}
+DBG=-Os
 
 realall: ${IMAGE}
 
@@ -75,6 +76,7 @@
 release:
 
 clean cleandir distclean:
+       if [ -f ${CBIN}.mk ]; then ${MAKE} -f ${CBIN}.mk clean; fi; \
        /bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
            *.o *.cro *.c tmplabel
 



Home | Main Index | Thread Index | Old Index