make this build after mips->mipse? transition

This commit is contained in:
drochner 1999-02-24 17:48:42 +00:00
parent 7ccfa38c7a
commit 6c1ead9587
4 changed files with 24 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.17 1999/02/13 02:54:25 lukem Exp $
# $NetBSD: Makefile.inc,v 1.18 1999/02/24 17:48:42 drochner Exp $
.if !defined(GCC_MAKEFILE_INC)
GCC_MAKEFILE_INC=1
@ -21,8 +21,14 @@ COMMON= ${.CURDIR}/../common
COMMONOBJ!= cd ${.CURDIR}/../common; ${MAKE} print-objdir
.endif
.if (${MACHINE_ARCH} == "mipsel") || (${MACHINE_ARCH} == "mipseb")
ARCHSUBDIR= mips
.else
ARCHSUBDIR= ${MACHINE_ARCH}
.endif
CPPFLAGS+= -I${.CURDIR}/../arch \
-I${.CURDIR}/../arch/${MACHINE_ARCH} \
-I${.CURDIR}/../arch/${ARCHSUBDIR} \
-I${COMMONOBJ} \
-I${DIST} \
-I${DIST}/config \

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.26 1999/02/24 02:58:42 itohy Exp $
# $NetBSD: Makefile,v 1.27 1999/02/24 17:48:42 drochner Exp $
MKLINKLIB=no
MKMAN= no
@ -11,8 +11,8 @@ LIB= cc1
YHEADER=1
# GNU (gcc,gas) uses "mips" as arch-dependent filename for mipsel and mipseb
.if (${MACHINE_ARCH} == "mips")
GCC_ARCH?= ${MACHINE_ARCH}
.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
GCC_ARCH?= mips
.elif (${MACHINE_ARCH} == "sparc64")
GCC_ARCH?= sparc
.else

View File

@ -1,10 +1,14 @@
# $NetBSD: Makefile,v 1.7 1999/02/09 17:50:35 tv Exp $
# $NetBSD: Makefile,v 1.8 1999/02/24 17:48:43 drochner Exp $
#
.include <bsd.own.mk>
# Override to make a cross assembler.
.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
TARGET_ARCH ?= mips
.else
TARGET_ARCH ?= ${MACHINE_ARCH}
.endif
PROG= as
MAN= as.1

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.3 1999/02/13 02:54:25 lukem Exp $
# $NetBSD: Makefile,v 1.4 1999/02/24 17:48:43 drochner Exp $
DIST= ${.CURDIR}/../../dist
@ -8,7 +8,13 @@ MKMAN= no
.PATH: ${DIST}/gas
CPPFLAGS+= -I${.CURDIR}/../gas.new/arch/${MACHINE_ARCH} \
.if (${MACHINE_ARCH} == "mipsel") || (${MACHINE_ARCH} == "mipseb")
ARCHSUBDIR= mips
.else
ARCHSUBDIR= ${MACHINE_ARCH}
.endif
CPPFLAGS+= -I${.CURDIR}/../gas.new/arch/${ARCHSUBDIR} \
-I${.CURDIR}/../gas.new -I${DIST}/gas/config -I${DIST}/gas \
-I${DIST}/include -D_GNU_SOURCE \
-DTARGET_ALIAS=\"${MACHINE_GNU_ARCH}-netbsd\" \