Makefile: escape grep in DRIVER_VERSION variable

This commit is contained in:
Johan Svensson 2020-10-16 14:03:33 +02:00
parent 280137863b
commit f9efa3a228

View File

@ -2297,7 +2297,7 @@ config_r:
@echo "make config"
/bin/bash script/Configure script/config.in
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:
mkdir -p /usr/src/8812au-$(DRIVER_VERSION)