1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-26 07:04:12 +00:00

fix(Makefile): ensure akms postinst hooks compatibility

This commit is contained in:
154pinkchairs 2023-03-05 23:25:05 +01:00
parent d98018d038
commit 9cab18e47b

View File

@ -662,7 +662,7 @@ EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
SUBARCH := $(shell uname -m | sed -e "s/i.86/i386/; s/ppc/powerpc/; s/armv.l/arm/; s/aarch64/arm64/;")
ARCH ?= $(SUBARCH)
CROSS_COMPILE ?=
KVER ?= $(shell uname -r)
KVER ?= $(shell if [[ -n ${NEW_VERSION} && ${FLAVOR} ]]; then echo ${NEW_VERSION}-${FLAVOR}; else uname -r; fi)
KSRC := /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
INSTALL_PREFIX :=