From aebd56463190ff5fc9c806f2cede22e08f1cd601 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Wed, 6 Nov 1996 15:13:41 +0000 Subject: [PATCH] Compile linux_genassym with the same options as genassym. ${PARAM} and - were missingUKERNEL. This was harmless until I declared the kernel's main(). --- sys/conf/files.i386 | 6 +++--- sys/i386/conf/files.i386 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/conf/files.i386 b/sys/conf/files.i386 index 83854fd73cd..3e727a6ee45 100644 --- a/sys/conf/files.i386 +++ b/sys/conf/files.i386 @@ -1,7 +1,7 @@ # This file tells config what files go into building a kernel, # files marked standard are always included. # -# $Id: files.i386,v 1.141 1996/10/17 19:31:45 bde Exp $ +# $Id: files.i386,v 1.142 1996/11/04 22:16:36 guido Exp $ # aic7xxx_asm optional ahc device-driver \ dependency "$S/dev/aic7xxx/aic7xxx_asm.c" \ @@ -17,12 +17,12 @@ aic7xxx_seq.h optional ahc device-driver \ # linux_genassym optional compat_linux \ dependency "$S/i386/linux/linux_genassym.c $S/i386/linux/linux.h" \ - compile-with "${CC} ${CFLAGS} -o $@ $<" \ + compile-with "${CC} ${CFLAGS} ${PARAM} -UKERNEL -o $@ $<" \ no-obj no-implicit-rule \ clean "linux_genassym" # linux_assym.h optional compat_linux \ - dependency "linux_genassym" \ + dependency "linux_genassym" \ compile-with "./linux_genassym > $@" \ no-obj no-implicit-rule before-depend \ clean "linux_assym.h" diff --git a/sys/i386/conf/files.i386 b/sys/i386/conf/files.i386 index 83854fd73cd..3e727a6ee45 100644 --- a/sys/i386/conf/files.i386 +++ b/sys/i386/conf/files.i386 @@ -1,7 +1,7 @@ # This file tells config what files go into building a kernel, # files marked standard are always included. # -# $Id: files.i386,v 1.141 1996/10/17 19:31:45 bde Exp $ +# $Id: files.i386,v 1.142 1996/11/04 22:16:36 guido Exp $ # aic7xxx_asm optional ahc device-driver \ dependency "$S/dev/aic7xxx/aic7xxx_asm.c" \ @@ -17,12 +17,12 @@ aic7xxx_seq.h optional ahc device-driver \ # linux_genassym optional compat_linux \ dependency "$S/i386/linux/linux_genassym.c $S/i386/linux/linux.h" \ - compile-with "${CC} ${CFLAGS} -o $@ $<" \ + compile-with "${CC} ${CFLAGS} ${PARAM} -UKERNEL -o $@ $<" \ no-obj no-implicit-rule \ clean "linux_genassym" # linux_assym.h optional compat_linux \ - dependency "linux_genassym" \ + dependency "linux_genassym" \ compile-with "./linux_genassym > $@" \ no-obj no-implicit-rule before-depend \ clean "linux_assym.h"