package/rtl8192eu: fix build failure on Big Endian architectures
Let's disable the CONFIG_PLATFORM_I386_PC that is set to y by default involving the endianness to be set to little. This way we can set the CFLAGS according to architecture with some default define like: -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT -Wno-error Suggested-by: Arnout Vandecappelle <arnout@mind.be> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
1100ead7b3
commit
447abe169a
@ -7,9 +7,16 @@
|
||||
RTL8192EU_VERSION = 94bce7798bbb18de6d8b1646dedb2511f24867d3
|
||||
RTL8192EU_SITE = $(call github,clnhub,rtl8192eu-linux,$(RTL8192EU_VERSION))
|
||||
RTL8192EU_LICENSE = GPL-2.0
|
||||
|
||||
RTL8192EU_USER_EXTRA_CFLAGS = -DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN \
|
||||
-DCONFIG_IOCTL_CFG80211 \
|
||||
-DRTW_USE_CFG80211_STA_EVENT \
|
||||
-Wno-error
|
||||
|
||||
RTL8192EU_MODULE_MAKE_OPTS = \
|
||||
CONFIG_PLATFORM_I386_PC=n \
|
||||
CONFIG_RTL8192EU=m \
|
||||
USER_EXTRA_CFLAGS="-Wno-error"
|
||||
USER_EXTRA_CFLAGS="$(RTL8192EU_USER_EXTRA_CFLAGS)"
|
||||
|
||||
define RTL8192EU_LINUX_CONFIG_FIXUPS
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_NET)
|
||||
|
Loading…
Reference in New Issue
Block a user