Compile sgimips/ip[23]2.c iff the corresponding IP[23] is defined in the

config file.
This commit is contained in:
sekiya 2003-12-14 05:23:12 +00:00
parent 08227d36cb
commit f2b161aa21
3 changed files with 8 additions and 14 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: files.sgimips,v 1.27 2003/11/22 03:39:35 sekiya Exp $
# $NetBSD: files.sgimips,v 1.28 2003/12/14 05:23:12 sekiya Exp $
maxpartitions 16
@ -66,10 +66,10 @@ file dev/ic/z8530sc.c zsc
file dev/arcbios/arcbios.c
file dev/arcbios/arcbios_tty.c
file arch/sgimips/sgimips/ip20.c
file arch/sgimips/sgimips/ip22.c
file arch/sgimips/sgimips/ip20.c ip20
file arch/sgimips/sgimips/ip22.c ip22
file arch/sgimips/sgimips/ip22_cache.S ip22
file arch/sgimips/sgimips/ip32.c
file arch/sgimips/sgimips/ip32.c ip32
file arch/sgimips/sgimips/autoconf.c
file arch/sgimips/sgimips/bus.c
file arch/sgimips/sgimips/clock.c

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip22.c,v 1.18 2003/10/05 15:38:08 tsutsui Exp $ */
/* $NetBSD: ip22.c,v 1.19 2003/12/14 05:23:12 sekiya Exp $ */
/*
* Copyright (c) 2001, 2002 Rafal K. Boni
@ -28,13 +28,11 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ip22.c,v 1.18 2003/10/05 15:38:08 tsutsui Exp $");
__KERNEL_RCSID(0, "$NetBSD: ip22.c,v 1.19 2003/12/14 05:23:12 sekiya Exp $");
#include "opt_cputype.h"
#include "opt_machtypes.h"
#ifdef IP22
#include <sys/param.h>
#include <sys/proc.h>
#include <sys/systm.h>
@ -454,5 +452,3 @@ ip22_cal_timer(u_int32_t tctrl, u_int32_t tcount)
return (endctr - startctr) / roundtime * roundtime;
}
#endif /* IP22 */

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip32.c,v 1.21 2003/11/17 10:07:58 keihan Exp $ */
/* $NetBSD: ip32.c,v 1.22 2003/12/14 05:23:12 sekiya Exp $ */
/*
* Copyright (c) 2000 Soren S. Jorvang
@ -35,11 +35,10 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ip32.c,v 1.21 2003/11/17 10:07:58 keihan Exp $");
__KERNEL_RCSID(0, "$NetBSD: ip32.c,v 1.22 2003/12/14 05:23:12 sekiya Exp $");
#include "opt_machtypes.h"
#ifdef IP32
#include <sys/param.h>
#include <sys/proc.h>
#include <sys/systm.h>
@ -273,4 +272,3 @@ ip32_intr_establish(int level, int ipl, int (*func)(void *), void *arg)
*/
(void) crime_intr_establish(level, IST_LEVEL, ipl, func, arg);
}
#endif /* IP32 */