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