summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLoic Guegan <loic.guegan@mailbox.org>2023-08-24 12:59:13 +0200
committerLoic Guegan <loic.guegan@mailbox.org>2023-08-24 12:59:13 +0200
commit93fdebd96d33ef759294800efe99908b3146dbbc (patch)
tree3b2920926ba18e5a0e36ca2d2d3192ef41ebc7e1 /Makefile
parentcdcc342c2eb7fbc57f398f3cbbe22f64eb096f11 (diff)
Update
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7a233e4..9c9b60a 100755
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,13 @@
# Linux Makefile Location:
#LML="/usr/src/linux-headers-$(shell uname -r)/"
LML="/lib/modules/$(shell uname -r)/build/" # Change if required on your system
-obj-m += ina260_hwmon.o ina260.o
+obj-m += ina2xx.o ina260.o
TEST_BUS=i2c-2
TEST_DEV_ADDR=0x41
TEST_DRV=ina260_hwmon
-all: ina260_hwmon.c ina260.c
+all: ina2xx.c ina260.c
make -C $(LML) M=$(PWD) modules
run: $(TEST_DRV).ko