Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2016 09:50:11 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r304886 - in head/sys/modules: cloudabi32 cloudabi64
Message-ID:  <201608270950.u7R9oBSD078811@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608270950.u7R9oBSD078811>