Merge tag 'ntb-5.11' of git://github.com/jonmason/ntb
[linux/fpc-iii.git] / tools / power / cpupower / debug / kernel / Makefile
blob7b5c43684be1273a90e5cac3715d10fc65fd71d6
1 # SPDX-License-Identifier: GPL-2.0
2 obj-m :=
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
9 endif
11 default:
12 $(MAKE) -C $(KDIR) M=$(CURDIR)
14 clean:
15 - rm -rf *.o *.ko .*.cmd .*.mod.* *.mod.c
16 - rm -rf Module.symvers modules.order
18 install: default
19 install -d $(KMISC)
20 install -m 644 -c *.ko $(KMISC)
21 /sbin/depmod -a
23 all: default