package/rtl8189fs: bump to 2022-10-30 version to fix build failure with Linux up to 6.1
PATCH 1/1 package/rtl8189fs: bump to 2022-10-30 version to fix build failure with Linux up to 6.1
Drop local patch that has been upstreamed[0] and drop the endianness handling too since from this commit[1] on it's handled by using Linux macro __LITTLE_ENDIAN.
[0]: https://github.com/jwrdegoede/rtl8189ES_linux/commit/4a555ffb77a5947814b6c7f330968318e265c496
[1]: https://github.com/jwrdegoede/rtl8189ES_linux/commit/b3da33576da5359d85c7cfe82716c9a08a592aff
--- ...TRA_CFLAGS-USER_EXTRA_CFLAGS-at-the-.patch | 40 ------------------- package/rtl8189fs/rtl8189fs.hash | 2 +- package/rtl8189fs/rtl8189fs.mk | 10 +---- 3 files changed, 3 insertions(+), 49 deletions(-) delete mode 100644 package/rtl8189fs/0001-Makefile-move-EXTRA_CFLAGS-USER_EXTRA_CFLAGS-at-the-.patch
package/rtl8189fs/0001-Makefile-move-EXTRA_CFLAGS-USER_EXTRA_CFLAGS-at-the-.patch deleted +0 -40
@@ -1,40 +0,0 @@ -From 4a555ffb77a5947814b6c7f330968318e265c496 Mon Sep 17 00:00:00 2001 -From: Giulio Benetti <[email protected]> -Date: Wed, 28 Sep 2022 21:17:17 +0200 -Subject: [PATCH] Makefile: move 'EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)' at the - end of EXTRA_FLAGS assignment - -At the moment USER_EXTRA_CFLAGS can't override local Makfile EXTRA_CFLAGS -since it's assigned at the beginning of the Makefile. For example it's not -possible to undefine the hardcoded CONFIG_LITTLE_ENDIAN and this doesn't -allow to build these modules for big endian architectures. So let's move -the assignment of USER_EXTRA_CFLAGS to EXTRA_CFLAGS after the last -EXTRA_CFLAGS assignment. - -Signed-off-by: Giulio Benetti <[email protected]> -[Upstream status: https://github.com/jwrdegoede/rtl8189ES_linux/pull/83] ---- - Makefile | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 8fcb7bd..e4664e9 100644 ---- a/Makefile -+++ b/Makefile -@@ -1,4 +1,3 @@ --EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS) - EXTRA_CFLAGS += -O1 - #EXTRA_CFLAGS += -O3 - #EXTRA_CFLAGS += -Wall -@@ -2239,6 +2238,8 @@ ifneq ($(USER_MODULE_NAME),) - MODULE_NAME := $(USER_MODULE_NAME) - endif - -+EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS) -+ - ifneq ($(KERNELRELEASE),) - - ########### this part for *.mk ############################ --- -2.34.1 -
package/rtl8189fs/rtl8189fs.hash +1 -1
@@ -1,2 +1,2 @@ # Locally calculated -sha256 7cc80cb85ed6e7f7d5480e6094c377d3dbcd18a57b58cfba43a7e42ea59fc8d3 rtl8189fs-c93cfd712a3acd2ecdeda19a66d269c20f8803f1.tar.gz +sha256 96347dbfedd95a217fb89b7b295fe417b711dbad3db896ef0c2fa733c6d150fd rtl8189fs-e58bd86c9d9408c648b1246a0dd76b16856ec172.tar.gz
package/rtl8189fs/rtl8189fs.mk +2 -8
@@ -4,20 +4,14 @@ # ################################################################################ -RTL8189FS_VERSION = c93cfd712a3acd2ecdeda19a66d269c20f8803f1 +RTL8189FS_VERSION = e58bd86c9d9408c648b1246a0dd76b16856ec172 RTL8189FS_SITE = $(call github,jwrdegoede,rtl8189ES_linux,$(RTL8189FS_VERSION)) RTL8189FS_LICENSE = GPL-2.0 -# Undefine the hardcoded CONFIG_LITTLE_ENDIAN -RTL8189FS_USER_EXTRA_CLAGS = -UCONFIG_LITTLE_ENDIAN -# Set endianness -RTL8189FS_USER_EXTRA_CLAGS += -DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN - RTL8189FS_MODULE_MAKE_OPTS = \ CONFIG_RTL8189FS=m \ KVER=$(LINUX_VERSION_PROBED) \ - KSRC=$(LINUX_DIR) \ - USER_EXTRA_CFLAGS="$(RTL8189FS_USER_EXTRA_CLAGS)" + KSRC=$(LINUX_DIR) define RTL8189FS_LINUX_CONFIG_FIXUPS $(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS)
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Giulio" == Giulio Benetti <[email protected]> writes:
Drop local patch that has been upstreamed[0] and drop the endianness handling too since from this commit[1] on it's handled by using Linux macro
__LITTLE_ENDIAN.[0]: https://github.com/jwrdegoede/rtl8189ES_linux/commit/4a555ffb77a5947814b6c7f330968318e265c496
[1]: https://github.com/jwrdegoede/rtl8189ES_linux/commit/b3da33576da5359d85c7cfe82716c9a08a592affSigned-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