Create the hwmon folder if it does not exist

This commit is contained in:
Yohan Pereira
2017-08-26 18:46:09 +05:30
committed by Guenter Roeck
parent c01952b9ca
commit b9deb7cb41

View File

@@ -32,5 +32,6 @@ modules clean:
install: modules_install
modules_install:
cp $(DRIVER).ko $(KERNEL_MODULES)/kernel/$(MOD_SUBDIR)
mkdir -p $(KERNEL_MODULES)/kernel/$(MOD_SUBDIR)
cp $(DRIVER).ko $(KERNEL_MODULES)/kernel/$(MOD_SUBDIR)/
depmod -a -F $(SYSTEM_MAP) $(TARGET)