Minor changes

This commit is contained in:
Loic Guegan 2023-08-12 15:27:40 +02:00
parent 63656e1bd8
commit 87edbc6e4f
3 changed files with 83 additions and 2 deletions

View file

@ -2,9 +2,14 @@
#LML="/usr/src/linux-headers-$(shell uname -r)/"
LML="/lib/modules/$(shell uname -r)/build/" # Change if required on your system
obj-m += ina260.o
obj-m += inahwmon.o
all: ina260.c
all: hwmon
ina260: ina260.c
make -C $(LML) M=$(PWD) modules
hwmon: inahwmon.c
make -C $(LML) M=$(PWD) modules
run: ina260.c