diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk index b8ccee2cc8..67826824f5 100644 --- a/package/uclibc/uclibc.mk +++ b/package/uclibc/uclibc.mk @@ -181,6 +181,15 @@ define UCLIBC_X86_TYPE_CONFIG endef endif +# +# Debug +# +ifeq ($(BR2_ENABLE_DEBUG),y) +define UCLIBC_DEBUG_CONFIG + $(call KCONFIG_ENABLE_OPT,DODEBUG,$(@D)/.config) +endef +endif + # # Endianness # @@ -394,6 +403,7 @@ define UCLIBC_KCONFIG_FIXUP_CMDS $(UCLIBC_SPARC_TYPE_CONFIG) $(UCLIBC_POWERPC_TYPE_CONFIG) $(UCLIBC_X86_TYPE_CONFIG) + $(UCLIBC_DEBUG_CONFIG) $(UCLIBC_ENDIAN_CONFIG) $(UCLIBC_LARGEFILE_CONFIG) $(UCLIBC_IPV6_CONFIG)