mirror of
https://github.com/aircrack-ng/rtl8188eus.git
synced 2026-04-20 18:08:55 +00:00
Fix wrong header guards + Added Android ARM64 platform
This commit is contained in:
16
Makefile
16
Makefile
@@ -110,6 +110,7 @@ CONFIG_MP_VHT_HW_TX_MODE = n
|
||||
CONFIG_PLATFORM_I386_PC = y
|
||||
CONFIG_PLATFORM_ARM_RPI = n
|
||||
CONFIG_PLATFORM_ARM64_RPI = n
|
||||
CONFIG_PLATFORM_ANDROID_ARM64 = n
|
||||
CONFIG_PLATFORM_ANDROID_X86 = n
|
||||
CONFIG_PLATFORM_ANDROID_INTEL_X86 = n
|
||||
CONFIG_PLATFORM_JB_X86 = n
|
||||
@@ -1408,6 +1409,17 @@ KVER:= 3.1.10
|
||||
KSRC:= /usr/src/Mstar_kernel/3.1.10/
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_PLATFORM_ANDROID_ARM64), y)
|
||||
# For this to work, change the "modules:" section is also needed, in order to build with CLANG.
|
||||
# "$(MAKE) ARCH=$(ARCH) SUBARCH=$(ARCH) REAL_CC=${CC_DIR}/clang CLANG_TRIPLE=aarch64-linux-gnu- CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd) O="$(KBUILD_OUTPUT)" modules"
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -fno-pic
|
||||
EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC -DCONFIG_RADIO_WORK
|
||||
#Enable this to have two interfaces:
|
||||
#EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
|
||||
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
|
||||
EXTRA_CFLAGS += -DCONFIG_P2P_IPS
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_PLATFORM_ANDROID_X86), y)
|
||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
|
||||
@@ -2299,6 +2311,10 @@ all: modules
|
||||
|
||||
modules:
|
||||
$(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd) modules
|
||||
@echo "----------------------------------------------------------------------------"
|
||||
@echo "Visit https://github.com/aircrack-ng/rtl8188eus for support/reporting issues"
|
||||
@echo "or check for newer versions (branches) of these drivers. "
|
||||
@echo "----------------------------------------------------------------------------"
|
||||
|
||||
strip:
|
||||
$(CROSS_COMPILE)strip $(MODULE_NAME).ko --strip-unneeded
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
PACKAGE_NAME="realtek-rtl8188eus"
|
||||
PACKAGE_VERSION="5.7.6.1~20200131"
|
||||
PACKAGE_VERSION="5.7.6.1~20200204"
|
||||
CLEAN="'make' clean"
|
||||
BUILT_MODULE_NAME[0]=8188eu
|
||||
PROCS_NUM=`nproc`
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
* more details.
|
||||
*
|
||||
*****************************************************************************/
|
||||
#ifndef _RTL88812A_SRESET_H_
|
||||
#ifndef _RTL8812A_SRESET_H_
|
||||
#define _RTL8812A_SRESET_H_
|
||||
|
||||
#include <rtw_sreset.h>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
* more details.
|
||||
*
|
||||
*****************************************************************************/
|
||||
#ifndef _RTL88812A_SRESET_H_
|
||||
#ifndef _RTL8812A_SRESET_H_
|
||||
#define _RTL8812A_SRESET_H_
|
||||
|
||||
#include <rtw_sreset.h>
|
||||
|
||||
Reference in New Issue
Block a user