With r344062 in place, hwpmc_mod.c generally needs bus_if.h and
device_if.h.
This commit is contained in:
parent
794022b04a
commit
37e3a57cc1
@ -6,7 +6,8 @@
|
|||||||
|
|
||||||
KMOD= hwpmc
|
KMOD= hwpmc
|
||||||
|
|
||||||
SRCS= hwpmc_mod.c hwpmc_logging.c hwpmc_soft.c vnode_if.h
|
SRCS= bus_if.h device_if.h hwpmc_mod.c hwpmc_logging.c hwpmc_soft.c
|
||||||
|
SRCS+= vnode_if.h
|
||||||
|
|
||||||
.if ${MACHINE_CPUARCH} == "aarch64"
|
.if ${MACHINE_CPUARCH} == "aarch64"
|
||||||
SRCS+= hwpmc_arm64.c hwpmc_arm64_md.c
|
SRCS+= hwpmc_arm64.c hwpmc_arm64_md.c
|
||||||
@ -15,7 +16,6 @@ SRCS+= hwpmc_arm64.c hwpmc_arm64_md.c
|
|||||||
.if ${MACHINE_CPUARCH} == "amd64"
|
.if ${MACHINE_CPUARCH} == "amd64"
|
||||||
SRCS+= hwpmc_amd.c hwpmc_core.c hwpmc_intel.c hwpmc_tsc.c
|
SRCS+= hwpmc_amd.c hwpmc_core.c hwpmc_intel.c hwpmc_tsc.c
|
||||||
SRCS+= hwpmc_x86.c hwpmc_uncore.c
|
SRCS+= hwpmc_x86.c hwpmc_uncore.c
|
||||||
SRCS+= device_if.h bus_if.h
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MACHINE_CPUARCH} == "arm"
|
.if ${MACHINE_CPUARCH} == "arm"
|
||||||
@ -25,7 +25,6 @@ SRCS+= hwpmc_arm.c
|
|||||||
.if ${MACHINE_CPUARCH} == "i386"
|
.if ${MACHINE_CPUARCH} == "i386"
|
||||||
SRCS+= hwpmc_amd.c hwpmc_core.c hwpmc_intel.c
|
SRCS+= hwpmc_amd.c hwpmc_core.c hwpmc_intel.c
|
||||||
SRCS+= hwpmc_tsc.c hwpmc_x86.c hwpmc_uncore.c
|
SRCS+= hwpmc_tsc.c hwpmc_x86.c hwpmc_uncore.c
|
||||||
SRCS+= device_if.h bus_if.h
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MACHINE_CPUARCH} == "powerpc"
|
.if ${MACHINE_CPUARCH} == "powerpc"
|
||||||
|
Loading…
Reference in New Issue
Block a user