mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-24 05:23:40 +00:00
rtl8188eu: Fix Makefile to create directory for module
If a kernel is being used that generates no drivers in the /lib/modules/$(KVER)/kernel/drivers/net/wireless directory, the installation will fail. The fix is to generate that directory if it is not present. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
0572d04e67
commit
9f723a04cb
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -158,6 +158,7 @@ strip:
|
|||
$(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded
|
||||
|
||||
install:
|
||||
@mkdir -p $(MODDESTDIR)
|
||||
install -p -m 644 8188eu.ko $(MODDESTDIR)
|
||||
@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
|
||||
|
|
Loading…
Reference in a new issue