blob: 196dcd2181f3586a9cc88fc229bed92a0091a655 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
$NetBSD: patch-as,v 1.1 2000/10/13 17:31:12 wennmach Exp $
Make arla compile on pmax.
--- configure.orig Sat Aug 19 22:54:10 2000
+++ configure Fri Oct 13 15:49:09 2000
@@ -2998,9 +2998,18 @@
then
flags="$flags${flags:+ }-mno-fp-regs"
fi
+ if test `uname -m` = pmax
+ then
+ KERNEL_CFLAGS="${KERNEL_CFLAGS} -G 0 -mno-abicalls -mno-half-pic"
+ KERNEL_LDFLAGS="${KERNEL_LDFLAGS} -G 0 -Ttext 0x80030000 -T ${SYS}/arch/mips/conf/kern.ldscript"
+ fi
KERNEL_CPPFLAGS="${KERNEL_CPPFLAGS} $defs${defs:+ }$flags${flags:+ }$incl"
- test_KERNEL_CFLAGS="${KERNEL_CFLAGS}"
KERNEL_LD='ld'
+ test_KERNEL_CFLAGS="${KERNEL_CFLAGS}"
+ if test `uname -m` = pmax
+ then
+ ac_kernel_ld='${KERNEL_LD} ${KERNEL_LDFLAGS} -o conftest $LDFLAGS -R $KERNEL conftest.o -e _foo 1>&5'
+ fi
XFS_SRCS='xfs_wrap-bsd.c xfs_common-bsd.c xfs_dev-common.c xfs_dev-bsd.c xfs_syscalls-common.c xfs_syscalls-wrap-bsd.c xfs_node-bsd.c xfs_vfsops-common.c xfs_vfsops-bsd.c xfs_vfsops-netbsd.c xfs_vnodeops-common.c xfs_vnodeops-bsd.c'
XFS_SUBDIR=bsd
KERNEL=/netbsd
|