[elbe-devel] [PATCH 1/4] sdk: add gdb to host sysroot

Manuel Traut manut at linutronix.de
Thu Feb 28 13:30:08 CET 2019


typically a toolchain also includes a debugger.

This adds gdb-multiarch to the host sysroot.

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 elbepack/elbeproject.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/elbepack/elbeproject.py b/elbepack/elbeproject.py
index cef53296..d75ed008 100644
--- a/elbepack/elbeproject.py
+++ b/elbepack/elbeproject.py
@@ -319,6 +319,12 @@ class ElbeProject (object):
                     crosstoolchainpkg,
                     'amd64',
                     True)
+        extract_pkg(self.xml.prj,
+                    hostsysrootpath,
+                    self.xml.defs,
+                    'gdb-multiarch',
+                    'amd64',
+                    True)
 
         n = gen_sdk_scripts(triplet,
                             self.name,
-- 
2.20.1




More information about the elbe-devel mailing list