Added support for Raspberry Pi
This commit is contained in:
parent
c17cb26ca2
commit
be0c6db082
26
Makefile
26
Makefile
|
@ -141,6 +141,8 @@ CONFIG_LAYER2_ROAMING = y
|
||||||
CONFIG_ROAMING_FLAG = 0x3
|
CONFIG_ROAMING_FLAG = 0x3
|
||||||
###################### Platform Related #######################
|
###################### Platform Related #######################
|
||||||
CONFIG_PLATFORM_I386_PC = y
|
CONFIG_PLATFORM_I386_PC = y
|
||||||
|
CONFIG_PLATFORM_RPI_ARM = n
|
||||||
|
CONFIG_PLATFORM_RPI_ARM64 = n
|
||||||
CONFIG_PLATFORM_ANDROID_X86 = n
|
CONFIG_PLATFORM_ANDROID_X86 = n
|
||||||
CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
|
CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
|
||||||
CONFIG_PLATFORM_JB_X86 = n
|
CONFIG_PLATFORM_JB_X86 = n
|
||||||
|
@ -1356,6 +1358,30 @@ INSTALL_PREFIX :=
|
||||||
STAGINGMODDIR := /lib/modules/$(KVER)/kernel/drivers/staging
|
STAGINGMODDIR := /lib/modules/$(KVER)/kernel/drivers/staging
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PLATFORM_RPI_ARM), y)
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
|
|
||||||
|
ARCH ?= arm
|
||||||
|
CROSS_COMPILE ?=
|
||||||
|
KVER ?= $(shell uname -r)
|
||||||
|
KSRC := /lib/modules/$(KVER)/build
|
||||||
|
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
||||||
|
INSTALL_PREFIX :=
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PLATFORM_RPI_ARM64), y)
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
|
|
||||||
|
ARCH ?= arm64
|
||||||
|
CROSS_COMPILE ?=
|
||||||
|
KVER ?= $(shell uname -r)
|
||||||
|
KSRC := /lib/modules/$(KVER)/build
|
||||||
|
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
||||||
|
INSTALL_PREFIX :=
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_NV_TK1), y)
|
ifeq ($(CONFIG_PLATFORM_NV_TK1), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_NV_TK1
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_NV_TK1
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
|
|
Loading…
Reference in New Issue