Author: ed
Date: Sat Aug 27 09:50:11 2016
New Revision: 304886
URL: https://svnweb.freebsd.org/changeset/base/304886
Log:
Properly use MACHINE_CPUARCH for finding cloudabi*_sysvec.c.
The build of the cloudabi32 kernel module currently fails for PC98. In
the case of PC98, we just want to use the code for i386.
Reported by: np
Modified:
head/sys/modules/cloudabi32/Makefile
head/sys/modules/cloudabi64/Makefile
Modified: head/sys/modules/cloudabi32/Makefile
==============================================================================
--- head/sys/modules/cloudabi32/Makefile Sat Aug 27 09:40:29 2016
(r304885)
+++ head/sys/modules/cloudabi32/Makefile Sat Aug 27 09:50:11 2016
(r304886)
@@ -3,7 +3,7 @@
SYSDIR?=${.CURDIR}/../..
.PATH: ${SYSDIR}/compat/cloudabi32
-.PATH: ${SYSDIR}/${MACHINE}/cloudabi32
+.PATH: ${SYSDIR}/${MACHINE_CPUARCH}/cloudabi32
KMOD= cloudabi32
SRCS= cloudabi32_fd.c cloudabi32_module.c cloudabi32_poll.c \
Modified: head/sys/modules/cloudabi64/Makefile
==============================================================================
--- head/sys/modules/cloudabi64/Makefile Sat Aug 27 09:40:29 2016
(r304885)
+++ head/sys/modules/cloudabi64/Makefile Sat Aug 27 09:50:11 2016
(r304886)
@@ -3,7 +3,7 @@
SYSDIR?=${.CURDIR}/../..
.PATH: ${SYSDIR}/compat/cloudabi64
-.PATH: ${SYSDIR}/${MACHINE}/cloudabi64
+.PATH: ${SYSDIR}/${MACHINE_CPUARCH}/cloudabi64
KMOD= cloudabi64
SRCS= cloudabi64_fd.c cloudabi64_module.c cloudabi64_poll.c \
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"