summaryrefslogtreecommitdiff
path: root/aports/rtw88-edge/Makefile.patch
blob: f0d9b91e2481c52166b8b0f2a8825006577c39af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,6 @@
 
 EXTRA_CFLAGS += -O2
 EXTRA_CFLAGS += -DCONFIG_RTW88_8822BE=1
-EXTRA_CFLAGS += -DCONFIG_RTW88_8821CE=1
 EXTRA_CFLAGS += -DCONFIG_RTW88_8822CE=1
 EXTRA_CFLAGS += -DCONFIG_RTW88_8723DE=1
 EXTRA_CFLAGS += -DCONFIG_RTW88_DEBUG=1
@@ -63,60 +62,24 @@
 obj-m      += rtw_8822be.o
 rtw_8822be-objs               := rtw8822be.o
 
-obj-m      += rtw_8822bu.o
-rtw_8822bu-objs		:= rtw8822bu.o
-
-obj-m	   += rtw_8822bs.o
-rtw_8822bs-objs		:= rtw8822bs.o
-
 obj-m       += rtw_8822c.o
 rtw_8822c-objs                := rtw8822c.o rtw8822c_table.o
 
 obj-m      += rtw_8822ce.o
 rtw_8822ce-objs               := rtw8822ce.o
 
-obj-m      += rtw_8822cu.o
-rtw_8822cu-objs		:= rtw8822cu.o
-
-obj-m	   += rtw_8822cs.o
-rtw_8822cs-objs		:= rtw8822cs.o
-
 obj-m       += rtw_8723d.o
 rtw_8723d-objs          := rtw8723d.o rtw8723d_table.o
 
 obj-m      += rtw_8723de.o
 rtw_8723de-objs               := rtw8723de.o
 
-obj-m      += rtw_8723du.o
-rtw_8723du-objs		:= rtw8723du.o
-
-obj-m      += rtw_8723ds.o
-rtw_8723ds-objs		:= rtw8723ds.o
-
 obj-m	+= rtw_8821c.o
 rtw_8821c-objs		:= rtw8821c.o rtw8821c_table.o
 
-obj-m	+= rtw_8821ce.o
-rtw_8821ce-objs		:= rtw8821ce.o
-
-obj-m	   += rtw_8821cs.o
-rtw_8821cs-objs		:= rtw8821cs.o
-
-obj-m	+= rtw_8821cu.o
-rtw_8821cu-objs		:= rtw8821cu.o
-
 obj-m			+= rtw_pci.o
 rtw_pci-objs		:= pci.o
 
-obj-m			+= rtw_sdio.o
-rtw_sdio-objs		:= sdio.o
-
-obj-m			+= rtw_usb.o
-rtw_usb-objs		:= usb.o
-
-obj-m         += rtw_usb.o
-rtw_usb-objs                := usb.o
-
 ccflags-y += -D__CHECK_ENDIAN__
 
 all: 
@@ -164,25 +127,14 @@
 	echo "Skipping key creation"
 endif
 	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_pci.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_usb.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_sdio.ko
 	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_core.ko
 	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8723d.ko
 	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8723de.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8723du.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8723ds.ko
+	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8821c.ko
 	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8822b.ko
 	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8822be.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8822bu.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8822bs.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8821c.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8821ce.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8821cu.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8821cs.ko
 	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8822c.ko
 	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8822ce.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8822cu.ko
-	@$(KSRC)/scripts/sign-file sha256 MOK.priv MOK.der rtw_8822cs.ko
 
 sign-install: all sign install