mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-28 15:13:39 +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
b9cb76ce66
commit
ca2465c497
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -163,6 +163,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