mirror of
https://github.com/RinCat/RTL88x2BU-Linux-Driver.git
synced 2024-11-10 01:02:50 +00:00
commit
51644ac506
17
Makefile
17
Makefile
@ -199,6 +199,7 @@ CONFIG_PLATFORM_NV_TK1_UBUNTU = n
|
||||
CONFIG_PLATFORM_RTL8197D = n
|
||||
CONFIG_PLATFORM_AML_S905 = n
|
||||
CONFIG_PLATFORM_ZTE_ZX296716 = n
|
||||
CONFIG_PLATFORM_RISCV_LIPI4A = n
|
||||
########### CUSTOMER ################################
|
||||
CONFIG_CUSTOMER_HUAWEI_GENERAL = n
|
||||
|
||||
@ -1339,7 +1340,7 @@ ifeq ($(CONFIG_PLATFORM_I386_PC), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||
|
||||
SUBARCH := $(shell uname -m | sed -e 's/i.86/i386/;s/armv7l/arm/;s/aarch64/arm64/')
|
||||
SUBARCH := $(shell uname -m | sed -e 's/i.86/i386/;s/armv7l/arm/;s/aarch64/arm64/;s/riscv64/riscv/')
|
||||
ARCH ?= $(SUBARCH)
|
||||
CROSS_COMPILE ?=
|
||||
KVER := $(shell uname -r)
|
||||
@ -2293,6 +2294,20 @@ endif
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_PLATFORM_RISCV_LIPI4A), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||
EXTRA_CFLAGS += -march=rv64ima_zicsr_zifencei
|
||||
ARCH ?= riscv
|
||||
CROSS_COMPILE ?=
|
||||
KVER := $(shell uname -r)
|
||||
KSRC := /lib/modules/$(KVER)/build
|
||||
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
||||
INSTALL_PREFIX :=
|
||||
STAGINGMODDIR := /lib/modules/$(KVER)/kernel/drivers/staging
|
||||
|
||||
endif
|
||||
|
||||
########### CUSTOMER ################################
|
||||
ifeq ($(CONFIG_CUSTOMER_HUAWEI_GENERAL), y)
|
||||
CONFIG_CUSTOMER_HUAWEI = y
|
||||
|
Loading…
Reference in New Issue
Block a user