make this build after mips->mipse? transition
This commit is contained in:
parent
7ccfa38c7a
commit
6c1ead9587
@ -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)
|
.if !defined(GCC_MAKEFILE_INC)
|
||||||
GCC_MAKEFILE_INC=1
|
GCC_MAKEFILE_INC=1
|
||||||
@ -21,8 +21,14 @@ COMMON= ${.CURDIR}/../common
|
|||||||
COMMONOBJ!= cd ${.CURDIR}/../common; ${MAKE} print-objdir
|
COMMONOBJ!= cd ${.CURDIR}/../common; ${MAKE} print-objdir
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if (${MACHINE_ARCH} == "mipsel") || (${MACHINE_ARCH} == "mipseb")
|
||||||
|
ARCHSUBDIR= mips
|
||||||
|
.else
|
||||||
|
ARCHSUBDIR= ${MACHINE_ARCH}
|
||||||
|
.endif
|
||||||
|
|
||||||
CPPFLAGS+= -I${.CURDIR}/../arch \
|
CPPFLAGS+= -I${.CURDIR}/../arch \
|
||||||
-I${.CURDIR}/../arch/${MACHINE_ARCH} \
|
-I${.CURDIR}/../arch/${ARCHSUBDIR} \
|
||||||
-I${COMMONOBJ} \
|
-I${COMMONOBJ} \
|
||||||
-I${DIST} \
|
-I${DIST} \
|
||||||
-I${DIST}/config \
|
-I${DIST}/config \
|
||||||
|
@ -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
|
MKLINKLIB=no
|
||||||
MKMAN= no
|
MKMAN= no
|
||||||
@ -11,8 +11,8 @@ LIB= cc1
|
|||||||
YHEADER=1
|
YHEADER=1
|
||||||
|
|
||||||
# GNU (gcc,gas) uses "mips" as arch-dependent filename for mipsel and mipseb
|
# GNU (gcc,gas) uses "mips" as arch-dependent filename for mipsel and mipseb
|
||||||
.if (${MACHINE_ARCH} == "mips")
|
.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
|
||||||
GCC_ARCH?= ${MACHINE_ARCH}
|
GCC_ARCH?= mips
|
||||||
.elif (${MACHINE_ARCH} == "sparc64")
|
.elif (${MACHINE_ARCH} == "sparc64")
|
||||||
GCC_ARCH?= sparc
|
GCC_ARCH?= sparc
|
||||||
.else
|
.else
|
||||||
|
@ -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>
|
.include <bsd.own.mk>
|
||||||
|
|
||||||
# Override to make a cross assembler.
|
# Override to make a cross assembler.
|
||||||
|
.if ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
|
||||||
|
TARGET_ARCH ?= mips
|
||||||
|
.else
|
||||||
TARGET_ARCH ?= ${MACHINE_ARCH}
|
TARGET_ARCH ?= ${MACHINE_ARCH}
|
||||||
|
.endif
|
||||||
|
|
||||||
PROG= as
|
PROG= as
|
||||||
MAN= as.1
|
MAN= as.1
|
||||||
|
@ -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
|
DIST= ${.CURDIR}/../../dist
|
||||||
|
|
||||||
@ -8,7 +8,13 @@ MKMAN= no
|
|||||||
|
|
||||||
.PATH: ${DIST}/gas
|
.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${.CURDIR}/../gas.new -I${DIST}/gas/config -I${DIST}/gas \
|
||||||
-I${DIST}/include -D_GNU_SOURCE \
|
-I${DIST}/include -D_GNU_SOURCE \
|
||||||
-DTARGET_ALIAS=\"${MACHINE_GNU_ARCH}-netbsd\" \
|
-DTARGET_ALIAS=\"${MACHINE_GNU_ARCH}-netbsd\" \
|
||||||
|
Loading…
Reference in New Issue
Block a user