Merge pull request #925 from LorenzoAncora/v5.6.4.2

Optimize the output of dkms_install
This commit is contained in:
Christian Bremvåg 2022-03-05 02:32:01 +01:00 committed by GitHub
commit 959f3b61e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2298,12 +2298,12 @@ config_r:
DRIVER_VERSION = $(shell grep "\#define DRIVERVERSION" include/rtw_version.h | awk '{print $$3}' | tr -d v\") DRIVER_VERSION = $(shell grep "\#define DRIVERVERSION" include/rtw_version.h | awk '{print $$3}' | tr -d v\")
dkms_install: dkms_install:
mkdir -p /usr/src/8812au-$(DRIVER_VERSION) @mkdir -vp /usr/src/8812au-$(DRIVER_VERSION)
cp -r * /usr/src/8812au-$(DRIVER_VERSION) cp -r * /usr/src/8812au-$(DRIVER_VERSION)
dkms add -m 8812au -v $(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 install -m 8812au -v $(DRIVER_VERSION)
dkms status dkms status -m 8812au
dkms_remove: dkms_remove:
dkms remove 8812au/$(DRIVER_VERSION) --all dkms remove 8812au/$(DRIVER_VERSION) --all