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_elf Um, linux_exec_machdep.c only exists ...
details: https://anonhg.NetBSD.org/src/rev/a8b79095ac0a
branches: trunk
changeset: 571225:a8b79095ac0a
user: he <he%NetBSD.org@localhost>
date: Sun Nov 14 12:19:28 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_elf/Makefile | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r eb75095b71f7 -r a8b79095ac0a sys/lkm/exec/linux_elf/Makefile
--- a/sys/lkm/exec/linux_elf/Makefile Sun Nov 14 12:14:40 2004 +0000
+++ b/sys/lkm/exec/linux_elf/Makefile Sun Nov 14 12:19:28 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2004/11/13 06:09:47 christos Exp $
+# $NetBSD: Makefile,v 1.7 2004/11/14 12:19:28 he Exp $
.include "../Makefile.inc"
@@ -9,7 +9,11 @@
KMOD= exec_linux_elf
-SRCS= lkminit_exec.c linux_exec_machdep.c
+SRCS= lkminit_exec.c
+
+.if ${MACHINE} == "i386"
+SRCS+= linux_exec_machdep.c
+.endif
.if ${MACHINE} == "alpha" || ${MACHINE} == "sparc64"
SRCS+= linux_exec_elf64.c
Home |
Main Index |
Thread Index |
Old Index