check for dkms availability first in the dkms-install target
This commit is contained in:
parent
caf80fef03
commit
2d0e5fad2d
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -30,6 +30,7 @@ clean:
|
|||
@$(MAKE) -C $(KERNEL_BUILD) M=$(CURDIR) clean
|
||||
|
||||
dkms-install:
|
||||
dkms --version >> /dev/null
|
||||
mkdir -p $(DKMS_ROOT_PATH)
|
||||
cp $(CURDIR)/dkms.conf $(DKMS_ROOT_PATH)
|
||||
cp $(CURDIR)/Makefile $(DKMS_ROOT_PATH)
|
||||
|
|
Loading…
Reference in a new issue