[Buildroot] [PATCH 04/11] gdb: Fix on-target threads debugging
Paul Cercueil
paul at crapouillou.net
Thu Apr 3 21:01:14 UTC 2014
From: Maarten ter Huurne <maarten at treewalker.org>
Signed-Off-By: Maarten ter Huurne <maarten at treewalker.org>
Acked-By: Paul Cercueil <paul at crapouillou.net>
---
Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Makefile b/Makefile
index 09be13c..69ef7a5 100644
--- a/Makefile
+++ b/Makefile
@@ -506,6 +506,10 @@ $(BUILD_DIR)/.root:
$(TARGET_DIR): $(BUILD_DIR)/.root
+ifeq ($(BR2_PACKAGE_GDB),y)
+BR2_STRIP_EXCLUDE_FILES += libpthread*.so*
+endif
+
STRIP_FIND_CMD = find $(TARGET_DIR)
ifneq (,$(call qstrip,$(BR2_STRIP_EXCLUDE_DIRS)))
STRIP_FIND_CMD += \( $(call finddirclauses,$(TARGET_DIR),$(call qstrip,$(BR2_STRIP_EXCLUDE_DIRS))) \) -prune -o
--
1.9.0
More information about the buildroot
mailing list