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.
This commit is contained in:
he 2004-11-14 12:19:28 +00:00
parent 3925b5c019
commit 19278a71d3
1 changed files with 6 additions and 2 deletions

View File

@ -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 @@ CPPFLAGS+= -nostdinc -D_KERNEL -DEXEC_ELF32 -DEXEC_ELF64
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