From 53ed527078df034a1cfab58962989b5ad62d3e57 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Mon, 10 Jan 2022 13:01:21 -0600 Subject: [PATCH] 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 --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 9345582..07b7ce9 100755 --- a/Makefile +++ b/Makefile @@ -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}