NetBSD/sys/arch/sparc64/conf/POWEROFSEVEN
mrg 3ec1b99028 place the main chunk of POWEROFSEVEN's config into the .inc file, and have
the 32 and 64 files define MACHINE_ARCH, CC, LD and AS appropriately to build
a 32 or 64 bit kernel, respectively.  this allows either to be built on a
system that can generate 32 or 64 bit code.
2001-09-02 05:53:38 +00:00

14 lines
471 B
Plaintext

# $NetBSD: POWEROFSEVEN,v 1.19 2001/09/02 05:53:38 mrg Exp $
include "arch/sparc64/conf/POWEROFSEVEN.inc"
options _LP64 # we're using a 64-bit compiler
#options COMPAT_NETBSD32 # NetBSD/sparc binary compatibility
#options COMPAT_SVR4_32 # SunOS 5.x 32-bit binary compatibility
options EXEC_ELF64 # Exec module for sparc64 & SunOs 5.x binaries.
makeoptions MACHINE_ARCH=sparc64
makeoptions CC="cc -m64"
makeoptions LD="ld -m elf64_sparc"
makeoptions AS="as -64"