aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2021-05-20 09:36:18 -0500
committerGitHub2021-05-20 09:36:18 -0500
commit25a3bb8ff1079f26111a20598a1328cc2a5f9d6d (patch)
tree9aaeda72f019e664f36066f1aca60e0afac52211
parent1acdb478894d58bc165a72f917204a5bf4442357 (diff)
parent2d0e5fad2d011a63441cbc7aba389bdaa898df4a (diff)
Merge pull request #1 from feiyeung/master
minor improvements to the Makefile target "dkms-install"
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f864ab5..169b889 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,8 @@ clean:
@$(MAKE) -C $(KERNEL_BUILD) M=$(CURDIR) clean
dkms-install:
- mkdir $(DKMS_ROOT_PATH)
+ dkms --version >> /dev/null
+ mkdir -p $(DKMS_ROOT_PATH)
cp $(CURDIR)/dkms.conf $(DKMS_ROOT_PATH)
cp $(CURDIR)/Makefile $(DKMS_ROOT_PATH)
cp $(CURDIR)/zenpower.c $(DKMS_ROOT_PATH)