File Makefile.patch of Package rtw89

--- a/Makefile	2024-03-10 01:56:59.000000000 +0100
+++ b/Makefile	2024-04-20 13:24:21.783960778 +0200
@@ -28,8 +28,8 @@
 EXTRA_CFLAGS += -DCONFIG_RTW89_DEBUGFS
 KEY_FILE ?= MOK.der
 
-obj-m += rtw89core.o
-rtw89core-y +=  core.o \
+obj-m += rtw89_core.o
+rtw89_core-y +=  core.o \
 		mac80211.o \
 		mac.o \
 		mac_be.o \
@@ -49,51 +49,51 @@
 		wow.o \
 		acpi.o
 
-obj-m += rtw_8851b.o
-rtw_8851b-y := rtw8851b.o \
+obj-m += rtw89_8851b.o
+rtw89_8851b-y := rtw8851b.o \
 		    rtw8851b_table.o \
 		    rtw8851b_rfk.o \
 		    rtw8851b_rfk_table.o
 
-obj-m += rtw_8851be.o
-rtw_8851be-y := rtw8851be.o
+obj-m += rtw89_8851be.o
+rtw89_8851be-y := rtw8851be.o
 
-obj-m += rtw_8852a.o
-rtw_8852a-y := rtw8852a.o \
+obj-m += rtw89_8852a.o
+rtw89_8852a-y := rtw8852a.o \
 		    rtw8852a_table.o \
 		    rtw8852a_rfk.o \
 		    rtw8852a_rfk_table.o
 
-obj-m += rtw_8852ae.o
-rtw_8852ae-y := rtw8852ae.o
+obj-m += rtw89_8852ae.o
+rtw89_8852ae-y := rtw8852ae.o
 
-obj-m += rtw_8852b.o
-rtw_8852b-y := rtw8852b.o \
+obj-m += rtw89_8852b.o
+rtw89_8852b-y := rtw8852b.o \
 		    rtw8852b_table.o \
 		    rtw8852b_rfk.o \
 		    rtw8852b_rfk_table.o
 
-obj-m += rtw_8852be.o
-rtw_8852be-y := rtw8852be.o
+obj-m += rtw89_8852be.o
+rtw89_8852be-y := rtw8852be.o
 
-obj-m += rtw_8852c.o
-rtw_8852c-y := rtw8852c.o \
+obj-m += rtw89_8852c.o
+rtw89_8852c-y := rtw8852c.o \
 	       rtw8852c_table.o \
 	       rtw8852c_rfk.o \
 	       rtw8852c_rfk_table.o
 
-obj-m += rtw_8852ce.o
-rtw_8852ce-y := rtw8852ce.o
+obj-m += rtw89_8852ce.o
+rtw89_8852ce-y := rtw8852ce.o
 
-obj-m += rtw_8922a.o 
-rtw_8922a-y := rtw8922a.o \
+obj-m += rtw89_8922a.o 
+rtw89_8922a-y := rtw8922a.o \
 	       rtw8922a_rfk.o
 
-obj-m += rtw_8922ae.o
-rtw_8922ae-y := rtw8922ae.o
+obj-m += rtw89_8922ae.o
+rtw89_8922ae-y := rtw8922ae.o
 
-obj-m += rtw89pci.o
-rtw89pci-y := pci.o \
+obj-m += rtw89_pci.o
+rtw89_pci-y := pci.o \
 	      pci_be.o
 
 ccflags-y += -D__CHECK_ENDIAN__
@@ -139,16 +139,16 @@
 else
 	echo "Skipping key creation"
 endif
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw89core.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw89pci.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8851b.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8851be.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8852a.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8852ae.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8852b.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8852be.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8852c.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8852ce.ko
+	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw89_core.ko
+	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw89_pci.ko
+	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw89_8851b.ko
+	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw89_8851be.ko
+	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw89_8852a.ko
+	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw89_8852ae.ko
+	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw89_8852b.ko
+	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw89_8852be.ko
+	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw89_8852c.ko
+	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw89_8852ce.ko
 
 sign-install: all sign install
 
openSUSE Build Service is sponsored by