summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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