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:26:15 +0000 |
commit | ad00a31fbe93e073a2d83616efcd08c5a7ef37c9 (patch) | |
tree | 8b8b9d40b83fa8ae232773730d8e6110597dad38 | |
parent | 512334f102a33833d39af53467894315f0715d07 (diff) | |
download | openembedded-core-ad00a31fbe93e073a2d83616efcd08c5a7ef37c9.tar.gz openembedded-core-ad00a31fbe93e073a2d83616efcd08c5a7ef37c9.tar.bz2 openembedded-core-ad00a31fbe93e073a2d83616efcd08c5a7ef37c9.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':
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-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}'" 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" |