diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-03-24 20:48:04 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2021-03-24 20:48:04 +0200 |
| commit | 301f7fa87fa2bafbd9ed3436aa7eb865b341563c (patch) | |
| tree | 1bda82c0cd2f0093d74fb423da626fde0f17dd0a /Makefile | |
| parent | c2be549438657a7e0b863a1ed58ba17e8fb5ff33 (diff) | |
| download | hid-tmff2-301f7fa87fa2bafbd9ed3436aa7eb865b341563c.tar.gz hid-tmff2-301f7fa87fa2bafbd9ed3436aa7eb865b341563c.zip | |
Merge branch 'minalloc'
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 13 insertions, 7 deletions
@@ -1,11 +1,17 @@ -obj-m += hid-tminit.o obj-m += hid-tmt300rs.o +KDIR ?= /lib/modules/$(shell uname -r)/build -all: - make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules -install: - make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules_install +all: hid-tminit + $(MAKE) -C $(KDIR) M=$(shell pwd) modules + +install: hid-tminit + $(MAKE) -C $(KDIR) M=$(shell pwd) modules_install depmod -A -clean: - make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) clean +clean: hid-tminit + $(MAKE) -C $(KDIR) M=$(shell pwd) clean + + +.PHONY: hid-tminit +hid-tminit: + $(MAKE) -C hid-tminit $(MAKECMDGOALS) |
