mirror of
https://gitlab.com/manzerbredes/ina260-sysfs-driver.git
synced 2025-06-05 22:27:40 +00:00
Minor changes
This commit is contained in:
parent
63656e1bd8
commit
87edbc6e4f
3 changed files with 83 additions and 2 deletions
9
Makefile
9
Makefile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue