aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeiyang Xue2020-07-31 18:33:59 -0500
committerFeiyang Xue2020-07-31 18:33:59 -0500
commitcaf80fef035e2061f336b97be7a1f87b035006b0 (patch)
tree7eba6f61cf1522a7e8df1291105193fb50057c15
parent5e2f56fabeba0c909edb90221eeace4a3d726dbb (diff)
add "-p" arg to "mkdir" for "dkms-install"
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f864ab5..822e39c 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ clean:
@$(MAKE) -C $(KERNEL_BUILD) M=$(CURDIR) clean
dkms-install:
- mkdir $(DKMS_ROOT_PATH)
+ 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)