7220a79813
conversation with several developers. The change was tested on sparc64. NetBSD ultra.example.ca 5.99.17 NetBSD 5.99.17 (MODULAR) #0: Tue Sep 15 19:08:02 PDT 2009 jnemeth@ultra.example.ca:/usr/local/current/objdir/sys/arch/sparc64/compile/MODULAR sparc64 NAME CLASS SOURCE REFS SIZE REQUIRES ... exec_elf64 misc filesys 0 6981 coredump ...
23 lines
537 B
Makefile
23 lines
537 B
Makefile
# $NetBSD: Makefile,v 1.2 2009/09/17 23:07:12 jnemeth Exp $
|
|
|
|
.include "../Makefile.inc"
|
|
|
|
KMOD= exec_elf32
|
|
|
|
CPPFLAGS+= -DEXEC_ELF32 -DCOREDUMP
|
|
.if ${MACHINE_ARCH} != "arm" && \
|
|
${MACHINE_ARCH} != "armeb" && \
|
|
${MACHINE_ARCH} != "m68000" && \
|
|
${MACHINE_ARCH} != "m68k" && \
|
|
${MACHINE_ARCH} != "powerpc" && \
|
|
${MACHINE_ARCH} != "powerpc64" && \
|
|
${MACHINE_ARCH} != "sparc" && \
|
|
${MACHINE_ARCH} != "sparc64"
|
|
CPPFLAGS+= -DPAX_ASLR
|
|
.endif
|
|
|
|
.PATH: ${S}/kern
|
|
SRCS= exec_elf32.c core_elf32.c
|
|
|
|
.include <bsd.kmodule.mk>
|