package/rtl8821cu: fix build failure due to mixed endianness
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
@@ -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
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Giulio" == Giulio Benetti <[email protected]> writes:
Commit
cde69c668d6692114845a927c8c5534ed78019dbbumped version whereMakefilechangedCONFIG_PLATFORM_GENERICtoCONFIG_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 renameCONFIG_PLATFORM_GENERICtoCONFIG_PLATFORM_AUTODETECTto fix.
Quoted 4 lines
Fixes:
http://autobuild.buildroot.net/results/2a8432646926b3b69383d204673c4113aae9de12Signed-off-by Giulio Benetti <[email protected]>
Committed, thanks.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot