From 4a2d33f6d0a82da1bc1282c463d5633d14e76792 Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 22 Nov 1996 04:27:43 +0000 Subject: [PATCH] Set a more explicit #include path for building aix7xxx_asm, otherwise it uses /usr/include/sys/*, which may point to a different build tree. I'm not sure that this is necessary, but there was a question mark over what /usr/include/sys points to when building the "user mode" binaries in the kernel code, especially when building the smp tree. I suspect that the "right" line here is to use ${INCLUDES}, but that causes warnings about unused static inline functions in stdio.h and ctype.h --- sys/conf/files.i386 | 4 ++-- sys/i386/conf/files.i386 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/conf/files.i386 b/sys/conf/files.i386 index a148b51d5753..a395b7448890 100644 --- a/sys/conf/files.i386 +++ b/sys/conf/files.i386 @@ -1,11 +1,11 @@ # This file tells config what files go into building a kernel, # files marked standard are always included. # -# $Id: files.i386,v 1.144 1996/11/14 22:18:47 sos Exp $ +# $Id: files.i386,v 1.145 1996/11/15 18:36:25 jkh Exp $ # aic7xxx_asm optional ahc device-driver \ dependency "$S/dev/aic7xxx/aic7xxx_asm.c" \ - compile-with "${CC} -Wall -o $@ $>" \ + compile-with "${CC} -I- -I. -I$S -Wall -o $@ $>" \ no-obj no-implicit-rule \ clean "aic7xxx_asm" # diff --git a/sys/i386/conf/files.i386 b/sys/i386/conf/files.i386 index a148b51d5753..a395b7448890 100644 --- a/sys/i386/conf/files.i386 +++ b/sys/i386/conf/files.i386 @@ -1,11 +1,11 @@ # This file tells config what files go into building a kernel, # files marked standard are always included. # -# $Id: files.i386,v 1.144 1996/11/14 22:18:47 sos Exp $ +# $Id: files.i386,v 1.145 1996/11/15 18:36:25 jkh Exp $ # aic7xxx_asm optional ahc device-driver \ dependency "$S/dev/aic7xxx/aic7xxx_asm.c" \ - compile-with "${CC} -Wall -o $@ $>" \ + compile-with "${CC} -I- -I. -I$S -Wall -o $@ $>" \ no-obj no-implicit-rule \ clean "aic7xxx_asm" #