Module Name: src Committed By: matt Date: Tue Jun 23 20:54:43 UTC 2015
Modified Files: src/sys/arch/cobalt/stand/boot: Makefile Log Message: Always build for mips3. Use -Os instead -O2 for smallest code size. text goes from 74608 to 63020 To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/sys/arch/cobalt/stand/boot/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/cobalt/stand/boot/Makefile diff -u src/sys/arch/cobalt/stand/boot/Makefile:1.29 src/sys/arch/cobalt/stand/boot/Makefile:1.30 --- src/sys/arch/cobalt/stand/boot/Makefile:1.29 Tue Aug 5 15:40:59 2014 +++ src/sys/arch/cobalt/stand/boot/Makefile Tue Jun 23 20:54:43 2015 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2014/08/05 15:40:59 apb Exp $ +# $NetBSD: Makefile,v 1.30 2015/06/23 20:54:43 matt Exp $ NOMAN= # defined @@ -53,10 +53,12 @@ CPPFLAGS+= -DSUPPORT_DHCP -DSUPPORT_BOOT #CPPFLAGS+= -DRPC_DEBUG -DRARP_DEBUG -DNET_DEBUG -DDEBUG -DPARANOID # compiler flags for smallest code size -CFLAGS= -O2 -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128 +CFLAGS= -Os -mmemcpy -ffreestanding -mno-abicalls -msoft-float -G 128 +AFLAGS+= -mips3 +CFLAGS+= -mips3 .if ${MACHINE_ARCH} == "mips64el" -AFLAGS+= -mips3 -mabi=32 -CFLAGS+= -mips3 -mabi=32 +AFLAGS+= -mabi=32 +CFLAGS+= -mabi=32 LINKFORMAT= -m elf32ltsmip .endif