blob: 6e818a06744c5c78deebfdbea37fc19e090b6538 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-ap,v 1.4 2001/06/25 19:28:42 jtb Exp $
--- /dev/null Mon Jun 25 20:21:04 2001
+++ config/unix/netbsd/custom.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# custom setup script for netbsd
+
+SRC=../../../src
+ARCH=`uname -m`
+
+if [ -f rswitch.c.$ARCH ]; then
+ cp -f rswitch.c.$ARCH $SRC/common/rswitch.c
+elif [ -f rswitch.s.$ARCH ]; then
+ cp -f rswitch.s.$ARCH $SRC/common/rswitch.s
+else
+ echo "#define NoCoexpr" >>$SRC/h/define.h
+fi
+
+if [ -f define.h.$ARCH ]; then
+ cat define.h.$ARCH >>$SRC/h/define.h
+fi
|