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

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Giulio Benetti 2023-11-21 18:33:18 +01:00 committed by Thomas Petazzoni
parent f003675119
commit 8f7bd4ef67

View File

@ -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)