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