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:
Larry Finger 2022-01-10 13:01:21 -06:00
parent a1dbe3155c
commit 53ed527078

View file

@ -421,6 +421,7 @@ strip:
$(CROSS_COMPILE)strip 8188eu.ko --strip-unneeded
install:
@mkdir -p $(MODDESTDIR)
install -p -m 644 8188eu.ko $(MODDESTDIR)
/sbin/depmod -a ${KVER}