From 9b7d0d15be72fe9986fe94fd2a5ee281836e9195 Mon Sep 17 00:00:00 2001 From: Benjamin Porter Date: Tue, 1 Oct 2019 17:34:47 -0600 Subject: [PATCH] Fix build issue as a result of unique location Fixes #134 --- Makefile | 2 +- functions.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 54ae3a95..4b909c21 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ CC = gcc KVER := $(shell uname -r) KSRC := /lib/modules/$(KVER)/build -MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/rtlwifi +MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/realtek/rtlwifi FIRMWAREDIR := /lib/firmware/ PWD := $(shell pwd) CLR_MODULE_FILES := *.mod.c *.mod *.o .*.cmd *.ko *~ .tmp_versions* modules.order Module.symvers diff --git a/functions.sh b/functions.sh index 718fe9ef..7326200d 100644 --- a/functions.sh +++ b/functions.sh @@ -352,7 +352,7 @@ runningStockRtl8821ae () runningAnyRtl8821ae && ! runningOurRtl8821ae } -readonly rtlwifi_orig="/lib/modules/$(uname -r)/kernel/drivers/net/wireless/rtlwifi" +readonly rtlwifi_orig="/lib/modules/$(uname -r)/kernel/drivers/net/wireless/realtek/rtlwifi" readonly rtlwifi_backup_dir="$HOME/.rtlwifi-backup" readonly rtlwifi_backup_outfile="$rtlwifi_backup_dir/$(uname -r).tar.gz"