* [Buildroot] [PATCH] package/rtl8821cu: fix build failure due to missing Linux options
@ 2023-01-14 0:24 Giulio Benetti
2023-01-14 0:27 ` Christian Stewart via buildroot
2023-01-14 0:29 ` Giulio Benetti
0 siblings, 2 replies; 3+ messages in thread
From: Giulio Benetti @ 2023-01-14 0:24 UTC (permalink / raw)
To: buildroot; +Cc: Giulio Benetti
After fixing build failure due to missing Linux CONFIG_CFG80211 an error
of conflicting Big and Little endianness came out. So let's fix it by
disabling the default CONFIG_PLATFORM that is not CONFIG_PLATFORM_GENERIC
but CONFIG_PLATFORM_AUTODETECT.
Fixes:
http://autobuild.buildroot.net/results/aea/aea6bc1e4f89bd1010dfdc9caa54c37edb567d5f/
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
package/rtl8821cu/rtl8821cu.mk | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/package/rtl8821cu/rtl8821cu.mk b/package/rtl8821cu/rtl8821cu.mk
index 18222e0014..501d849aca 100644
--- a/package/rtl8821cu/rtl8821cu.mk
+++ b/package/rtl8821cu/rtl8821cu.mk
@@ -9,6 +9,14 @@ RTL8821CU_SITE = $(call github,morrownr,8821cu-20210118,$(RTL8821CU_VERSION))
RTL8821CU_LICENSE = GPL-2.0
RTL8821CU_LICENSE_FILES = LICENSE
+define RTL8821CU_LINUX_CONFIG_FIXUPS
+ $(call KCONFIG_ENABLE_OPT,CONFIG_NET)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_USB_SUPPORT)
+ $(call KCONFIG_ENABLE_OPT,CONFIG_USB)
+endef
+
RTL8821CU_USER_EXTRA_CFLAGS = \
-DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN \
-DCONFIG_IOCTL_CFG80211 \
@@ -16,7 +24,7 @@ RTL8821CU_USER_EXTRA_CFLAGS = \
-Wno-error
RTL8821CU_MODULE_MAKE_OPTS = \
- CONFIG_PLATFORM_GENERIC=n \
+ CONFIG_PLATFORM_AUTODETECT=n \
CONFIG_RTL8821CU=m \
KVER=$(LINUX_VERSION_PROBED) \
USER_EXTRA_CFLAGS="$(RTL8821CU_USER_EXTRA_CFLAGS)"
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/rtl8821cu: fix build failure due to missing Linux options
2023-01-14 0:24 [Buildroot] [PATCH] package/rtl8821cu: fix build failure due to missing Linux options Giulio Benetti
@ 2023-01-14 0:27 ` Christian Stewart via buildroot
2023-01-14 0:29 ` Giulio Benetti
1 sibling, 0 replies; 3+ messages in thread
From: Christian Stewart via buildroot @ 2023-01-14 0:27 UTC (permalink / raw)
To: Giulio Benetti; +Cc: Christian Stewart, buildroot
Hi Giulio,
On Fri, Jan 13, 2023 at 4:24 PM Giulio Benetti
<giulio.benetti@benettiengineering.com> wrote:
>
> After fixing build failure due to missing Linux CONFIG_CFG80211 an error
> of conflicting Big and Little endianness came out. So let's fix it by
> disabling the default CONFIG_PLATFORM that is not CONFIG_PLATFORM_GENERIC
> but CONFIG_PLATFORM_AUTODETECT.
>
> Fixes:
> http://autobuild.buildroot.net/results/aea/aea6bc1e4f89bd1010dfdc9caa54c37edb567d5f/
>
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: Christian Stewart <christian@paral.in>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/rtl8821cu: fix build failure due to missing Linux options
2023-01-14 0:24 [Buildroot] [PATCH] package/rtl8821cu: fix build failure due to missing Linux options Giulio Benetti
2023-01-14 0:27 ` Christian Stewart via buildroot
@ 2023-01-14 0:29 ` Giulio Benetti
1 sibling, 0 replies; 3+ messages in thread
From: Giulio Benetti @ 2023-01-14 0:29 UTC (permalink / raw)
To: buildroot
On 14/01/23 01:24, Giulio Benetti wrote:
> After fixing build failure due to missing Linux CONFIG_CFG80211 an error
> of conflicting Big and Little endianness came out. So let's fix it by
> disabling the default CONFIG_PLATFORM that is not CONFIG_PLATFORM_GENERIC
> but CONFIG_PLATFORM_AUTODETECT.
Here I'm wrong. CONFIG_PLATFORM_GENERIC is still generic with this git
SHA1. So I'm going to send V2.
Please drop this
Sorry for the noise
Best regards
--
Giulio Benetti
Benetti Engineering sas
> Fixes:
> http://autobuild.buildroot.net/results/aea/aea6bc1e4f89bd1010dfdc9caa54c37edb567d5f/
>
> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
> ---
> package/rtl8821cu/rtl8821cu.mk | 10 +++++++++-
> 1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/package/rtl8821cu/rtl8821cu.mk b/package/rtl8821cu/rtl8821cu.mk
> index 18222e0014..501d849aca 100644
> --- a/package/rtl8821cu/rtl8821cu.mk
> +++ b/package/rtl8821cu/rtl8821cu.mk
> @@ -9,6 +9,14 @@ RTL8821CU_SITE = $(call github,morrownr,8821cu-20210118,$(RTL8821CU_VERSION))
> RTL8821CU_LICENSE = GPL-2.0
> RTL8821CU_LICENSE_FILES = LICENSE
>
> +define RTL8821CU_LINUX_CONFIG_FIXUPS
> + $(call KCONFIG_ENABLE_OPT,CONFIG_NET)
> + $(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS)
> + $(call KCONFIG_ENABLE_OPT,CONFIG_CFG80211)
> + $(call KCONFIG_ENABLE_OPT,CONFIG_USB_SUPPORT)
> + $(call KCONFIG_ENABLE_OPT,CONFIG_USB)
> +endef
> +
> RTL8821CU_USER_EXTRA_CFLAGS = \
> -DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN \
> -DCONFIG_IOCTL_CFG80211 \
> @@ -16,7 +24,7 @@ RTL8821CU_USER_EXTRA_CFLAGS = \
> -Wno-error
>
> RTL8821CU_MODULE_MAKE_OPTS = \
> - CONFIG_PLATFORM_GENERIC=n \
> + CONFIG_PLATFORM_AUTODETECT=n \
> CONFIG_RTL8821CU=m \
> KVER=$(LINUX_VERSION_PROBED) \
> USER_EXTRA_CFLAGS="$(RTL8821CU_USER_EXTRA_CFLAGS)"
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-14 0:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-14 0:24 [Buildroot] [PATCH] package/rtl8821cu: fix build failure due to missing Linux options Giulio Benetti
2023-01-14 0:27 ` Christian Stewart via buildroot
2023-01-14 0:29 ` Giulio Benetti
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.