Skip to contentSkip to conversation

package/rtl8821cu: fix build failure due to mixed endianness

PATCH In review Giulio Benetti 2 participants 2 messages Mar 11, 2023 – Mar 12, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/rtl8821cu: fix build failure due to mixed endianness

Commit cde69c668d6692114845a927c8c5534ed78019db bumped version where Makefile changed CONFIG_PLATFORM_GENERIC to CONFIG_PLATFORM_AUTODETECT. This way overriding the default platform doesn't work anymore resulting in wrong CFLAGS including endianness macro and leading to a build failure. So let's rename CONFIG_PLATFORM_GENERIC to CONFIG_PLATFORM_AUTODETECT to fix.

Fixes:
http://autobuild.buildroot.net/results/2a8432646926b3b69383d204673c4113aae9de12

---
 package/rtl8821cu/rtl8821cu.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/rtl8821cu/rtl8821cu.mk +1 -1
index b3e4ad3fc8..5a93376c20 100644
@@ -24,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)"
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Giulio" == Giulio Benetti <[email protected]> writes:

Commit cde69c668d6692114845a927c8c5534ed78019db bumped version where Makefile changed CONFIG_PLATFORM_GENERIC to CONFIG_PLATFORM_AUTODETECT. This way overriding the default platform doesn't work anymore resulting in wrong CFLAGS including endianness macro and leading to a build failure. So let's rename CONFIG_PLATFORM_GENERIC to CONFIG_PLATFORM_AUTODETECT to fix.

Quoted 4 lines

Fixes:
http://autobuild.buildroot.net/results/2a8432646926b3b69383d204673c4113aae9de12

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot