summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
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:20:12 +0000
commitb0f3c0fb99d15b5914ac876b62ff16b3e11d0b80 (patch)
tree912fbfb116a28e4896e79452f544e8716e4276f2 /meta/recipes-devtools
parent6a1f33cc40bfac33cf030fe41e1a8efd1e5fad6f (diff)
downloadpoky-b0f3c0fb99d15b5914ac876b62ff16b3e11d0b80.tar.gz
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) (From OE-Core rev: d6e7dc5cbf1cc09c8882a717cd4dd34d10ec7fa3) 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')
-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}'"
14PACKAGECONFIG ??= "python readline" 14PACKAGECONFIG ??= "python readline"
15PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python3, \ 15PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python3, \
16 nativesdk-python3-core nativesdk-python3-lang nativesdk-python3-re \ 16 nativesdk-python3-core nativesdk-python3-lang nativesdk-python3-re \
17 nativesdk-python3-codecs nativesdk-python3-netclient" 17 nativesdk-python3-codecs nativesdk-python3-netclient \
18 nativesdk-python3-importlib"
18PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,nativesdk-readline" 19PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,nativesdk-readline"
19 20
20SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb" 21SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb"