1 # SPDX-License-Identifier: GPL-2.0
4 KDIR
:= /lib
/modules
/$(shell uname
-r
)/build
5 KMISC
:= /lib
/modules
/$(shell uname
-r
)/cpufrequtils
/
7 ifeq ("$(CONFIG_X86_TSC)", "y")
8 obj-m
+= cpufreq-test_tsc.o
12 $(MAKE
) -C
$(KDIR
) M
=$(CURDIR
)
15 - rm -rf
*.o
*.ko .
*.cmd .
*.mod.
* *.mod.c
16 - rm -rf Module.symvers modules.order
20 install -m
644 -c
*.ko
$(KMISC
)