mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2024-11-25 23:15:00 +00:00
Update Makefile
Support Raspberry Pi2 B
This commit is contained in:
parent
75a3553a24
commit
ccd52ae017
10
Makefile
10
Makefile
@ -83,6 +83,7 @@ CONFIG_PLATFORM_I386_PC = y
|
|||||||
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
|
||||||
|
CONFIG_PLATFORM_ARM_RPI = n
|
||||||
CONFIG_PLATFORM_ARM_S3C2K4 = n
|
CONFIG_PLATFORM_ARM_S3C2K4 = n
|
||||||
CONFIG_PLATFORM_ARM_PXA2XX = n
|
CONFIG_PLATFORM_ARM_PXA2XX = n
|
||||||
CONFIG_PLATFORM_ARM_S3C6K4 = n
|
CONFIG_PLATFORM_ARM_S3C6K4 = n
|
||||||
@ -932,6 +933,15 @@ MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
|||||||
INSTALL_PREFIX :=
|
INSTALL_PREFIX :=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
|
ARCH := arm
|
||||||
|
CROSS_COMPILE :=
|
||||||
|
KVER := $(shell uname -r)
|
||||||
|
KSRC ?= /lib/modules/$(KVER)/build
|
||||||
|
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ACTIONS_ATM702X), y)
|
ifeq ($(CONFIG_PLATFORM_ACTIONS_ATM702X), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ACTIONS_ATM702X
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ACTIONS_ATM702X
|
||||||
#ARCH := arm
|
#ARCH := arm
|
||||||
|
Loading…
Reference in New Issue
Block a user