Merge pull request #16 from vesrah/main

Fix "No rule to make target 'arch/x86/tools/relocs_32.c'" error on make install
This commit is contained in:
Frederic BOLTZ 2022-01-15 16:52:57 +01:00 committed by GitHub
commit 63062c5003
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
obj-m += nct6687.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules
install: all
sudo cp nct6687.ko /lib/modules/$(shell uname -r)/kernel/drivers/hwmon/
@ -9,4 +9,4 @@ install: all
sudo modprobe nct6687
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) clean