File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
MODULE:= rtmouse
2
- EXTRA_CFLAGS := -I$(PWD)/include
3
2
obj-m:= $(MODULE).o
4
3
clean-files:= *.o *.ko *.mod.[co] *~
5
4
6
5
LINUX_SRC_DIR:=/usr/src/linux-headers-$(shell uname -r)
7
6
VERBOSE:=0
8
7
8
+ EXTRA_CFLAGS += -I$(PWD)/include
9
+ ccflags-y += -I$(PWD)/include
10
+
9
11
rtmouse.ko: rtmouse.c
10
12
make -C $(LINUX_SRC_DIR) M=$(shell pwd) V=$(VERBOSE) modules
11
13
Original file line number Diff line number Diff line change 1
1
MODULE:= rtmouse
2
- EXTRA_CFLAGS := -I$(PWD)/include
3
2
obj-m:= $(MODULE).o
4
3
clean-files:= *.o *.ko *.mod.[co] *~
5
4
6
5
LINUX_SRC_DIR:=/usr/src/linux
7
6
VERBOSE:=0
8
7
8
+ EXTRA_CFLAGS += -I$(PWD)/include
9
+ ccflags-y += -I$(PWD)/include
10
+
9
11
rtmouse.ko: rtmouse.c
10
12
make -C $(LINUX_SRC_DIR) M=$(shell pwd) V=$(VERBOSE) modules
11
13
You can’t perform that action at this time.
0 commit comments