Skip to content

Commit 6e53c59

Browse files
committed
renamed rtmouse.c to rtmouse_main.c
1 parent 43532e9 commit 6e53c59

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/drivers/Makefile.header_from_apt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
MODULE:= rtmouse
22
obj-m:= $(MODULE).o
3+
$(MODULE)-y:= $(MODULE)_main.o
34
clean-files:= *.o *.ko *.mod.[co] *~
45

56
LINUX_SRC_DIR:=/usr/src/linux-headers-$(shell uname -r)
67
VERBOSE:=0
78

8-
rtmouse.ko: rtmouse.c rtmouse.h
9+
$(MODULE).ko: $(MODULE)_main.c $(MODULE).h
910
make -C $(LINUX_SRC_DIR) M=$(shell pwd) V=$(VERBOSE) modules
1011

1112
clean:
1213
make -C $(LINUX_SRC_DIR) M=$(shell pwd) V=$(VERBOSE) clean
1314

14-
install: rtmouse.ko
15+
install: $(MODULE).ko
1516
cp ../../50-rtmouse.rules /etc/udev/rules.d/
1617

1718
uninstall:

src/drivers/Makefile.header_from_source

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
MODULE:= rtmouse
22
obj-m:= $(MODULE).o
3+
$(MODULE)-y:= $(MODULE)_main.o
34
clean-files:= *.o *.ko *.mod.[co] *~
45

56
LINUX_SRC_DIR:=/usr/src/linux
67
VERBOSE:=0
78

8-
rtmouse.ko: rtmouse.c rtmouse.h
9+
$(MODULE).ko: $(MODULE)_main.c $(MODULE).h
910
make -C $(LINUX_SRC_DIR) M=$(shell pwd) V=$(VERBOSE) modules
1011

1112
clean:
File renamed without changes.

0 commit comments

Comments
 (0)