summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb
diff options
context:
space:
mode:
authorGeorge McCollister <george.mccollister@gmail.com>2017-03-13 16:06:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-14 15:19:25 +0000
commitd6e7dc5cbf1cc09c8882a717cd4dd34d10ec7fa3 (patch)
tree6b04ab396296de8f4470676743f1f8c10299c677 /meta/recipes-devtools/gdb
parent55c835c73cc41b6fc809c941c295d62a612e49e0 (diff)
downloadopenembedded-core-d6e7dc5cbf1cc09c8882a717cd4dd34d10ec7fa3.tar.gz
openembedded-core-d6e7dc5cbf1cc09c8882a717cd4dd34d10ec7fa3.tar.bz2
openembedded-core-d6e7dc5cbf1cc09c8882a717cd4dd34d10ec7fa3.zip
gdb-cross-canadian: Depend on nativesdk-python3-importlib
Add missing dependency on nativesdk-python3-importlib so the imp Python module is installed. Before this patch, running gdb from the sdk would give the following error: Python Exception <class 'ImportError'> No module named 'imp': (From OE-Core rev: ad00a31fbe93e073a2d83616efcd08c5a7ef37c9) Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb')
-rw-r--r--meta/recipes-devtools/gdb/gdb-cross-canadian.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
index e53081d0c0..3ff1989538 100644
--- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc
@@ -14,7 +14,8 @@ GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'"
PACKAGECONFIG ??= "python readline"
PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python3, \
nativesdk-python3-core nativesdk-python3-lang nativesdk-python3-re \
- nativesdk-python3-codecs nativesdk-python3-netclient"
+ nativesdk-python3-codecs nativesdk-python3-netclient \
+ nativesdk-python3-importlib"
PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,nativesdk-readline"
SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb"