Date: Sat, 10 Jul 2010 02:32:51 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r209868 - head/share/mk Message-ID: <201007100232.o6A2WpXc021644@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nwhitehorn Date: Sat Jul 10 02:32:50 2010 New Revision: 209868 URL: http://svn.freebsd.org/changeset/base/209868 Log: Minor modifications to know what to do with powerpc64. Modified: head/share/mk/bsd.cpu.mk head/share/mk/bsd.endian.mk head/share/mk/sys.mk Modified: head/share/mk/bsd.cpu.mk ============================================================================== --- head/share/mk/bsd.cpu.mk Sat Jul 10 02:29:22 2010 (r209867) +++ head/share/mk/bsd.cpu.mk Sat Jul 10 02:32:50 2010 (r209868) @@ -12,7 +12,7 @@ MACHINE_CPU = i486 MACHINE_CPU = amd64 sse2 sse mmx . elif ${MACHINE_ARCH} == "ia64" MACHINE_CPU = itanium -. elif ${MACHINE_ARCH} == "powerpc" +. elif ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64" MACHINE_CPU = aim . elif ${MACHINE_ARCH} == "sparc64" . elif ${MACHINE_ARCH} == "arm" @@ -121,6 +121,8 @@ _CPUCFLAGS = -Wa,-me500 -msoft-float . else _CPUCFLAGS = -mcpu=${CPUTYPE} -mno-powerpc64 . endif +. elif ${MACHINE_ARCH} == "powerpc64" +_CPUCFLAGS = -mcpu=${CPUTYPE} . elif ${MACHINE_ARCH} == "mips" . if ${CPUTYPE} == "mips32" _CPUCFLAGS = -march=mips32 Modified: head/share/mk/bsd.endian.mk ============================================================================== --- head/share/mk/bsd.endian.mk Sat Jul 10 02:29:22 2010 (r209867) +++ head/share/mk/bsd.endian.mk Sat Jul 10 02:32:50 2010 (r209868) @@ -7,6 +7,7 @@ (${MACHINE_ARCH} == "mips" && !defined(TARGET_BIG_ENDIAN)) TARGET_ENDIANNESS= 1234 .elif ${MACHINE_ARCH} == "powerpc" || \ + ${MACHINE_ARCH} == "powerpc64" || \ ${MACHINE_ARCH} == "sparc64" || \ ${MACHINE_ARCH} == "arm" || \ ${MACHINE_ARCH} == "mips" Modified: head/share/mk/sys.mk ============================================================================== --- head/share/mk/sys.mk Sat Jul 10 02:29:22 2010 (r209867) +++ head/share/mk/sys.mk Sat Jul 10 02:32:50 2010 (r209868) @@ -13,7 +13,7 @@ unix ?= We run FreeBSD, not UNIX. # of size and/or endian. This is called MACHINE_CPU in NetBSD, but # that's used for something different in FreeBSD. # -MACHINE_CPUARCH=${MACHINE_ARCH:C/mipse[lb]/mips/:C/armeb/arm/} +MACHINE_CPUARCH=${MACHINE_ARCH:C/mipse[lb]/mips/:C/armeb/arm/:C/powerpc64/powerpc/} .endif # If the special target .POSIX appears (without prerequisites or
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007100232.o6A2WpXc021644>