consolidate all repos to one for archive

This commit is contained in:
2025-01-28 13:46:42 +01:00
commit a6610fbc7a
5350 changed files with 2705721 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
obj-m += xpo_modul.o
all: build
build:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
load:
sudo insmod xpo_modul.ko
unload:
sudo rmmod xpo_modul
list:
sudo lsmod | grep xpo
msg:
sudo dmesg | grep xpo
start:
sudo watch -n 0.2 "cat /dev/xpo_modul"
restart: msg unload build load
zip:
zip naloga.zip Makefile xpo_modul.c xpo_modul.h