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:
Christian Bremvåg 2019-05-30 20:13:00 +02:00 committed by GitHub
commit 3475f7fd1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: