24cd37102c
Its a newer version provided by the author than in the PR. PR: kern/128575 Submitted by: Gen Otsuji annona2 [at] gmail.com
23 lines
459 B
Makefile
23 lines
459 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/cpufreq \
|
|
${.CURDIR}/../../${MACHINE_ARCH}/cpufreq
|
|
|
|
KMOD= cpufreq
|
|
SRCS= ichss.c
|
|
SRCS+= bus_if.h cpufreq_if.h device_if.h pci_if.h
|
|
|
|
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
|
|
.PATH: ${.CURDIR}/../../i386/cpufreq
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica
|
|
|
|
SRCS+= acpi_if.h opt_acpi.h
|
|
SRCS+= est.c hwpstate.c p4tcc.c powernow.c
|
|
.endif
|
|
|
|
.if ${MACHINE} == "i386"
|
|
SRCS+= smist.c
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|