Skip to contentSkip to conversation

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

Buildroot Thomas Petazzoni via buildroot 1 participant 1 message Feb 7, 2024

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=8f7bd4ef67013e3f94f91e0c5be4e2dc950d5bae
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

---
 package/rtl8189es/rtl8189es.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/rtl8189es/rtl8189es.mk +4 -0
index 17d76aceb7..8bac0a125f 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)

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot