projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] gdb: gdbserver package dependency fix (#11179)
[openwrt.git]
/
package
/
gdb
/
Makefile
diff --git
a/package/gdb/Makefile
b/package/gdb/Makefile
index
879ba3d
..
cf0b9ea
100644
(file)
--- a/
package/gdb/Makefile
+++ b/
package/gdb/Makefile
@@
-77,6
+77,10
@@
endef
define Package/gdbserver/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gdbserver $(1)/usr/bin/
define Package/gdbserver/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gdbserver $(1)/usr/bin/
+ifneq ($(CONFIG_USE_EGLIBC),)
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(CP) $(TOOLCHAIN_DIR)/lib/libthread_db* $(1)/usr/lib
+endif
endef
$(eval $(call BuildPackage,gdb))
endef
$(eval $(call BuildPackage,gdb))