mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-10 08:07:18 +00:00
Merge pull request #362 from satmandu/patch-1
Makefile changes for RPI64 as per for 5.3.4 applied to the 5.6.4 Makefile
This commit is contained in:
commit
3475f7fd1b
14
Makefile
14
Makefile
@ -156,6 +156,7 @@ CONFIG_PLATFORM_ARM_LGE = n
|
|||||||
CONFIG_PLATFORM_ARM_SPREADTRUM_6820 = n
|
CONFIG_PLATFORM_ARM_SPREADTRUM_6820 = n
|
||||||
CONFIG_PLATFORM_ARM_SPREADTRUM_8810 = n
|
CONFIG_PLATFORM_ARM_SPREADTRUM_8810 = n
|
||||||
CONFIG_PLATFORM_ARM_WMT = n
|
CONFIG_PLATFORM_ARM_WMT = n
|
||||||
|
CONFIG_PLATFORM_ARM64_RPI = n
|
||||||
CONFIG_PLATFORM_TI_DM365 = n
|
CONFIG_PLATFORM_TI_DM365 = n
|
||||||
CONFIG_PLATFORM_MOZART = n
|
CONFIG_PLATFORM_MOZART = n
|
||||||
CONFIG_PLATFORM_RTK119X = n
|
CONFIG_PLATFORM_RTK119X = n
|
||||||
@ -1942,6 +1943,17 @@ KSRC := /home/android_sdk/WonderMedia/wm8880-android4.4/kernel4.4/
|
|||||||
MODULE_NAME :=8189es_kk
|
MODULE_NAME :=8189es_kk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(CONFIG_PLATFORM_ARM64_RPI), y)
|
||||||
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
|
EXTRA_CFLAGS += -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_RTK119X), y)
|
ifeq ($(CONFIG_PLATFORM_RTK119X), y)
|
||||||
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
|
||||||
#EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN7I
|
#EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN7I
|
||||||
@ -2264,7 +2276,7 @@ install:
|
|||||||
/sbin/depmod -a ${KVER}
|
/sbin/depmod -a ${KVER}
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
rm -f $(MODDESTDIR)/$(MODULE_NAME).ko
|
rm -f $(MODDESTDIR)$(MODULE_NAME).ko
|
||||||
/sbin/depmod -a ${KVER}
|
/sbin/depmod -a ${KVER}
|
||||||
|
|
||||||
backup_rtlwifi:
|
backup_rtlwifi:
|
||||||
|
Loading…
Reference in New Issue
Block a user