Remove compat_util.o from these loadable modules. It will be in the kernel.
Should fix PR kern/36287
This commit is contained in:
parent
e934daaae7
commit
a9a3224a5e
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.6 2002/11/29 17:11:22 jdolecek Exp $
|
||||
# $NetBSD: Makefile,v 1.7 2007/05/12 10:45:01 dsl Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
@ -11,14 +11,4 @@ KMOD= exec_freebsd_elf
|
||||
SRCS= lkminit_exec.c
|
||||
SRCS+= freebsd_exec_elf32.c
|
||||
|
||||
# compat_util.c symbol redifinitions
|
||||
CPPFLAGS+= -Demul_find=freebsd_emul_find \
|
||||
-Demul_find_interp=freebsd_emul_find_interp \
|
||||
-Dstackgap_init=freebsd_stackgap_init \
|
||||
-Demul_flags_translate=freebsd_emul_flags_translate \
|
||||
-Dstackgap_alloc=freebsd_stackgap_alloc \
|
||||
-Dcompat_offseterr=freebsd_compat_offseterr
|
||||
.PATH: $S/compat/common
|
||||
SRCS+= compat_util.c
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.8 2005/12/11 12:24:48 christos Exp $
|
||||
# $NetBSD: Makefile,v 1.9 2007/05/12 10:45:01 dsl Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
@ -21,14 +21,4 @@ SRCS+= linux_exec_elf64.c
|
||||
SRCS+= linux_exec_elf32.c
|
||||
.endif
|
||||
|
||||
# compat_util.c symbol redifinitions
|
||||
CPPFLAGS+= -Demul_find=linux_elf_emul_find \
|
||||
-Demul_find_interp=linux_emul_find_interp \
|
||||
-Dstackgap_init=linux_stackgap_init \
|
||||
-Demul_flags_translate=linux_elf_emul_flags_translate \
|
||||
-Dstackgap_alloc=linux_elf_stackgap_alloc \
|
||||
-Dcompat_offseterr=linux_elf_compat_offseterr
|
||||
.PATH: $S/compat/common
|
||||
SRCS+= compat_util.c
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.4 2002/11/29 17:11:22 jdolecek Exp $
|
||||
# $NetBSD: Makefile,v 1.5 2007/05/12 10:45:01 dsl Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
@ -13,14 +13,4 @@ KMOD= exec_pecoff
|
||||
SRCS= lkminit_exec.c
|
||||
SRCS+= pecoff_exec.c
|
||||
|
||||
# compat_util.c symbol redifinitions
|
||||
CPPFLAGS+= -Demul_find=pecoff_emul_find \
|
||||
-Demul_find_interp=pecoff_emul_find_interp \
|
||||
-Dstackgap_init=pecoff_stackgap_init \
|
||||
-Demul_flags_translate=pecoff_emul_flags_translate \
|
||||
-Dstackgap_alloc=pecoff_stackgap_alloc \
|
||||
-Dcompat_offseterr=pecoff_compat_offseterr
|
||||
.PATH: $S/compat/common
|
||||
SRCS+= compat_util.c
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.7 2002/11/29 17:11:23 jdolecek Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2007/05/12 10:45:01 dsl Exp $
|
||||
|
||||
.include "../Makefile.inc"
|
||||
|
||||
@ -18,14 +18,4 @@ KMOD= exec_svr4_elf
|
||||
SRCS= lkminit_exec.c
|
||||
SRCS+= svr4_exec_elf${ELFSIZE}.c
|
||||
|
||||
# compat_util.c symbol redifinitions
|
||||
CPPFLAGS+= -Demul_find=svr4_emul_find \
|
||||
-Demul_find_interp=svr4_emul_find_interp \
|
||||
-Dstackgap_init=svr4_stackgap_init \
|
||||
-Demul_flags_translate=svr4_emul_flags_translate \
|
||||
-Dstackgap_alloc=svr4_stackgap_alloc \
|
||||
-Dcompat_offseterr=svr4_compat_offseterr
|
||||
.PATH: $S/compat/common
|
||||
SRCS+= compat_util.c
|
||||
|
||||
.include <bsd.kmod.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user