diff options
author | bde <bde@FreeBSD.org> | 1994-11-15 14:43:45 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1994-11-15 14:43:45 +0000 |
commit | 38ef2158dd3701e43bf44037f442fae2f32d1d9e (patch) | |
tree | dea8611ab2005b8eeac1403e9a5c13670b70aa13 | |
parent | 480097ce44462733ea9f5465a4477438202ca04e (diff) | |
download | FreeBSD-src-38ef2158dd3701e43bf44037f442fae2f32d1d9e.zip FreeBSD-src-38ef2158dd3701e43bf44037f442fae2f32d1d9e.tar.gz |
Don't define KERNEL for compiling genassym. The prototype for the system
printf() is inconsistent with the prototype for the library printf() and
gets declared if DIAGNOSTIC is defined because <vm/vm_page.h> includes
<sys/systm.h>.
-rw-r--r-- | sys/conf/Makefile.i386 | 6 | ||||
-rw-r--r-- | sys/conf/Makefile.powerpc | 6 | ||||
-rw-r--r-- | sys/i386/conf/Makefile.i386 | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index 53d49a2..be75bff 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.47 1994/10/21 01:10:54 wollman Exp $ +# $Id: Makefile.i386,v 1.48 1994/10/25 19:34:57 bde Exp $ # # Makefile for FreeBSD # @@ -135,7 +135,7 @@ assym.s: genassym # Some of the defines that genassym outputs may well depend on the # value of kernel options. genassym.o: ${I386}/i386/genassym.c Makefile - ${CC} -c ${CFLAGS} ${PARAM} ${I386}/i386/genassym.c + ${CC} -c ${CFLAGS} ${PARAM} -UKERNEL ${I386}/i386/genassym.c genassym: genassym.o ${CC} -static ${CFLAGS} ${PARAM} genassym.o -o $@ @@ -143,7 +143,7 @@ genassym: genassym.o # XXX this assumes that the options for NORMAL_C* and DRIVER_C* are identical. depend: assym.s param.c vnode_if.h mkdep ${COPTS} ${CFILES} ${SYSTEM_CFILES} - mkdep -a ${COPTS} ${PARAM} ${I386}/i386/genassym.c + mkdep -a ${COPTS} ${PARAM} -UKERNEL ${I386}/i386/genassym.c MKDEP_CPP=${CPP} ; export MKDEP_CPP ; \ mkdep -a -DLOCORE ${COPTS} ${SFILES} ${SYSTEM_SFILES} diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc index 53d49a2..be75bff 100644 --- a/sys/conf/Makefile.powerpc +++ b/sys/conf/Makefile.powerpc @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.47 1994/10/21 01:10:54 wollman Exp $ +# $Id: Makefile.i386,v 1.48 1994/10/25 19:34:57 bde Exp $ # # Makefile for FreeBSD # @@ -135,7 +135,7 @@ assym.s: genassym # Some of the defines that genassym outputs may well depend on the # value of kernel options. genassym.o: ${I386}/i386/genassym.c Makefile - ${CC} -c ${CFLAGS} ${PARAM} ${I386}/i386/genassym.c + ${CC} -c ${CFLAGS} ${PARAM} -UKERNEL ${I386}/i386/genassym.c genassym: genassym.o ${CC} -static ${CFLAGS} ${PARAM} genassym.o -o $@ @@ -143,7 +143,7 @@ genassym: genassym.o # XXX this assumes that the options for NORMAL_C* and DRIVER_C* are identical. depend: assym.s param.c vnode_if.h mkdep ${COPTS} ${CFILES} ${SYSTEM_CFILES} - mkdep -a ${COPTS} ${PARAM} ${I386}/i386/genassym.c + mkdep -a ${COPTS} ${PARAM} -UKERNEL ${I386}/i386/genassym.c MKDEP_CPP=${CPP} ; export MKDEP_CPP ; \ mkdep -a -DLOCORE ${COPTS} ${SFILES} ${SYSTEM_SFILES} diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386 index 53d49a2..be75bff 100644 --- a/sys/i386/conf/Makefile.i386 +++ b/sys/i386/conf/Makefile.i386 @@ -1,6 +1,6 @@ # Copyright 1990 W. Jolitz # from: @(#)Makefile.i386 7.1 5/10/91 -# $Id: Makefile.i386,v 1.47 1994/10/21 01:10:54 wollman Exp $ +# $Id: Makefile.i386,v 1.48 1994/10/25 19:34:57 bde Exp $ # # Makefile for FreeBSD # @@ -135,7 +135,7 @@ assym.s: genassym # Some of the defines that genassym outputs may well depend on the # value of kernel options. genassym.o: ${I386}/i386/genassym.c Makefile - ${CC} -c ${CFLAGS} ${PARAM} ${I386}/i386/genassym.c + ${CC} -c ${CFLAGS} ${PARAM} -UKERNEL ${I386}/i386/genassym.c genassym: genassym.o ${CC} -static ${CFLAGS} ${PARAM} genassym.o -o $@ @@ -143,7 +143,7 @@ genassym: genassym.o # XXX this assumes that the options for NORMAL_C* and DRIVER_C* are identical. depend: assym.s param.c vnode_if.h mkdep ${COPTS} ${CFILES} ${SYSTEM_CFILES} - mkdep -a ${COPTS} ${PARAM} ${I386}/i386/genassym.c + mkdep -a ${COPTS} ${PARAM} -UKERNEL ${I386}/i386/genassym.c MKDEP_CPP=${CPP} ; export MKDEP_CPP ; \ mkdep -a -DLOCORE ${COPTS} ${SFILES} ${SYSTEM_SFILES} |