* [Buildroot] [PATCH v2] uclibc: enable debug build option
@ 2016-05-15 20:50 Peter Seiderer
2016-05-17 20:32 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Peter Seiderer @ 2016-05-15 20:50 UTC (permalink / raw)
To: buildroot
Set uClibc DODEBUG in case BR2_ENABLE_DEBUG is set.
Setting DODEBUG was removed with commit 70b7079d3797304fe3c9ba2941d3f446af3cea79
in Dec. 2013 because of build failures with the old uClibc (now replaced
with uClibc-ng), no build failure with raspberrypi3_defconfig and
BR2_ENABLE_DEBUG enabled.
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
Changes v1 --> v2:
- fix 'DODEBUG=y' typo (spotted by Thomas Petazzoni)
- fix uClibc spelling
- add DODEBUG history hint
---
package/uclibc/uclibc.mk | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index b8ccee2..6782682 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -182,6 +182,15 @@ 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)
--
2.8.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH v2] uclibc: enable debug build option
2016-05-15 20:50 [Buildroot] [PATCH v2] uclibc: enable debug build option Peter Seiderer
@ 2016-05-17 20:32 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2016-05-17 20:32 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 15 May 2016 22:50:25 +0200, Peter Seiderer wrote:
> Set uClibc DODEBUG in case BR2_ENABLE_DEBUG is set.
>
> Setting DODEBUG was removed with commit 70b7079d3797304fe3c9ba2941d3f446af3cea79
> in Dec. 2013 because of build failures with the old uClibc (now replaced
> with uClibc-ng), no build failure with raspberrypi3_defconfig and
> BR2_ENABLE_DEBUG enabled.
>
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
> ---
> Changes v1 --> v2:
> - fix 'DODEBUG=y' typo (spotted by Thomas Petazzoni)
> - fix uClibc spelling
> - add DODEBUG history hint
> ---
> package/uclibc/uclibc.mk | 10 ++++++++++
> 1 file changed, 10 insertions(+)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-17 20:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-15 20:50 [Buildroot] [PATCH v2] uclibc: enable debug build option Peter Seiderer
2016-05-17 20:32 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.