diff options
| author | jonathan <jonathan@NetBSD.org> | 1999-03-03 12:00:18 +0000 |
|---|---|---|
| committer | jonathan <jonathan@NetBSD.org> | 1999-03-03 12:00:18 +0000 |
| commit | 3eeb52dee07aafcfabce219f5dfa7bd11cba830f (patch) | |
| tree | 50b687461cf70b05e50412451ade030c957d8468 /sys | |
| parent | 5129c4fcd5f8f3092ab075f8ebbbd0dfb848fc21 (diff) | |
Makefile ${MACHINE_ARCH} changes for mips{eb,el}, as suggested by
Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/Makefile | 7 | ||||
| -rw-r--r-- | sys/arch/Makefile | 6 | ||||
| -rw-r--r-- | sys/lib/libkern/Makefile | 4 |
3 files changed, 9 insertions, 8 deletions
diff --git a/sys/Makefile b/sys/Makefile index 2e59811332f..b3cb2cd2d6e 100644 --- a/sys/Makefile +++ b/sys/Makefile @@ -1,10 +1,11 @@ -# $NetBSD: Makefile,v 1.31 1998/10/02 20:20:29 drochner Exp $ +# $NetBSD: Makefile,v 1.32 1999/03/03 12:00:20 jonathan Exp $ SUBDIR= adosfs arch compat dev filecorefs isofs miscfs msdosfs net \ netatalk netccitt netinet netiso netnatm netns nfs sys ufs uvm vm -.if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "mips" && \ - ${MACHINE_ARCH} != "powerpc") +.if (${MACHINE_ARCH} != "alpha" && ${MACHINE_ARCH} != "powerpc" && \ + ${MACHINE_ARCH} != "mipseb" &&${MACHINE_ARCH} != "mipsel") + SUBDIR+= lkm .endif diff --git a/sys/arch/Makefile b/sys/arch/Makefile index b4d25f136d5..fe3d9985152 100644 --- a/sys/arch/Makefile +++ b/sys/arch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1998/08/25 11:52:26 matthias Exp $ +# $NetBSD: Makefile,v 1.4 1999/03/03 12:00:19 jonathan Exp $ # For now, we install the machine and arch includes, and symlink 'machine' # to the location of the machine includes. @@ -6,8 +6,8 @@ # Eventually, we should install everything. SUBDIR= ${MACHINE} -.if ${MACHINE} != ${MACHINE_ARCH} && exists(${MACHINE_ARCH}) -SUBDIR+= ${MACHINE_ARCH} +.if ${MACHINE} != ${MACHINE_ARCH} && exists(${MACHINE_ARCH:S/mipse[bl]/mips/}) +SUBDIR+= ${MACHINE_ARCH:S/mipse[bl]/mips/} .endif #SUBDIR= alpha amiga arm32 atari bebox hp300 i386 m68k mac68k macppc mips \ diff --git a/sys/lib/libkern/Makefile b/sys/lib/libkern/Makefile index 7c2d1237784..0dfbc2b8f5a 100644 --- a/sys/lib/libkern/Makefile +++ b/sys/lib/libkern/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.48 1999/02/24 16:22:42 chs Exp $ +# $NetBSD: Makefile,v 1.49 1999/03/03 12:00:20 jonathan Exp $ LIB= kern MKPIC= no -M= ${.CURDIR}/arch/${MACHINE_ARCH} +M= ${.CURDIR}/arch/${MACHINE_ARCH:S/mipse[bl]/mips/} CPPFLAGS= -I$M ${KERNCPPFLAGS} ${KERNMISCCPPFLAGS} |
