Merge pull request #1050 from 154pinkchairs/akms-hooks-compat

Ensure akms postinst hooks compatibility
This commit is contained in:
Christian Bremvåg 2023-03-14 00:51:00 +01:00 committed by GitHub
commit 20f240fc80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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/;") SUBARCH := $(shell uname -m | sed -e "s/i.86/i386/; s/ppc/powerpc/; s/armv.l/arm/; s/aarch64/arm64/;")
ARCH ?= $(SUBARCH) ARCH ?= $(SUBARCH)
CROSS_COMPILE ?= 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 KSRC := /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/ MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
INSTALL_PREFIX := INSTALL_PREFIX :=