From 0cb491cae8362030658b778e57a35700b0780cf9 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Wed, 14 Jan 2015 19:34:09 -0600 Subject: [PATCH] rtl8188eu: Fix makefile if r8188eu is not part of system Signed-off-by: Larry Finger --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7fa2187..2862b30 100644 --- a/Makefile +++ b/Makefile @@ -150,7 +150,7 @@ strip: install: install -p -m 644 8188eu.ko $(MODDESTDIR) - @modprobe -r r8188eu + @if [ -a /lib/modules/$(KVER)/kernel/drivers/staging/rtl8188eu/r8188eu.ko ] ; then modprobe -r r8188eu; fi; @echo "blacklist r8188eu" > /etc/modprobe.d/50-8188eu.conf cp rtl8188eufw.bin /lib/firmware/. /sbin/depmod -a ${KVER}