Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / tools / power / cpupower / debug / kernel / Makefile
blob96b146fe6f8d02db3d94dccefe401919a693450f
1 obj-m :=
3 KDIR := /lib/modules/$(shell uname -r)/build
4 PWD := $(shell pwd)
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=$(PWD)
14 clean:
15 - rm -rf *.o *.ko .tmp-versions .*.cmd .*.mod.* *.mod.c
16 - rm -rf .tmp_versions* 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