Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/lkm/exec/linux_aout Um, linux_exec_machdep.c only exists...



details:   https://anonhg.NetBSD.org/src/rev/a071d81ce89a
branches:  trunk
changeset: 571223:a071d81ce89a
user:      he <he%NetBSD.org@localhost>
date:      Sun Nov 14 11:40:08 2004 +0000

description:
Um, linux_exec_machdep.c only exists on i386, so don't try to compile
it for the other machine types which traverse this directory.

diffstat:

 sys/lkm/exec/linux_aout/Makefile |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 6fdecc5735f1 -r a071d81ce89a sys/lkm/exec/linux_aout/Makefile
--- a/sys/lkm/exec/linux_aout/Makefile  Sun Nov 14 11:26:43 2004 +0000
+++ b/sys/lkm/exec/linux_aout/Makefile  Sun Nov 14 11:40:08 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2004/11/13 13:37:06 skrll Exp $
+#      $NetBSD: Makefile,v 1.7 2004/11/14 11:40:08 he Exp $
 
 .include "../Makefile.inc"
 
@@ -10,6 +10,10 @@
 KMOD=  exec_linux_aout
 
 SRCS=  lkminit_exec.c
-SRCS+= linux_exec_aout.c linux_exec_machdep.c
+SRCS+= linux_exec_aout.c
+
+.if ${MACHINE} == "i386"
+SRCS+= linux_exec_machdep.c
+.endif
 
 .include <bsd.kmod.mk>



Home | Main Index | Thread Index | Old Index