mirror of
https://github.com/morrownr/8821cu-20210916.git
synced 2024-11-22 13:34:47 +00:00
CONFIG_PLATFORM_GENERIC
This commit is contained in:
parent
1d6ef930b9
commit
966e3bfc74
24
Makefile
24
Makefile
@ -16,6 +16,7 @@ EXTRA_CFLAGS += -Wno-unused-variable
|
||||
#EXTRA_CFLAGS += -Wno-uninitialized
|
||||
EXTRA_CFLAGS += -Wno-misleading-indentation
|
||||
EXTRA_CFLAGS += -Wno-implicit-fallthrough
|
||||
#EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||
|
||||
# gcc-12
|
||||
EXTRA_CFLAGS += -Wno-address
|
||||
@ -141,7 +142,8 @@ CONFIG_LAYER2_ROAMING = y
|
||||
#bit0: ROAM_ON_EXPIRED, #bit1: ROAM_ON_RESUME, #bit2: ROAM_ACTIVE
|
||||
CONFIG_ROAMING_FLAG = 0x3
|
||||
###################### Platform Related #######################
|
||||
CONFIG_PLATFORM_I386_PC = y
|
||||
CONFIG_PLATFORM_GENERIC = y
|
||||
CONFIG_PLATFORM_I386_PC = n
|
||||
CONFIG_PLATFORM_ANDROID_X86 = n
|
||||
CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
|
||||
CONFIG_PLATFORM_JB_X86 = n
|
||||
@ -1335,6 +1337,26 @@ EXTRA_CFLAGS += -DCONFIG_RTW_MBO -DCONFIG_RTW_80211K -DCONFIG_RTW_WNM -DCONFIG_R
|
||||
EXTRA_CFLAGS += -DCONFIG_RTW_80211R
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_PLATFORM_GENERIC), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||
|
||||
SUBARCH := $(shell uname -m)
|
||||
ARCH ?= $(SUBARCH)
|
||||
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
|
||||
|
||||
# Platform Specific Flags may be Needed in some Situations
|
||||
#EXTRA_CFLAGS += -DCONFIG_PLATFORM_ANDROID
|
||||
#EXTRA_CFLAGS += -DCONFIG_PLATFORM_ROCKCHIPS
|
||||
# End of Platform Specific Flags
|
||||
endif
|
||||
|
||||
|
||||
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||
|
Loading…
Reference in New Issue
Block a user