summaryrefslogtreecommitdiffstats
path: root/sys/boot/ofw
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-08-23 01:50:34 +0000
committerimp <imp@FreeBSD.org>2010-08-23 01:50:34 +0000
commit86c4c6b1df3ee3fb37a13959ff7ba362f3010f9f (patch)
tree289a9fe244cec05bdcaf9a79e3e343ad4f250a52 /sys/boot/ofw
parent5d0150b96a8d9fe21a0769888dd7b134248a27d5 (diff)
downloadFreeBSD-src-86c4c6b1df3ee3fb37a13959ff7ba362f3010f9f.zip
FreeBSD-src-86c4c6b1df3ee3fb37a13959ff7ba362f3010f9f.tar.gz
MF tbemd: Minor tweaks, prefer MACHINE_CPUARCH generally to MACHINE_ARCH (which simplifies some powerpc/powerpc64 ifs)
Diffstat (limited to 'sys/boot/ofw')
-rw-r--r--sys/boot/ofw/libofw/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/ofw/libofw/Makefile b/sys/boot/ofw/libofw/Makefile
index 5ea0de9..945d650 100644
--- a/sys/boot/ofw/libofw/Makefile
+++ b/sys/boot/ofw/libofw/Makefile
@@ -13,7 +13,7 @@ CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
CFLAGS+= -ffreestanding
-.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpc64"
+.if ${MACHINE_CPUARCH} == "powerpc"
CFLAGS+= -msoft-float
SRCS+= ppc64_elf_freebsd.c
.endif
@@ -24,7 +24,7 @@ CFLAGS+= -DDISK_DEBUG
.endif
machine:
- ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/include machine
+ ln -sf ${.CURDIR}/../../../${MACHINE_CPUARCH}/include machine
CLEANFILES+= machine
OpenPOWER on IntegriCloud