Skip to content
Permalink
Browse files

Cleaned ifeq for dkms check. Caused issues in RHEL/CentOS.

  • Loading branch information
pkoutoupis committed Jan 12, 2020
1 parent a124b0e commit 302c155fd4387e645aa5c7d961efaac0a82e0d3c
Showing with 3 additions and 3 deletions.
  1. +3 −3 module/Makefile
@@ -48,11 +48,11 @@ uninstall:
depmod -a

clean:
rm -rf *.o *.ko *.symvers *.mod.c .*.cmd Module.markers modules.order *.o.*
rm -rf *.o *.ko *.symvers *.mod.c .*.cmd Module.markers modules.order *.o.* built-in*
rm -rf .tmp_versions .rapiddisk.o.d *.unsigned *.sdtinfo.c .ctf/ .cache.mk

dkms-install:
ifeq (, $(shell which dkms))
ifeq ($(shell which dkms 1>&2 2>/dev/null; echo $$?),1)
$(error "No dkms.")
else
ifeq ($(shell dkms status rapiddisk/$(VERSION) -k $(KVER) | grep '$(KVER)' >/dev/null && echo 0 || echo 1 ),0)
@@ -65,7 +65,7 @@ endif
endif

dkms-uninstall:
ifeq (, $(shell which dkms))
ifeq ($(shell which dkms 1>&2 2>/dev/null; echo $$?),1)
$(error "No dkms.")
else
ifeq ($(shell dkms status rapiddisk/$(VERSION) -k $(KVER) | grep '$(KVER)' >/dev/null && echo 0 || echo 1 ),0)

0 comments on commit 302c155

Please sign in to comment.
You can’t perform that action at this time.