From 2b8c666eacf162658799daad7875b8766de35081 Mon Sep 17 00:00:00 2001 From: Lorenzo Ancora <34890309+LorenzoAncora@users.noreply.github.com> Date: Mon, 13 Dec 2021 14:40:12 +0100 Subject: [PATCH 1/2] Fix make parallel jobserver warning --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 137fbbd..5cf7710 100755 --- a/Makefile +++ b/Makefile @@ -2301,7 +2301,7 @@ dkms_install: mkdir -p /usr/src/8812au-$(DRIVER_VERSION) cp -r * /usr/src/8812au-$(DRIVER_VERSION) dkms add -m 8812au -v $(DRIVER_VERSION) - dkms build -m 8812au -v $(DRIVER_VERSION) + + dkms build -m 8812au -v $(DRIVER_VERSION) dkms install -m 8812au -v $(DRIVER_VERSION) dkms status From 98d14772faf6465825dad77d4b9728bd7117c245 Mon Sep 17 00:00:00 2001 From: Lorenzo Ancora <34890309+LorenzoAncora@users.noreply.github.com> Date: Mon, 13 Dec 2021 14:45:51 +0100 Subject: [PATCH 2/2] Limit the output of "dkms status" and "mkdir" --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5cf7710..9b6927b 100755 --- a/Makefile +++ b/Makefile @@ -2298,12 +2298,12 @@ config_r: DRIVER_VERSION = $(shell grep "\#define DRIVERVERSION" include/rtw_version.h | awk '{print $$3}' | tr -d v\") dkms_install: - mkdir -p /usr/src/8812au-$(DRIVER_VERSION) + @mkdir -vp /usr/src/8812au-$(DRIVER_VERSION) cp -r * /usr/src/8812au-$(DRIVER_VERSION) dkms add -m 8812au -v $(DRIVER_VERSION) + dkms build -m 8812au -v $(DRIVER_VERSION) dkms install -m 8812au -v $(DRIVER_VERSION) - dkms status + dkms status -m 8812au dkms_remove: dkms remove 8812au/$(DRIVER_VERSION) --all