1
2EXTRA_CFLAGS += -Wall -W -Wno-unused-parameter
3
4ifneq ($(KERNELRELEASE),)
5
6obj-m	:= video_dummy.o
7else
8KDIR	:= /lib/modules/$(shell uname -r)/build
9PWD	:= $(shell pwd)
10
11modules:
12	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
13
14clean:
15	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean
16	rm -f modules.order
17
18help:
19	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) help
20
21modules_install:
22	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules_install
23
24endif
25