summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-07-15 20:12:54 +0000
committerdfr <dfr@FreeBSD.org>1998-07-15 20:12:54 +0000
commit988e0b33fd997746433b380fc77fd33f7be2d963 (patch)
tree33e38fa494cd6423ca4260359277e441d88a0bf8 /sys/conf
parent583ae31e956c7ce77fd869ae404f5eb8c2a2f0ab (diff)
downloadFreeBSD-src-988e0b33fd997746433b380fc77fd33f7be2d963.zip
FreeBSD-src-988e0b33fd997746433b380fc77fd33f7be2d963.tar.gz
Tweaks for cross-building from NetBSD/alpha.
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/Makefile.alpha6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha
index 66dbfd2..91091ac 100644
--- a/sys/conf/Makefile.alpha
+++ b/sys/conf/Makefile.alpha
@@ -1,7 +1,7 @@
# Makefile.alpha -- with config changes.
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.alpha 7.1 5/10/91
-# $Id: Makefile.alpha,v 1.2 1998/06/14 13:45:03 dfr Exp $
+# $Id: Makefile.alpha,v 1.3 1998/07/12 16:32:04 dfr Exp $
#
# Makefile for FreeBSD
#
@@ -41,7 +41,7 @@ INCLUDES+= -I$S/../include
.else
INCLUDES+= -I/usr/include
.endif
-COPTS= ${INCLUDES} ${IDENT} -DKERNEL -include opt_global.h
+COPTS= ${INCLUDES} ${IDENT} -DKERNEL -include opt_global.h -U__NetBSD__
CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} ${COPTS} -mno-fp-regs -Wa,-mev56
LOAD_ADDRESS?= 0xfffffc0000230000
DEFINED_PROF= ${PROF}
@@ -133,7 +133,7 @@ gensetdefs: gensetdefs.o
${HCC} -static gensetdefs.o -o $@
gensetdefs.o: ${ALPHA}/alpha/gensetdefs.c
- ${HCC} -c ${ALPHA}/alpha/gensetdefs.c
+ ${HCC} -c -I${INCLUDES} ${ALPHA}/alpha/gensetdefs.c
# everything potentially depends on the Makefile since everything potentially
# depends on the options. Some things are more dependent on the Makefile for
OpenPOWER on IntegriCloud