summaryrefslogtreecommitdiff
path: root/sys/lkm/exec/linux_aout
diff options
context:
space:
mode:
authorhe <he@NetBSD.org>2004-11-14 11:40:08 +0000
committerhe <he@NetBSD.org>2004-11-14 11:40:08 +0000
commitc8d952d682c9a3f99ee0879e337f4dfff028aa40 (patch)
tree33d8bc9fbcd4b236333c5a0a92f602391e2b67a8 /sys/lkm/exec/linux_aout
parent23c8222edbfb0f0932d88a8351d3a0cf817dfb9e (diff)
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 (limited to 'sys/lkm/exec/linux_aout')
-rw-r--r--sys/lkm/exec/linux_aout/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/lkm/exec/linux_aout/Makefile b/sys/lkm/exec/linux_aout/Makefile
index 422fc12f66d..cecec95c826 100644
--- a/sys/lkm/exec/linux_aout/Makefile
+++ b/sys/lkm/exec/linux_aout/Makefile
@@ -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 @@ CPPFLAGS+= -nostdinc -D_KERNEL -DEXEC_AOUT -DCOMPAT_LINUX
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>