Date: Tue, 2 Mar 2004 20:20:16 -0800 (PST) From: Juli Mallett <jmallett@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 48029 for review Message-ID: <200403030420.i234KGcs030002@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=48029 Change 48029 by jmallett@jmallett_oingo on 2004/03/02 20:19:32 IFC, do evil things to the order for MIPS! Affected files ... .. //depot/projects/mips/gnu/usr.bin/cc/cc_tools/Makefile#10 edit Differences ... ==== //depot/projects/mips/gnu/usr.bin/cc/cc_tools/Makefile#10 (text+ko) ==== @@ -1,4 +1,4 @@ -# $FreeBSD: src/gnu/usr.bin/cc/cc_tools/Makefile,v 1.73 2004/01/15 10:07:59 ru Exp $ +# $FreeBSD: src/gnu/usr.bin/cc/cc_tools/Makefile,v 1.75 2004/02/26 07:08:33 bde Exp $ # # This could probably be merged with ../cc_int/Makefile, but bsd.lib.mk @@ -7,16 +7,19 @@ # SRCS to get dependencies. # +# # ../Makefile.inc will put an absolute path to our objdir in CFLAGS. # Prevent mkdep from using it, so that we don't have to give rules for # aliases of generated headers. +# +CFLAGS+= -I. -CFLAGS+= -I. -static -DGENERATOR_FILE - .include "../Makefile.inc" .PATH: ${GCCDIR} +CFLAGS+= -DGENERATOR_FILE + #----------------------------------------------------------------------- # insn-* gunk @@ -160,6 +163,9 @@ # The list of headers to go into tconfig.h # TARGET_INC= ansidecl.h +.if ${TARGET_ARCH} == "mips" +TARGET_INC+= ${GCC_CPU}/freebsd.h +.endif TARGET_INC+= ${GCC_CPU}/${GCC_CPU}.h .if ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64" TARGET_INC+= ${GCC_CPU}/unix.h @@ -183,7 +189,9 @@ TARGET_INC+= ${GCC_CPU}/sysv4.h .endif .endif +.if ${TARGET_ARCH} != "mips" TARGET_INC+= ${GCC_CPU}/freebsd.h +.endif .if ${TARGET_ARCH} == "amd64" TARGET_INC+= ${GCC_CPU}/x86-64.h TARGET_INC+= ${GCC_CPU}/freebsd64.h @@ -256,16 +264,16 @@ .for L in ${GTFILES_LANG_DIR_NAMES} c .if exists(${GCCDIR}/$L-config-lang.in) # Source the language config file -$L_GTFILES!= sh -c '. ${GCCDIR}/$L-config-lang.in; echo $$gtfiles' +L_GTFILES!= sh -c '. ${GCCDIR}/$L-config-lang.in; echo $$gtfiles' .else -$L_GTFILES!= sh -c '. ${GCCDIR}/$L/config-lang.in; echo $$gtfiles' +L_GTFILES!= sh -c '. ${GCCDIR}/$L/config-lang.in; echo $$gtfiles' .endif -GTFILES+= ${$L_GTFILES} -.for F in ${$L_GTFILES} +.for F in ${L_GTFILES} GTFILES_FILES+= $F GTFILES_LANGS+= $L .endfor .endfor +GTFILES+= ${GTFILES_FILES} #----------------------------------------------------------------------- # the host/target compiler config.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403030420.i234KGcs030002>