3 KDIR
:= /lib
/modules
/$(shell uname
-r
)/build
4 KMISC
:= /lib
/modules
/$(shell uname
-r
)/cpufrequtils
/
6 ifeq ("$(CONFIG_X86_TSC)", "y")
7 obj-m
+= cpufreq-test_tsc.o
11 $(MAKE
) -C
$(KDIR
) M
=$(CURDIR
)
14 - rm -rf
*.o
*.ko .tmp-versions .
*.cmd .
*.mod.
* *.mod.c
15 - rm -rf .tmp_versions
* Module.symvers modules.order
19 install -m
644 -c
*.ko
$(KMISC
)