Skip to contentSkip to conversation

package/rtl8189es: en/disable runtime debug according to BR2_ENABLE_RUNTIME_DEBUG

PATCH Applied Giulio Benetti 2 participants 2 messages Nov 21, 2023 – Feb 7, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/rtl8189es: en/disable runtime debug according to BR2_ENABLE_RUNTIME_DEBUG

---
 package/rtl8189es/rtl8189es.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/rtl8189es/rtl8189es.mk +4 -0
index e7bc915c79..658ba41a9f 100644
@@ -14,6 +14,10 @@ RTL8189ES_MODULE_MAKE_OPTS = \
 	KSRC=$(LINUX_DIR) \
 	USER_EXTRA_CFLAGS="-Wno-error"
 
+ifeq ($(BR2_ENABLE_RUNTIME_DEBUG),)
+RTL8189ES_MODULE_MAKE_OPTS += CONFIG_RTW_DEBUG=n
+endif
+
 define RTL8189ES_LINUX_CONFIG_FIXUPS
 	$(call KCONFIG_ENABLE_OPT,CONFIG_NET)
 	$(call KCONFIG_ENABLE_OPT,CONFIG_WIRELESS)
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 4 lines · On Tue, 21 Nov 2023 18:33:18 +0100 Giulio Benetti…
---
 package/rtl8189es/rtl8189es.mk | 4 ++++
 1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot