Merge c and rust modules

This commit is contained in:
Florian RICHER 2025-03-01 18:01:07 +01:00
parent 8e0721c2fb
commit 311e9be037
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
21 changed files with 4 additions and 11 deletions

View file

@ -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

View file

@ -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