Changeset View
Changeset View
Standalone View
Standalone View
sys/modules/cpufreq/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
.PATH: ${SRCTOP}/sys/dev/cpufreq \ | .PATH: ${SRCTOP}/sys/dev/cpufreq \ | ||||
${SRCTOP}/sys/${MACHINE_CPUARCH}/cpufreq | ${SRCTOP}/sys/${MACHINE_CPUARCH}/cpufreq | ||||
KMOD= cpufreq | KMOD= cpufreq | ||||
SRCS= ichss.c | SRCS= ichss.c | ||||
SRCS+= bus_if.h cpufreq_if.h device_if.h pci_if.h | SRCS+= bus_if.h cpufreq_if.h device_if.h pci_if.h | ||||
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" | .if ${MACHINE} == "i386" || ${MACHINE} == "amd64" | ||||
.PATH: ${SRCTOP}/sys/x86/cpufreq | .PATH: ${SRCTOP}/sys/x86/cpufreq | ||||
SRCS+= acpi_if.h opt_acpi.h | SRCS+= acpi_if.h opt_acpi.h | ||||
SRCS+= est.c hwpstate.c p4tcc.c powernow.c | SRCS+= est.c hwpstate_amd.c p4tcc.c powernow.c hwpstate_intel.c | ||||
.endif | .endif | ||||
.if ${MACHINE} == "i386" | .if ${MACHINE} == "i386" | ||||
SRCS+= smist.c | SRCS+= smist.c | ||||
.endif | .endif | ||||
.if ${MACHINE} == "powerpc" | .if ${MACHINE} == "powerpc" | ||||
.PATH: ${SRCTOP}/sys/powerpc/cpufreq | .PATH: ${SRCTOP}/sys/powerpc/cpufreq | ||||
SRCS+= dfs.c | SRCS+= dfs.c | ||||
.endif | .endif | ||||
.include <bsd.kmod.mk> | .include <bsd.kmod.mk> |