mirror of
https://github.com/gnab/rtl8812au
synced 2025-01-09 10:01:35 +00:00
Merge pull request #116 from xdraylin/master
Use $kernelver variable from dkms.
This commit is contained in:
commit
aa06e78b14
24
Makefile
24
Makefile
@ -652,7 +652,7 @@ EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
||||
ARCH ?= $(SUBARCH)
|
||||
CROSS_COMPILE ?=
|
||||
KVER := $(shell uname -r)
|
||||
KVER ?= $(shell uname -r)
|
||||
KSRC := /lib/modules/$(KVER)/build
|
||||
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
||||
INSTALL_PREFIX :=
|
||||
@ -664,7 +664,7 @@ EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFO
|
||||
ARCH := $(R_ARCH)
|
||||
#CROSS_COMPILE := arm-none-linux-gnueabi-
|
||||
CROSS_COMPILE := $(R_CROSS_COMPILE)
|
||||
KVER:= 3.4.0
|
||||
KVER := 3.4.0
|
||||
#KSRC := ../../../../build/out/kernel
|
||||
KSRC := $(KERNEL_BUILD_PATH)
|
||||
MODULE_NAME :=wlan
|
||||
@ -681,8 +681,8 @@ ifeq ($(CONFIG_PLATFORM_MSTAR_TITANIA12), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MSTAR_TITANIA12
|
||||
ARCH:=mips
|
||||
CROSS_COMPILE:= /usr/src/Mstar_kernel/mips-4.3/bin/mips-linux-gnu-
|
||||
KVER:= 2.6.28.9
|
||||
KSRC:= /usr/src/Mstar_kernel/2.6.28.9/
|
||||
KVER := 2.6.28.9
|
||||
KSRC := /usr/src/Mstar_kernel/2.6.28.9/
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_PLATFORM_ANDROID_X86), y)
|
||||
@ -734,7 +734,7 @@ ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||
ARCH := arm
|
||||
CROSS_COMPILE :=
|
||||
KVER := $(shell uname -r)
|
||||
KVER ?= $(shell uname -r)
|
||||
KSRC ?= /lib/modules/$(KVER)/build
|
||||
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
|
||||
endif
|
||||
@ -743,7 +743,7 @@ ifeq ($(CONFIG_PLATFORM_RTD2880B), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN -DCONFIG_PLATFORM_RTD2880B
|
||||
ARCH:=
|
||||
CROSS_COMPILE:=
|
||||
KVER:=
|
||||
KVER ?=
|
||||
KSRC:=
|
||||
endif
|
||||
|
||||
@ -751,7 +751,7 @@ ifeq ($(CONFIG_PLATFORM_MIPS_RMI), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||
ARCH:=mips
|
||||
CROSS_COMPILE:=mipsisa32r2-uclibc-
|
||||
KVER:=
|
||||
KVER ?=
|
||||
KSRC:= /root/work/kernel_realtek
|
||||
endif
|
||||
|
||||
@ -759,7 +759,7 @@ ifeq ($(CONFIG_PLATFORM_MIPS_PLM), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
|
||||
ARCH:=mips
|
||||
CROSS_COMPILE:=mipsisa32r2-uclibc-
|
||||
KVER:=
|
||||
KVER ?=
|
||||
KSRC:= /root/work/kernel_realtek
|
||||
endif
|
||||
|
||||
@ -767,7 +767,7 @@ ifeq ($(CONFIG_PLATFORM_MSTAR389), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MSTAR389
|
||||
ARCH:=mips
|
||||
CROSS_COMPILE:= mips-linux-gnu-
|
||||
KVER:= 2.6.28.10
|
||||
KVER := 2.6.28.10
|
||||
KSRC:= /home/mstar/mstar_linux/2.6.28.9/
|
||||
endif
|
||||
|
||||
@ -790,7 +790,7 @@ ifeq ($(CONFIG_PLATFORM_RTK_DMP), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DRTK_DMP_PLATFORM
|
||||
ARCH:=mips
|
||||
CROSS_COMPILE:=mipsel-linux-
|
||||
KVER:=
|
||||
KVER ?=
|
||||
KSRC ?= /usr/src/DMP_Kernel/jupiter/linux-2.6.12
|
||||
endif
|
||||
|
||||
@ -798,7 +798,7 @@ ifeq ($(CONFIG_PLATFORM_MT53XX), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MT53XX
|
||||
ARCH:= arm
|
||||
CROSS_COMPILE:= arm11_mtk_le-
|
||||
KVER:= 2.6.27
|
||||
KVER := 2.6.27
|
||||
KSRC?= /proj/mtk00802/BD_Compare/BDP/Dev/BDP_V301/BDP_Linux/linux-2.6.27
|
||||
endif
|
||||
|
||||
@ -926,7 +926,7 @@ ifeq ($(CONFIG_PLATFORM_SZEBOOK), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
|
||||
ARCH:=arm
|
||||
CROSS_COMPILE:=/opt/crosstool2/bin/armeb-unknown-linux-gnueabi-
|
||||
KVER:= 2.6.31.6
|
||||
KVER := 2.6.31.6
|
||||
KSRC:= ../code/linux-2.6.31.6-2020/
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user