Make kernel modules build correctly on 64-bit PowerPC.
This commit is contained in:
parent
8a6870808d
commit
a393ae13a4
@ -318,7 +318,7 @@ SUBDIR= ${_3dfx} \
|
||||
${_zfs} \
|
||||
zlib \
|
||||
|
||||
.if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "arm" && \
|
||||
.if ${MACHINE_CPUARCH} != "powerpc" && ${MACHINE_ARCH} != "arm" && \
|
||||
${MACHINE_ARCH} != "mips"
|
||||
_syscons= syscons
|
||||
_vpo= vpo
|
||||
@ -615,7 +615,7 @@ _wi= wi
|
||||
_xe= xe
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc"
|
||||
.if ${MACHINE_CPUARCH} == "powerpc"
|
||||
_an= an
|
||||
_bm= bm
|
||||
_cpufreq= cpufreq
|
||||
|
@ -5,7 +5,7 @@
|
||||
KMOD= if_cas
|
||||
SRCS= bus_if.h device_if.h if_cas.c miibus_if.h pci_if.h ${ofw_bus_if}
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
|
||||
.if ${MACHINE_CPUARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64"
|
||||
ofw_bus_if= ofw_bus_if.h
|
||||
.endif
|
||||
|
||||
|
@ -28,7 +28,7 @@ SRCS+= device_if.h bus_if.h
|
||||
SRCS+= hwpmc_ia64.c
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc"
|
||||
.if ${MACHINE_CPUARCH} == "powerpc"
|
||||
SRCS+= hwpmc_powerpc.c
|
||||
.endif
|
||||
|
||||
|
@ -15,7 +15,7 @@ SUBDIR+= audiocs
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc"
|
||||
.if ${MACHINE_CPUARCH} == "powerpc"
|
||||
SUBDIR+= ai2s davbus
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user