Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/sparc64/conf Approved by thorpej:



details:   https://anonhg.NetBSD.org/src/rev/34aa7cff1f69
branches:  netbsd-1-5
changeset: 488757:34aa7cff1f69
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Thu Jul 27 00:00:31 2000 +0000

description:
Approved by thorpej:
A bit of cleanup.

syssrc/sys/arch/sparc64/conf/Makefile.sparc64           1.26 -> 1.29

diffstat:

 sys/arch/sparc64/conf/Makefile.sparc64 |  22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diffs (69 lines):

diff -r f341f1e39d98 -r 34aa7cff1f69 sys/arch/sparc64/conf/Makefile.sparc64
--- a/sys/arch/sparc64/conf/Makefile.sparc64    Wed Jul 26 23:59:21 2000 +0000
+++ b/sys/arch/sparc64/conf/Makefile.sparc64    Thu Jul 27 00:00:31 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.sparc64,v 1.26 2000/06/19 23:30:32 eeh Exp $
+#      $NetBSD: Makefile.sparc64,v 1.26.2.1 2000/07/27 00:00:31 mycroft Exp $
 
 # Makefile for NetBSD
 #
@@ -67,10 +67,10 @@
 CPPFLAGS=      ${INCLUDES} ${IDENT} ${PARAM} -D_KERNEL ${SVR4}
 CWARNFLAGS=    -Wimplicit -Wunused -Wswitch -Wcomment -Wtrigraphs -Wchar-subscripts -Wparentheses -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
 #CWARNFLAGS=   -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
-CFLAGS=                ${DEBUG} ${CWARNFLAGS} -Wa,-Av9a -mno-fpu
-AFLAGS=                -x assembler-with-cpp -Wa,-Av9a -traditional-cpp -D_LOCORE
-LINKFLAGS=     -p -Ttext f1000000 -Tdata f1400000 -e start >lderr
-#LINKFLAGS=    -N -p -Ttext f1000000 -e start >lderr
+CFLAGS=                ${DEBUG} ${COPTS} ${CWARNFLAGS} -Wa,-Av9a -mno-fpu
+AFLAGS=                -x assembler-with-cpp -traditional-cpp -D_LOCORE -Wa,-Av9a
+LINKFLAGS=     -Ttext f1000000 -Tdata f1400000 -e start
+#LINKFLAGS=    -N -Ttext f1000000 -e start
 STRIPFLAGS=    -g
 
 %INCLUDES
@@ -95,8 +95,8 @@
 # compile rules: rules are named ${TYPE}_${SUFFIX} where TYPE is NORMAL or
 # HOSTED, and SUFFIX is the file suffix, capitalized (e.g. C for a .c file).
 
-NORMAL_C=      ${CC} ${COPTS} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
-NOOPT_C=       ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
+NORMAL_C=      ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c $<
+NOOPT_C=       ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -O0 -c $<
 NORMAL_S=      ${CC} ${AFLAGS} ${CPPFLAGS} -c $<
 
 %OBJS
@@ -113,7 +113,7 @@
 SYSTEM_OBJ=    locore.o \
                param.o ioconf.o ${OBJS} ${LIBCOMPAT} ${LIBKERN}
 SYSTEM_DEP=    Makefile ${SYSTEM_OBJ}
-SYSTEM_LD_HEAD=        @rm -f $@
+SYSTEM_LD_HEAD=        rm -f $@
 SYSTEM_LD=     @echo ${LD} ${LINKFLAGS} -o $@ '$${SYSTEM_OBJ}' vers.o; \
                ${LD} ${LINKFLAGS} -o $@ ${SYSTEM_OBJ} vers.o
 SYSTEM_LD_TAIL=        @${SIZE} $@; chmod 755 $@
@@ -133,13 +133,13 @@
 
 .if ${USE_GENASSYM} == "no"
 assym.h: $S/kern/genassym.sh ${SPARC64}/sparc64/genassym.cf
-       sh $S/kern/genassym.sh ${CC} ${COPTS} ${CFLAGS} ${CPPFLAGS} ${PROF} \
+       sh $S/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \
            < ${SPARC64}/sparc64/genassym.cf > assym.h.tmp && \
        mv -f assym.h.tmp assym.h
 .else
 HOSTED_CC=     ${CC}
 HOSTED_CPPFLAGS=${CPPFLAGS:S/^-nostdinc$//}
-HOSTED_CFLAGS= ${COPTS} ${CFLAGS}
+HOSTED_CFLAGS= ${CFLAGS}
 
 HOSTED_C=      ${HOSTED_CC} ${HOSTED_CFLAGS} ${HOSTED_CPPFLAGS} -c $<
 
@@ -171,7 +171,7 @@
 __CLEANKERNEL: .USE
        @echo "${.TARGET}ing the kernel objects"
        rm -f eddep *netbsd netbsd.gdb tags *.[io] [a-z]*.s \
-           [Ee]rrs lderr linterrs makelinks assym.h.tmp assym.h
+           [Ee]rrs linterrs makelinks assym.h.tmp assym.h
 
 __CLEANDEPEND: .USE
        rm -f .depend



Home | Main Index | Thread Index | Old Index