2005-02-04 05:49:36 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2005-02-20 20:29:04 +00:00
|
|
|
.PATH: ${.CURDIR}/../../dev/cpufreq \
|
|
|
|
${.CURDIR}/../../${MACHINE_ARCH}/cpufreq
|
2005-02-04 05:49:36 +00:00
|
|
|
|
|
|
|
KMOD= cpufreq
|
|
|
|
SRCS= ichss.c
|
|
|
|
SRCS+= bus_if.h cpufreq_if.h device_if.h pci_if.h
|
|
|
|
|
2005-04-04 15:51:13 +00:00
|
|
|
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
|
|
|
|
.PATH: ${.CURDIR}/../../i386/cpufreq
|
2005-03-27 21:47:12 +00:00
|
|
|
|
2005-04-04 15:51:13 +00:00
|
|
|
SRCS+= acpi_if.h opt_acpi.h
|
2009-03-28 08:54:47 +00:00
|
|
|
SRCS+= est.c hwpstate.c p4tcc.c powernow.c
|
2005-02-20 20:29:04 +00:00
|
|
|
.endif
|
|
|
|
|
2005-04-19 16:38:24 +00:00
|
|
|
.if ${MACHINE} == "i386"
|
|
|
|
SRCS+= smist.c
|
|
|
|
.endif
|
|
|
|
|
2009-05-31 09:01:23 +00:00
|
|
|
.if ${MACHINE} == "powerpc"
|
|
|
|
.PATH: ${.CURDIR}/../../powerpc/cpufreq
|
|
|
|
SRCS+= dfs.c
|
|
|
|
.endif
|
|
|
|
|
2005-02-04 05:49:36 +00:00
|
|
|
.include <bsd.kmod.mk>
|