xref: /freebsd/sys/modules/cpufreq/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1.PATH:	${SRCTOP}/sys/dev/cpufreq		\
2	${SRCTOP}/sys/${MACHINE_CPUARCH}/cpufreq
3
4KMOD=	cpufreq
5SRCS=	ichss.c
6SRCS+=	bus_if.h cpufreq_if.h device_if.h pci_if.h
7
8.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
9.PATH:	${SRCTOP}/sys/x86/cpufreq
10
11SRCS+=	acpi_if.h opt_acpi.h
12SRCS+=	est.c hwpstate_amd.c p4tcc.c powernow.c hwpstate_intel.c
13.endif
14
15.if ${MACHINE} == "i386"
16SRCS+=	smist.c
17.endif
18
19.if ${MACHINE} == "powerpc"
20.PATH:	${SRCTOP}/sys/powerpc/cpufreq
21SRCS+= dfs.c
22.endif
23
24.include <bsd.kmod.mk>
25