diff options
author | George McCollister <george.mccollister@gmail.com> | 2016-12-06 12:08:31 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-08 10:31:30 +0000 |
commit | eb937ee0a1ea1e695aa995c2d1a3561ba12335f8 (patch) | |
tree | 33f1af6e669d1cf8cb95707de48a1b8819cbc2c7 | |
parent | afd9de380dc04780da1eeb94a4c8c46529254231 (diff) | |
download | poky-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.inc | 3 |
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}'" | |||
14 | PACKAGECONFIG ??= "python readline" | 14 | PACKAGECONFIG ??= "python readline" |
15 | PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python3, \ | 15 | PACKAGECONFIG[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" | ||
18 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,nativesdk-readline" | 19 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,nativesdk-readline" |
19 | 20 | ||
20 | SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb" | 21 | SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb" |