mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-29 23:43:40 +00:00
rtl8188eu: Convert to use __LITTLE_ENDIAN symbol from kernel
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
11c5d28b89
commit
94afbb0df3
8 changed files with 45 additions and 116 deletions
77
Makefile
77
Makefile
|
@ -1065,7 +1065,6 @@ endif
|
||||||
EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04
|
EXTRA_CFLAGS += -DDM_ODM_SUPPORT_TYPE=0x04
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
|
ifeq ($(CONFIG_PLATFORM_I386_PC), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
||||||
ARCH ?= $(SUBARCH)
|
ARCH ?= $(SUBARCH)
|
||||||
|
@ -1077,7 +1076,6 @@ INSTALL_PREFIX :=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_BCM2709), y)
|
ifeq ($(CONFIG_PLATFORM_BCM2709), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
ARCH ?= arm
|
ARCH ?= arm
|
||||||
CROSS_COMPILE ?=
|
CROSS_COMPILE ?=
|
||||||
|
@ -1088,7 +1086,6 @@ INSTALL_PREFIX :=
|
||||||
endif
|
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_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
ARCH ?= arm
|
ARCH ?= arm
|
||||||
|
@ -1100,7 +1097,7 @@ INSTALL_PREFIX :=
|
||||||
endif
|
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_PLATFORM_ANDROID -DCONFIG_PLATFORM_ACTIONS_ATM702X
|
||||||
#ARCH := arm
|
#ARCH := arm
|
||||||
ARCH := $(R_ARCH)
|
ARCH := $(R_ARCH)
|
||||||
#CROSS_COMPILE := arm-none-linux-gnueabi-
|
#CROSS_COMPILE := arm-none-linux-gnueabi-
|
||||||
|
@ -1113,7 +1110,6 @@ endif
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ACTIONS_ATM705X), y)
|
ifeq ($(CONFIG_PLATFORM_ACTIONS_ATM705X), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
#EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
|
#EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
|
||||||
# default setting for Android 4.1, 4.2, 4.3, 4.4
|
# default setting for Android 4.1, 4.2, 4.3, 4.4
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ACTIONS_ATM705X
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ACTIONS_ATM705X
|
||||||
|
@ -1134,7 +1130,6 @@ KSRC := /home/android_sdk/Action-semi/705a_android_L/android/kernel
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_SUN50IW1P1), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_SUN50IW1P1), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN50IW1P1
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN50IW1P1
|
||||||
EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
|
EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
|
||||||
# default setting for Android 4.1, 4.2
|
# default setting for Android 4.1, 4.2
|
||||||
|
@ -1161,14 +1156,14 @@ KSRC :=/home/android_sdk/Allwinner/a64/android-51/lichee/linux-3.10/
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_TI_AM3517), y)
|
ifeq ($(CONFIG_PLATFORM_TI_AM3517), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_SHUTTLE
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_SHUTTLE
|
||||||
CROSS_COMPILE := arm-eabi-
|
CROSS_COMPILE := arm-eabi-
|
||||||
KSRC := $(shell pwd)/../../../Android/kernel
|
KSRC := $(shell pwd)/../../../Android/kernel
|
||||||
ARCH := arm
|
ARCH := arm
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_MSTAR_TITANIA12), y)
|
ifeq ($(CONFIG_PLATFORM_MSTAR_TITANIA12), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MSTAR -DCONFIG_PLATFORM_MSTAR_TITANIA12
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_MSTAR -DCONFIG_PLATFORM_MSTAR_TITANIA12
|
||||||
ARCH:=mips
|
ARCH:=mips
|
||||||
CROSS_COMPILE:= /usr/src/Mstar_kernel/mips-4.3/bin/mips-linux-gnu-
|
CROSS_COMPILE:= /usr/src/Mstar_kernel/mips-4.3/bin/mips-linux-gnu-
|
||||||
KVER:= 2.6.28.9
|
KVER:= 2.6.28.9
|
||||||
|
@ -1178,7 +1173,7 @@ endif
|
||||||
ifeq ($(CONFIG_PLATFORM_MSTAR), y)
|
ifeq ($(CONFIG_PLATFORM_MSTAR), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MSTAR -DCONFIG_USE_USB_BUFFER_ALLOC_TX -DCONFIG_FIX_NR_BULKIN_BUFFER
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_MSTAR -DCONFIG_USE_USB_BUFFER_ALLOC_TX -DCONFIG_FIX_NR_BULKIN_BUFFER
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_MSTAR_HIGH
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_MSTAR_HIGH
|
||||||
ARCH:=arm
|
ARCH:=arm
|
||||||
CROSS_COMPILE:= /usr/src/bin/arm-none-linux-gnueabi-
|
CROSS_COMPILE:= /usr/src/bin/arm-none-linux-gnueabi-
|
||||||
|
@ -1187,7 +1182,6 @@ KSRC:= /usr/src/Mstar_kernel/3.1.10/
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ANDROID_X86), y)
|
ifeq ($(CONFIG_PLATFORM_ANDROID_X86), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
||||||
ARCH := $(SUBARCH)
|
ARCH := $(SUBARCH)
|
||||||
CROSS_COMPILE := /media/DATA-2/android-x86/ics-x86_20120130/prebuilt/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/bin/i686-unknown-linux-gnu-
|
CROSS_COMPILE := /media/DATA-2/android-x86/ics-x86_20120130/prebuilt/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/bin/i686-unknown-linux-gnu-
|
||||||
|
@ -1196,7 +1190,6 @@ MODULE_NAME :=wlan
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ANDROID_X86_N70), y)
|
ifeq ($(CONFIG_PLATFORM_ANDROID_X86_N70), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
EXTRA_CFLAGS += -DCONFIG_RADIO_WORK
|
EXTRA_CFLAGS += -DCONFIG_RADIO_WORK
|
||||||
|
@ -1213,7 +1206,7 @@ endif
|
||||||
ifeq ($(CONFIG_PLATFORM_ANDROID_INTEL_X86), y)
|
ifeq ($(CONFIG_PLATFORM_ANDROID_INTEL_X86), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ANDROID_INTEL_X86
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ANDROID_INTEL_X86
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_INTEL_BYT
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_INTEL_BYT
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ANDROID
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
EXTRA_CFLAGS += -DCONFIG_SKIP_SIGNAL_SCALE_MAPPING
|
EXTRA_CFLAGS += -DCONFIG_SKIP_SIGNAL_SCALE_MAPPING
|
||||||
|
@ -1223,7 +1216,6 @@ endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_JB_X86), y)
|
ifeq ($(CONFIG_PLATFORM_JB_X86), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
||||||
|
@ -1234,7 +1226,6 @@ MODULE_NAME :=wlan
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_PXA2XX), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_PXA2XX), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
ARCH := arm
|
ARCH := arm
|
||||||
CROSS_COMPILE := arm-none-linux-gnueabi-
|
CROSS_COMPILE := arm-none-linux-gnueabi-
|
||||||
KVER := 2.6.34.1
|
KVER := 2.6.34.1
|
||||||
|
@ -1242,7 +1233,6 @@ KSRC ?= /usr/src/linux-2.6.34.1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_S3C2K4), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_S3C2K4), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
ARCH := arm
|
ARCH := arm
|
||||||
CROSS_COMPILE := arm-linux-
|
CROSS_COMPILE := arm-linux-
|
||||||
KVER := 2.6.24.7_$(ARCH)
|
KVER := 2.6.24.7_$(ARCH)
|
||||||
|
@ -1250,7 +1240,6 @@ KSRC := /usr/src/kernels/linux-$(KVER)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_S3C6K4), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_S3C6K4), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
ARCH := arm
|
ARCH := arm
|
||||||
CROSS_COMPILE := arm-none-linux-gnueabi-
|
CROSS_COMPILE := arm-none-linux-gnueabi-
|
||||||
KVER := 2.6.34.1
|
KVER := 2.6.34.1
|
||||||
|
@ -1258,7 +1247,7 @@ KSRC ?= /usr/src/linux-2.6.34.1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_RTD2880B), y)
|
ifeq ($(CONFIG_PLATFORM_RTD2880B), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN -DCONFIG_PLATFORM_RTD2880B
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_RTD2880B
|
||||||
ARCH:=
|
ARCH:=
|
||||||
CROSS_COMPILE:=
|
CROSS_COMPILE:=
|
||||||
KVER:=
|
KVER:=
|
||||||
|
@ -1266,7 +1255,6 @@ KSRC:=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_MIPS_RMI), y)
|
ifeq ($(CONFIG_PLATFORM_MIPS_RMI), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
ARCH:=mips
|
ARCH:=mips
|
||||||
CROSS_COMPILE:=mipsisa32r2-uclibc-
|
CROSS_COMPILE:=mipsisa32r2-uclibc-
|
||||||
KVER:=
|
KVER:=
|
||||||
|
@ -1274,7 +1262,6 @@ KSRC:= /root/work/kernel_realtek
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_MIPS_PLM), y)
|
ifeq ($(CONFIG_PLATFORM_MIPS_PLM), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
|
|
||||||
ARCH:=mips
|
ARCH:=mips
|
||||||
CROSS_COMPILE:=mipsisa32r2-uclibc-
|
CROSS_COMPILE:=mipsisa32r2-uclibc-
|
||||||
KVER:=
|
KVER:=
|
||||||
|
@ -1282,7 +1269,7 @@ KSRC:= /root/work/kernel_realtek
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_MSTAR389), y)
|
ifeq ($(CONFIG_PLATFORM_MSTAR389), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MSTAR389
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_MSTAR389
|
||||||
ARCH:=mips
|
ARCH:=mips
|
||||||
CROSS_COMPILE:= mips-linux-gnu-
|
CROSS_COMPILE:= mips-linux-gnu-
|
||||||
KVER:= 2.6.28.10
|
KVER:= 2.6.28.10
|
||||||
|
@ -1290,14 +1277,13 @@ KSRC:= /home/mstar/mstar_linux/2.6.28.9/
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_MIPS_AR9132), y)
|
ifeq ($(CONFIG_PLATFORM_MIPS_AR9132), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
|
|
||||||
ARCH := mips
|
ARCH := mips
|
||||||
CROSS_COMPILE := mips-openwrt-linux-
|
CROSS_COMPILE := mips-openwrt-linux-
|
||||||
KSRC := /home/alex/test_openwrt/tmp/linux-2.6.30.9
|
KSRC := /home/alex/test_openwrt/tmp/linux-2.6.30.9
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_DMP_PHILIPS), y)
|
ifeq ($(CONFIG_PLATFORM_DMP_PHILIPS), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DRTK_DMP_PLATFORM
|
EXTRA_CFLAGS += -DRTK_DMP_PLATFORM
|
||||||
ARCH := mips
|
ARCH := mips
|
||||||
#CROSS_COMPILE:=/usr/local/msdk-4.3.6-mips-EL-2.6.12.6-0.9.30.3/bin/mipsel-linux-
|
#CROSS_COMPILE:=/usr/local/msdk-4.3.6-mips-EL-2.6.12.6-0.9.30.3/bin/mipsel-linux-
|
||||||
CROSS_COMPILE:=/usr/local/toolchain_mipsel/bin/mipsel-linux-
|
CROSS_COMPILE:=/usr/local/toolchain_mipsel/bin/mipsel-linux-
|
||||||
|
@ -1305,7 +1291,7 @@ KSRC ?=/usr/local/Jupiter/linux-2.6.12
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_RTK_DMP), y)
|
ifeq ($(CONFIG_PLATFORM_RTK_DMP), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DRTK_DMP_PLATFORM -DCONFIG_WIRELESS_EXT
|
EXTRA_CFLAGS += -DRTK_DMP_PLATFORM -DCONFIG_WIRELESS_EXT
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
|
||||||
ifeq ($(CONFIG_USB_HCI), y)
|
ifeq ($(CONFIG_USB_HCI), y)
|
||||||
_PLATFORM_FILES += platform/platform_RTK_DMP_usb.o
|
_PLATFORM_FILES += platform/platform_RTK_DMP_usb.o
|
||||||
|
@ -1317,7 +1303,7 @@ KSRC ?= /usr/src/DMP_Kernel/jupiter/linux-2.6.12
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_MT53XX), y)
|
ifeq ($(CONFIG_PLATFORM_MT53XX), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MT53XX
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_MT53XX
|
||||||
ARCH:= arm
|
ARCH:= arm
|
||||||
CROSS_COMPILE:= arm11_mtk_le-
|
CROSS_COMPILE:= arm11_mtk_le-
|
||||||
KVER:= 2.6.27
|
KVER:= 2.6.27
|
||||||
|
@ -1325,7 +1311,7 @@ KSRC?= /proj/mtk00802/BD_Compare/BDP/Dev/BDP_V301/BDP_Linux/linux-2.6.27
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_MX51_241H), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_MX51_241H), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_WISTRON_PLATFORM
|
EXTRA_CFLAGS += -DCONFIG_WISTRON_PLATFORM
|
||||||
ARCH := arm
|
ARCH := arm
|
||||||
CROSS_COMPILE := /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-
|
CROSS_COMPILE := /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-
|
||||||
KVER := 2.6.31
|
KVER := 2.6.31
|
||||||
|
@ -1333,7 +1319,6 @@ KSRC ?= /lib/modules/2.6.31-770-g0e46b52/source
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_FS_MX61), y)
|
ifeq ($(CONFIG_PLATFORM_FS_MX61), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
ARCH := arm
|
ARCH := arm
|
||||||
CROSS_COMPILE := /home/share/CusEnv/FreeScale/arm-eabi-4.4.3/bin/arm-eabi-
|
CROSS_COMPILE := /home/share/CusEnv/FreeScale/arm-eabi-4.4.3/bin/arm-eabi-
|
||||||
KSRC ?= /home/share/CusEnv/FreeScale/FS_kernel_env
|
KSRC ?= /home/share/CusEnv/FreeScale/FS_kernel_env
|
||||||
|
@ -1342,7 +1327,7 @@ endif
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ACTIONS_ATJ227X), y)
|
ifeq ($(CONFIG_PLATFORM_ACTIONS_ATJ227X), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ACTIONS_ATJ227X
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ACTIONS_ATJ227X
|
||||||
ARCH := mips
|
ARCH := mips
|
||||||
CROSS_COMPILE := /home/cnsd4/project/actions/tools-2.6.27/bin/mipsel-linux-gnu-
|
CROSS_COMPILE := /home/cnsd4/project/actions/tools-2.6.27/bin/mipsel-linux-gnu-
|
||||||
KVER := 2.6.27
|
KVER := 2.6.27
|
||||||
|
@ -1350,7 +1335,7 @@ KSRC := /home/cnsd4/project/actions/linux-2.6.27.28
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_TI_DM365), y)
|
ifeq ($(CONFIG_PLATFORM_TI_DM365), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_TI_DM365
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_TI_DM365
|
||||||
EXTRA_CFLAGS += -DCONFIG_USE_USB_BUFFER_ALLOC_RX
|
EXTRA_CFLAGS += -DCONFIG_USE_USB_BUFFER_ALLOC_RX
|
||||||
EXTRA_CFLAGS += -DCONFIG_SINGLE_XMIT_BUF -DCONFIG_SINGLE_RECV_BUF
|
EXTRA_CFLAGS += -DCONFIG_SINGLE_XMIT_BUF -DCONFIG_SINGLE_RECV_BUF
|
||||||
ARCH := arm
|
ARCH := arm
|
||||||
|
@ -1363,7 +1348,7 @@ KVER := 2.6.18
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_MOZART), y)
|
ifeq ($(CONFIG_PLATFORM_MOZART), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MOZART
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_MOZART
|
||||||
ARCH := arm
|
ARCH := arm
|
||||||
CROSS_COMPILE := /home/vivotek/lsp/mozart3v2/Mozart3e_Toolchain/build_arm_nofpu/usr/bin/arm-linux-
|
CROSS_COMPILE := /home/vivotek/lsp/mozart3v2/Mozart3e_Toolchain/build_arm_nofpu/usr/bin/arm-linux-
|
||||||
KVER := $(shell uname -r)
|
KVER := $(shell uname -r)
|
||||||
|
@ -1372,7 +1357,6 @@ KERNELOUTPUT := /home/pink/sample/ODM/IP8136W-VINT/tmp/kernel
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_TEGRA3_CARDHU), y)
|
ifeq ($(CONFIG_PLATFORM_TEGRA3_CARDHU), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
# default setting for Android 4.1, 4.2
|
# default setting for Android 4.1, 4.2
|
||||||
EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
|
EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
|
@ -1384,7 +1368,6 @@ MODULE_NAME := wlan
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_TEGRA4_DALMORE), y)
|
ifeq ($(CONFIG_PLATFORM_TEGRA4_DALMORE), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
# default setting for Android 4.1, 4.2
|
# default setting for Android 4.1, 4.2
|
||||||
EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
|
EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
|
@ -1396,7 +1379,6 @@ MODULE_NAME := wlan
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_TCC8900), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_TCC8900), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
ARCH := arm
|
ARCH := arm
|
||||||
CROSS_COMPILE := /home/android_sdk/Telechips/SDK_2304_20110613/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
|
CROSS_COMPILE := /home/android_sdk/Telechips/SDK_2304_20110613/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
|
||||||
KSRC := /home/android_sdk/Telechips/SDK_2304_20110613/kernel
|
KSRC := /home/android_sdk/Telechips/SDK_2304_20110613/kernel
|
||||||
|
@ -1404,7 +1386,6 @@ MODULE_NAME := wlan
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_TCC8920), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_TCC8920), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
ARCH := arm
|
ARCH := arm
|
||||||
CROSS_COMPILE := /home/android_sdk/Telechips/v12.06_r1-tcc-android-4.0.4/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
|
CROSS_COMPILE := /home/android_sdk/Telechips/v12.06_r1-tcc-android-4.0.4/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
|
||||||
KSRC := /home/android_sdk/Telechips/v12.06_r1-tcc-android-4.0.4/kernel
|
KSRC := /home/android_sdk/Telechips/v12.06_r1-tcc-android-4.0.4/kernel
|
||||||
|
@ -1412,7 +1393,6 @@ MODULE_NAME := wlan
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_TCC8920_JB42), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_TCC8920_JB42), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
# default setting for Android 4.1, 4.2
|
# default setting for Android 4.1, 4.2
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
|
@ -1423,7 +1403,7 @@ MODULE_NAME := wlan
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_RK2818), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_RK2818), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ROCKCHIPS
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ROCKCHIPS
|
||||||
ARCH := arm
|
ARCH := arm
|
||||||
CROSS_COMPILE := /usr/src/release_fae_version/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
|
CROSS_COMPILE := /usr/src/release_fae_version/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
|
||||||
KSRC := /usr/src/release_fae_version/kernel25_A7_281x
|
KSRC := /usr/src/release_fae_version/kernel25_A7_281x
|
||||||
|
@ -1431,7 +1411,7 @@ MODULE_NAME := wlan
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_RK3188), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_RK3188), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ROCKCHIPS
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ROCKCHIPS
|
||||||
# default setting for Android 4.1, 4.2, 4.3, 4.4
|
# default setting for Android 4.1, 4.2, 4.3, 4.4
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
|
@ -1448,7 +1428,6 @@ endif
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_RK3066), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_RK3066), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_RK3066
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_RK3066
|
||||||
EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
|
EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211
|
||||||
ifeq ($(CONFIG_SDIO_HCI), y)
|
ifeq ($(CONFIG_SDIO_HCI), y)
|
||||||
|
@ -1463,7 +1442,6 @@ MODULE_NAME :=wlan
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_URBETTER), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_URBETTER), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN #-DCONFIG_MINIMAL_MEMORY_USAGE
|
|
||||||
ARCH := arm
|
ARCH := arm
|
||||||
CROSS_COMPILE := /media/DATA-1/urbetter/arm-2009q3/bin/arm-none-linux-gnueabi-
|
CROSS_COMPILE := /media/DATA-1/urbetter/arm-2009q3/bin/arm-none-linux-gnueabi-
|
||||||
KSRC := /media/DATA-1/urbetter/ics-urbetter/kernel
|
KSRC := /media/DATA-1/urbetter/ics-urbetter/kernel
|
||||||
|
@ -1471,7 +1449,6 @@ MODULE_NAME := wlan
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_TI_PANDA), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_TI_PANDA), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN #-DCONFIG_MINIMAL_MEMORY_USAGE
|
|
||||||
ARCH := arm
|
ARCH := arm
|
||||||
#CROSS_COMPILE := /media/DATA-1/aosp/ics-aosp_20111227/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
|
#CROSS_COMPILE := /media/DATA-1/aosp/ics-aosp_20111227/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
|
||||||
#KSRC := /media/DATA-1/aosp/android-omap-panda-3.0_20120104
|
#KSRC := /media/DATA-1/aosp/android-omap-panda-3.0_20120104
|
||||||
|
@ -1481,14 +1458,13 @@ MODULE_NAME := wlan
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_MIPS_JZ4760), y)
|
ifeq ($(CONFIG_PLATFORM_MIPS_JZ4760), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_MINIMAL_MEMORY_USAGE
|
EXTRA_CFLAGS += -DCONFIG_MINIMAL_MEMORY_USAGE
|
||||||
ARCH ?= mips
|
ARCH ?= mips
|
||||||
CROSS_COMPILE ?= /mnt/sdb5/Ingenic/Umido/mips-4.3/bin/mips-linux-gnu-
|
CROSS_COMPILE ?= /mnt/sdb5/Ingenic/Umido/mips-4.3/bin/mips-linux-gnu-
|
||||||
KSRC ?= /mnt/sdb5/Ingenic/Umido/kernel
|
KSRC ?= /mnt/sdb5/Ingenic/Umido/kernel
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_SZEBOOK), y)
|
ifeq ($(CONFIG_PLATFORM_SZEBOOK), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
|
|
||||||
ARCH:=arm
|
ARCH:=arm
|
||||||
CROSS_COMPILE:=/opt/crosstool2/bin/armeb-unknown-linux-gnueabi-
|
CROSS_COMPILE:=/opt/crosstool2/bin/armeb-unknown-linux-gnueabi-
|
||||||
KVER:= 2.6.31.6
|
KVER:= 2.6.31.6
|
||||||
|
@ -1497,7 +1473,7 @@ endif
|
||||||
|
|
||||||
#Add setting for MN10300
|
#Add setting for MN10300
|
||||||
ifeq ($(CONFIG_PLATFORM_MN10300), y)
|
ifeq ($(CONFIG_PLATFORM_MN10300), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MN10300
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_MN10300
|
||||||
ARCH := mn10300
|
ARCH := mn10300
|
||||||
CROSS_COMPILE := mn10300-linux-
|
CROSS_COMPILE := mn10300-linux-
|
||||||
KVER := 2.6.32.2
|
KVER := 2.6.32.2
|
||||||
|
@ -1507,7 +1483,6 @@ endif
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_SUNxI), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_SUNxI), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUNxI
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUNxI
|
||||||
# default setting for Android 4.1, 4.2
|
# default setting for Android 4.1, 4.2
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
|
@ -1533,7 +1508,6 @@ KSRC=/home/android_sdk/Allwinner/a10/android-jb42/lichee-jb42/linux-3.0
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_SUN6I), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_SUN6I), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN6I
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN6I
|
||||||
EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
|
EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
|
||||||
# default setting for Android 4.1, 4.2, 4.3, 4.4
|
# default setting for Android 4.1, 4.2, 4.3, 4.4
|
||||||
|
@ -1565,7 +1539,6 @@ KSRC :=/home/android_sdk/Allwinner/a31/kitkat-a3x_v4.5/lichee/linux-3.3
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_SUN7I), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_SUN7I), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN7I
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN7I
|
||||||
EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
|
EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
|
||||||
# default setting for Android 4.1, 4.2, 4.3, 4.4
|
# default setting for Android 4.1, 4.2, 4.3, 4.4
|
||||||
|
@ -1595,7 +1568,6 @@ KSRC := /home/android_sdk/Allwinner/a20/kitkat-a20_v4.4/lichee/linux-3.4
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_SUN8I_W3P1), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_SUN8I_W3P1), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN8I
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN8I
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN8I_W3P1
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN8I_W3P1
|
||||||
EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
|
EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
|
||||||
|
@ -1622,7 +1594,6 @@ KSRC :=/home/android_sdk/Allwinner/a23/android-kk44/lichee/linux-3.4
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_SUN8I_W5P1), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_SUN8I_W5P1), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN8I
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN8I
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN8I_W5P1
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN8I_W5P1
|
||||||
EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
|
EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
|
||||||
|
@ -1649,7 +1620,7 @@ KSRC :=/home/android_sdk/Allwinner/a33/android-L/lichee/linux-3.4
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ACTIONS_ATV5201), y)
|
ifeq ($(CONFIG_PLATFORM_ACTIONS_ATV5201), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ACTIONS_ATV5201
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ACTIONS_ATV5201
|
||||||
EXTRA_CFLAGS += -DCONFIG_SDIO_DISABLE_RXFIFO_POLLING_LOOP
|
EXTRA_CFLAGS += -DCONFIG_SDIO_DISABLE_RXFIFO_POLLING_LOOP
|
||||||
ARCH := mips
|
ARCH := mips
|
||||||
CROSS_COMPILE := mipsel-linux-gnu-
|
CROSS_COMPILE := mipsel-linux-gnu-
|
||||||
|
@ -1658,7 +1629,6 @@ KSRC:= $(CFGDIR)/../../kernel/linux-$(KERNEL_VER)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_RTD299X), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_RTD299X), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
EXTRA_CFLAGS += -DUSB_XMITBUF_ALIGN_SZ=1024 -DUSB_PACKET_OFFSET_SZ=0
|
EXTRA_CFLAGS += -DUSB_XMITBUF_ALIGN_SZ=1024 -DUSB_PACKET_OFFSET_SZ=0
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
ifeq ($(CONFIG_ANDROID), y)
|
ifeq ($(CONFIG_ANDROID), y)
|
||||||
|
@ -1671,7 +1641,7 @@ INSTALL_PREFIX :=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_HISILICON), y)
|
ifeq ($(CONFIG_PLATFORM_HISILICON), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_HISILICON
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_HISILICON
|
||||||
ifeq ($(SUPPORT_CONCURRENT),y)
|
ifeq ($(SUPPORT_CONCURRENT),y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
endif
|
endif
|
||||||
|
@ -1693,7 +1663,6 @@ EXTRA_CFLAGS += -DANDROID_2X
|
||||||
endif
|
endif
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_SPRD
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_SPRD
|
||||||
EXTRA_CFLAGS += -DPLATFORM_SPREADTRUM_6820
|
EXTRA_CFLAGS += -DPLATFORM_SPREADTRUM_6820
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
ifeq ($(RTL871X), rtl8188e)
|
ifeq ($(RTL871X), rtl8188e)
|
||||||
EXTRA_CFLAGS += -DSOFTAP_PS_DURATION=50
|
EXTRA_CFLAGS += -DSOFTAP_PS_DURATION=50
|
||||||
endif
|
endif
|
||||||
|
@ -1709,7 +1678,6 @@ EXTRA_CFLAGS += -DANDROID_2X
|
||||||
endif
|
endif
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_SPRD
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_SPRD
|
||||||
EXTRA_CFLAGS += -DPLATFORM_SPREADTRUM_8810
|
EXTRA_CFLAGS += -DPLATFORM_SPREADTRUM_8810
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
ifeq ($(RTL871X), rtl8188e)
|
ifeq ($(RTL871X), rtl8188e)
|
||||||
EXTRA_CFLAGS += -DSOFTAP_PS_DURATION=50
|
EXTRA_CFLAGS += -DSOFTAP_PS_DURATION=50
|
||||||
endif
|
endif
|
||||||
|
@ -1720,7 +1688,6 @@ endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_WMT), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_WMT), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_OPS
|
||||||
|
@ -1734,7 +1701,6 @@ MODULE_NAME :=8189es_kk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_RTK119X), y)
|
ifeq ($(CONFIG_PLATFORM_RTK119X), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
#EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN7I
|
#EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN7I
|
||||||
EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
|
EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
|
||||||
# default setting for Android 4.1, 4.2
|
# default setting for Android 4.1, 4.2
|
||||||
|
@ -1766,7 +1732,6 @@ MODULE_NAME := 8192eu
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_RTK129X), y)
|
ifeq ($(CONFIG_PLATFORM_RTK129X), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
EXTRA_CFLAGS += -DRTK_129X_PLATFORM
|
EXTRA_CFLAGS += -DRTK_129X_PLATFORM
|
||||||
EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
|
EXTRA_CFLAGS += -DCONFIG_TRAFFIC_PROTECT
|
||||||
# default setting for Android 4.1, 4.2
|
# default setting for Android 4.1, 4.2
|
||||||
|
@ -1801,7 +1766,6 @@ endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_NOVATEK_NT72668), y)
|
ifeq ($(CONFIG_PLATFORM_NOVATEK_NT72668), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_PLATFORM_NOVATEK_NT72668
|
EXTRA_CFLAGS += -DCONFIG_PLATFORM_NOVATEK_NT72668
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
EXTRA_CFLAGS += -DCONFIG_USE_USB_BUFFER_ALLOC_RX
|
EXTRA_CFLAGS += -DCONFIG_USE_USB_BUFFER_ALLOC_RX
|
||||||
|
@ -1814,7 +1778,6 @@ KSRC := /Custom/Novatek/TCL/linux-3.8_header
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_PLATFORM_ARM_TCC8930_JB42), y)
|
ifeq ($(CONFIG_PLATFORM_ARM_TCC8930_JB42), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
|
||||||
# default setting for Android 4.1, 4.2
|
# default setting for Android 4.1, 4.2
|
||||||
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||||
|
|
|
@ -231,9 +231,9 @@ enum rt_spinlock_type {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined(CONFIG_LITTLE_ENDIAN)
|
#if defined(__LITTLE_ENDIAN)
|
||||||
#define ODM_ENDIAN_TYPE ODM_ENDIAN_LITTLE
|
#define ODM_ENDIAN_TYPE ODM_ENDIAN_LITTLE
|
||||||
#elif defined (CONFIG_BIG_ENDIAN)
|
#elif defined (__BIG_ENDIAN)
|
||||||
#define ODM_ENDIAN_TYPE ODM_ENDIAN_BIG
|
#define ODM_ENDIAN_TYPE ODM_ENDIAN_BIG
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,7 @@ struct rsn_ie_hdr {
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
struct wme_ac_parameter {
|
struct wme_ac_parameter {
|
||||||
#if defined(CONFIG_LITTLE_ENDIAN)
|
#if defined(__LITTLE_ENDIAN)
|
||||||
/* byte 1 */
|
/* byte 1 */
|
||||||
u8 aifsn:4,
|
u8 aifsn:4,
|
||||||
acm:1,
|
acm:1,
|
||||||
|
@ -72,7 +72,7 @@ struct wme_ac_parameter {
|
||||||
/* byte 2 */
|
/* byte 2 */
|
||||||
u8 eCWmin:4,
|
u8 eCWmin:4,
|
||||||
eCWmax:4;
|
eCWmax:4;
|
||||||
#elif defined(CONFIG_BIG_ENDIAN)
|
#else
|
||||||
/* byte 1 */
|
/* byte 1 */
|
||||||
u8 reserved:1,
|
u8 reserved:1,
|
||||||
aci:2,
|
aci:2,
|
||||||
|
@ -82,8 +82,6 @@ struct wme_ac_parameter {
|
||||||
/* byte 2 */
|
/* byte 2 */
|
||||||
u8 eCWmax:4,
|
u8 eCWmax:4,
|
||||||
eCWmin:4;
|
eCWmin:4;
|
||||||
#else
|
|
||||||
#error "Please fix <endian.h>"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* bytes 3 & 4 */
|
/* bytes 3 & 4 */
|
||||||
|
|
|
@ -21,18 +21,12 @@
|
||||||
#define _RTL871X_BYTEORDER_H_
|
#define _RTL871X_BYTEORDER_H_
|
||||||
|
|
||||||
|
|
||||||
#if defined(CONFIG_LITTLE_ENDIAN) && defined (CONFIG_BIG_ENDIAN)
|
#if defined(__LITTLE_ENDIAN)
|
||||||
#error "Shall be CONFIG_LITTLE_ENDIAN or CONFIG_BIG_ENDIAN, but not both!\n"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(CONFIG_LITTLE_ENDIAN)
|
|
||||||
#ifndef CONFIG_PLATFORM_MSTAR389
|
#ifndef CONFIG_PLATFORM_MSTAR389
|
||||||
#include <byteorder/little_endian.h>
|
#include <byteorder/little_endian.h>
|
||||||
#endif
|
#endif
|
||||||
#elif defined (CONFIG_BIG_ENDIAN)
|
|
||||||
#include <byteorder/big_endian.h>
|
|
||||||
#else
|
#else
|
||||||
# error "Must be LITTLE/BIG Endian Host"
|
#include <byteorder/big_endian.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* _RTL871X_BYTEORDER_H_ */
|
#endif /* _RTL871X_BYTEORDER_H_ */
|
||||||
|
|
|
@ -155,7 +155,7 @@ struct intf_hdl {
|
||||||
|
|
||||||
struct reg_protocol_rd {
|
struct reg_protocol_rd {
|
||||||
|
|
||||||
#ifdef CONFIG_LITTLE_ENDIAN
|
#ifdef __LITTLE_ENDIAN
|
||||||
|
|
||||||
/* DW1 */
|
/* DW1 */
|
||||||
u32 NumOfTrans:4;
|
u32 NumOfTrans:4;
|
||||||
|
@ -179,25 +179,20 @@ struct reg_protocol_rd {
|
||||||
|
|
||||||
|
|
||||||
/* DW1 */
|
/* DW1 */
|
||||||
|
u32 Reserved2:24;
|
||||||
u32 Reserved1:4;
|
u32 Reserved1:4;
|
||||||
u32 NumOfTrans:4;
|
u32 NumOfTrans:4;
|
||||||
|
|
||||||
u32 Reserved2:24;
|
|
||||||
|
|
||||||
/* DW2 */
|
/* DW2 */
|
||||||
u32 WriteEnable:1;
|
u32 Reserved4:16;
|
||||||
u32 ByteCount:7;
|
|
||||||
|
|
||||||
|
|
||||||
u32 Reserved3:3;
|
u32 Reserved3:3;
|
||||||
u32 Byte4Access:1;
|
u32 Byte4Access:1;
|
||||||
|
|
||||||
u32 Byte2Access:1;
|
u32 Byte2Access:1;
|
||||||
|
u32 WriteEnable:1;
|
||||||
u32 Byte1Access:1;
|
u32 Byte1Access:1;
|
||||||
u32 BurstMode:1;
|
u32 BurstMode:1;
|
||||||
u32 FixOrContinuous:1;
|
u32 FixOrContinuous:1;
|
||||||
|
u32 ByteCount:7;
|
||||||
u32 Reserved4:16;
|
|
||||||
|
|
||||||
/* DW3 */
|
/* DW3 */
|
||||||
u32 BusAddress;
|
u32 BusAddress;
|
||||||
|
@ -206,14 +201,12 @@ struct reg_protocol_rd {
|
||||||
/* u32 Value; */
|
/* u32 Value; */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
struct reg_protocol_wt {
|
struct reg_protocol_wt {
|
||||||
|
|
||||||
|
|
||||||
#ifdef CONFIG_LITTLE_ENDIAN
|
#ifdef __LITTLE_ENDIAN
|
||||||
|
|
||||||
/* DW1 */
|
/* DW1 */
|
||||||
u32 NumOfTrans:4;
|
u32 NumOfTrans:4;
|
||||||
|
@ -236,24 +229,21 @@ struct reg_protocol_wt {
|
||||||
|
|
||||||
#else
|
#else
|
||||||
/* DW1 */
|
/* DW1 */
|
||||||
|
u32 Reserved2:24;
|
||||||
u32 Reserved1:4;
|
u32 Reserved1:4;
|
||||||
u32 NumOfTrans:4;
|
u32 NumOfTrans:4;
|
||||||
|
|
||||||
u32 Reserved2:24;
|
|
||||||
|
|
||||||
/* DW2 */
|
/* DW2 */
|
||||||
u32 WriteEnable:1;
|
u32 Reserved4:16;
|
||||||
u32 ByteCount:7;
|
|
||||||
|
|
||||||
u32 Reserved3:3;
|
u32 Reserved3:3;
|
||||||
u32 Byte4Access:1;
|
u32 Byte4Access:1;
|
||||||
|
|
||||||
u32 Byte2Access:1;
|
u32 Byte2Access:1;
|
||||||
u32 Byte1Access:1;
|
u32 Byte1Access:1;
|
||||||
u32 BurstMode:1;
|
u32 BurstMode:1;
|
||||||
u32 FixOrContinuous:1;
|
u32 FixOrContinuous:1;
|
||||||
|
u32 WriteEnable:1;
|
||||||
u32 Reserved4:16;
|
u32 ByteCount:7;
|
||||||
|
|
||||||
/* DW3 */
|
/* DW3 */
|
||||||
u32 BusAddress;
|
u32 BusAddress;
|
||||||
|
|
|
@ -1183,27 +1183,17 @@ struct cmd_hdl wlancmds[] = {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct C2HEvent_Header {
|
struct C2HEvent_Header {
|
||||||
|
#ifdef __LITTLE_ENDIAN
|
||||||
#ifdef CONFIG_LITTLE_ENDIAN
|
|
||||||
|
|
||||||
unsigned int len:16;
|
unsigned int len:16;
|
||||||
unsigned int ID:8;
|
unsigned int ID:8;
|
||||||
unsigned int seq:8;
|
unsigned int seq:8;
|
||||||
|
|
||||||
#elif defined(CONFIG_BIG_ENDIAN)
|
|
||||||
|
|
||||||
unsigned int seq:8;
|
|
||||||
unsigned int ID:8;
|
|
||||||
unsigned int len:16;
|
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
unsigned int seq:8;
|
||||||
# error "Must be LITTLE or BIG Endian"
|
unsigned int ID:8;
|
||||||
|
unsigned int len:16;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
unsigned int rsvd;
|
unsigned int rsvd;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
void rtw_dummy_event_callback(_adapter *adapter , u8 *pbuf);
|
void rtw_dummy_event_callback(_adapter *adapter , u8 *pbuf);
|
||||||
|
|
|
@ -77,7 +77,7 @@ union pn48 {
|
||||||
|
|
||||||
u64 val;
|
u64 val;
|
||||||
|
|
||||||
#ifdef CONFIG_LITTLE_ENDIAN
|
#ifdef __LITTLE_ENDIAN
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
u8 TSC0;
|
u8 TSC0;
|
||||||
|
@ -90,7 +90,7 @@ struct {
|
||||||
u8 TSC7;
|
u8 TSC7;
|
||||||
} _byte_;
|
} _byte_;
|
||||||
|
|
||||||
#elif defined(CONFIG_BIG_ENDIAN)
|
#else
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
u8 TSC7;
|
u8 TSC7;
|
||||||
|
|
|
@ -12181,15 +12181,10 @@ static void printdata(u8 *pbuf, u32 len)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i < len) {
|
if (i < len) {
|
||||||
#ifdef CONFIG_BIG_ENDIAN
|
#ifdef __BIG_ENDIAN
|
||||||
for (; i < len, i++)
|
for (; i < len, i++)
|
||||||
printk("%02X", pbuf + i);
|
printk("%02X", pbuf + i);
|
||||||
#else /* CONFIG_LITTLE_ENDIAN */
|
#else /* __LITTLE_ENDIAN */
|
||||||
#if 0
|
|
||||||
val = 0;
|
|
||||||
_rtw_memcpy(&val, pbuf + i, len - i);
|
|
||||||
printk("%8X", val);
|
|
||||||
#else
|
|
||||||
u8 str[9];
|
u8 str[9];
|
||||||
u8 n;
|
u8 n;
|
||||||
val = 0;
|
val = 0;
|
||||||
|
@ -12198,8 +12193,7 @@ static void printdata(u8 *pbuf, u32 len)
|
||||||
sprintf(str, "%08X", val);
|
sprintf(str, "%08X", val);
|
||||||
n = (4 - n) * 2;
|
n = (4 - n) * 2;
|
||||||
printk("%8s", str + n);
|
printk("%8s", str + n);
|
||||||
#endif
|
#endif /* __LITTLE_ENDIAN */
|
||||||
#endif /* CONFIG_LITTLE_ENDIAN */
|
|
||||||
}
|
}
|
||||||
printk("\n");
|
printk("\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue