Use both the MACHINE and MACHINE_CPUARCH directories for finding sources.
When fixing this module to build on PC98, I actually broke the build on ARM64. On PC98 we need to pull in the sources from the MACHINE_CPUARCH (i386), but on ARM64 we need to use the MACHINE, as MACHINE_CPUARCH is set to aarch64 instead of just arm64.
This commit is contained in:
parent
cff8ef76a4
commit
bab6a051ec
@ -4,6 +4,7 @@ SYSDIR?=${.CURDIR}/../..
|
||||
|
||||
.PATH: ${SYSDIR}/compat/cloudabi32
|
||||
.PATH: ${SYSDIR}/${MACHINE_CPUARCH}/cloudabi32
|
||||
.PATH: ${SYSDIR}/${MACHINE}/cloudabi32
|
||||
|
||||
KMOD= cloudabi32
|
||||
SRCS= cloudabi32_fd.c cloudabi32_module.c cloudabi32_poll.c \
|
||||
|
@ -4,6 +4,7 @@ SYSDIR?=${.CURDIR}/../..
|
||||
|
||||
.PATH: ${SYSDIR}/compat/cloudabi64
|
||||
.PATH: ${SYSDIR}/${MACHINE_CPUARCH}/cloudabi64
|
||||
.PATH: ${SYSDIR}/${MACHINE}/cloudabi64
|
||||
|
||||
KMOD= cloudabi64
|
||||
SRCS= cloudabi64_fd.c cloudabi64_module.c cloudabi64_poll.c \
|
||||
|
Loading…
x
Reference in New Issue
Block a user