2005-02-04 05:49:36 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2005-02-20 20:29:04 +00:00
|
|
|
.PATH: ${.CURDIR}/../../dev/cpufreq \
|
2010-08-23 06:13:29 +00:00
|
|
|
${.CURDIR}/../../${MACHINE_CPUARCH}/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"
|
2010-02-25 14:13:39 +00:00
|
|
|
.PATH: ${.CURDIR}/../../x86/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>
|