Merge c and rust modules
This commit is contained in:
parent
8e0721c2fb
commit
311e9be037
21 changed files with 4 additions and 11 deletions
|
@ -1,4 +1,7 @@
|
|||
obj-m += test_module.o
|
||||
MODULE_NAME = basic_module
|
||||
|
||||
obj-m += $(MODULE_NAME)_in_c.o
|
||||
obj-m += $(MODULE_NAME)_in_rust.o
|
||||
|
||||
all:
|
||||
make -C $(LINUX_MODULES_FOLDER)/build M=$(PWD) modules
|
|
@ -1,10 +0,0 @@
|
|||
obj-m += test_module.o
|
||||
|
||||
all:
|
||||
make -C $(LINUX_MODULES_FOLDER)/build M=$(PWD) modules
|
||||
|
||||
clean:
|
||||
make -C $(LINUX_MODULES_FOLDER)/build M=$(PWD) clean
|
||||
|
||||
rust-analyzer:
|
||||
make -C $(LINUX_MODULES_FOLDER)/build M=$(PWD) rust-analyzer
|
Loading…
Add table
Reference in a new issue