summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge McCollister <george.mccollister@gmail.com>2016-12-06 12:08:31 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-08 10:31:30 +0000
commiteb937ee0a1ea1e695aa995c2d1a3561ba12335f8 (patch)
tree33f1af6e669d1cf8cb95707de48a1b8819cbc2c7
parentafd9de380dc04780da1eeb94a4c8c46529254231 (diff)
downloadpoky-eb937ee0a1ea1e695aa995c2d1a3561ba12335f8.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) 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>
-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"