Subject: kern/3099: compat_sunos lkm should not be built on hp300
To: None <gnats-bugs@gnats.netbsd.org>
From: Klaus Klein <kleink@layla.inka.de>
List: netbsd-bugs
Date: 01/12/1997 16:53:16
>Number:         3099
>Category:       kern
>Synopsis:       compat_sunos lkm should not be built on hp300
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 12 08:05:01 1997
>Last-Modified:
>Originator:     Klaus Klein
>Organization:
private site
>Release:        970111
>Environment:
System: NetBSD quesera.inka.de 1.2B NetBSD 1.2B (QUESERA) #42: Sat Jan 11 04:34:29 CET 1997 kleink@quesera.inka.de:/mnt/src/sys/arch/hp300/compile/QUESERA hp300


>Description:
The compat_sunos LKM should not be built on the hp300 since its __LDPGSZ
is (yet ?) 4k; due to that, 'compiled-in' COMPAT_SUNOS wouldn't work, either.

>How-To-Repeat:

>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/netbsd/src/sys/lkm/compat/Makefile,v
retrieving revision 1.1.1.1
diff -b -c -r1.1.1.1 Makefile
*** Makefile	1996/12/20 13:28:50	1.1.1.1
--- Makefile	1997/01/12 15:36:12
***************
*** 8,14 ****
  SUBDIR+=	sunos svr4
  .endif
  
! .if (${MACHINE_ARCH} == "m68k")
  SUBDIR+=	sunos
  .endif
  
--- 8,14 ----
  SUBDIR+=	sunos svr4
  .endif
  
! .if ((${MACHINE_ARCH} == "m68k") && (${MACHINE} != "hp300"))
  SUBDIR+=	sunos
  .endif
  
>Audit-Trail:
>Unformatted: