summaryrefslogtreecommitdiffstats
path: root/sys/boot/ofw/libofw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/ofw/libofw/Makefile')
-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