diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2016-06-02 12:25:54 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-03 13:13:27 +0100 |
commit | 609bf2ecf500404899cfe370ffa5ee4110eb2423 (patch) | |
tree | 91de95cd5d8ba4475821ba5f98bd0b1e9e198d77 /meta/recipes-devtools/gdb/gdb-cross-canadian.inc | |
parent | ada03c326bf94b211e6cbf1ad8621c2c070ff962 (diff) | |
download | poky-609bf2ecf500404899cfe370ffa5ee4110eb2423.tar.gz |
gdb: move to Python 3
(From OE-Core rev: 675d11c73dc1f420c471af01a520f6a20d8a7337)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb-cross-canadian.inc')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb-cross-canadian.inc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc index 6e42af1bab..e53081d0c0 100644 --- a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc | |||
@@ -1,5 +1,5 @@ | |||
1 | inherit cross-canadian | 1 | inherit cross-canadian |
2 | inherit python-dir | 2 | inherit python3-dir |
3 | 3 | ||
4 | SUMMARY = "GNU debugger (cross-canadian gdb for ${TARGET_ARCH} target)" | 4 | SUMMARY = "GNU debugger (cross-canadian gdb for ${TARGET_ARCH} target)" |
5 | PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" | 5 | PN = "gdb-cross-canadian-${TRANSLATED_TARGET_ARCH}" |
@@ -12,9 +12,9 @@ GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" | |||
12 | 12 | ||
13 | # Overrides PACKAGECONFIG variables in gdb-common.inc | 13 | # Overrides PACKAGECONFIG variables in gdb-common.inc |
14 | PACKAGECONFIG ??= "python readline" | 14 | PACKAGECONFIG ??= "python readline" |
15 | PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python, \ | 15 | PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,nativesdk-python3, \ |
16 | nativesdk-python-core nativesdk-python-lang nativesdk-python-re \ | 16 | nativesdk-python3-core nativesdk-python3-lang nativesdk-python3-re \ |
17 | nativesdk-python-codecs nativesdk-python-netclient" | 17 | nativesdk-python3-codecs nativesdk-python3-netclient" |
18 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,nativesdk-readline" | 18 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,nativesdk-readline" |
19 | 19 | ||
20 | SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb" | 20 | SSTATE_DUPWHITELIST += "${STAGING_DATADIR}/gdb" |
@@ -23,8 +23,8 @@ do_configure_prepend() { | |||
23 | cat > ${WORKDIR}/python << EOF | 23 | cat > ${WORKDIR}/python << EOF |
24 | #! /bin/sh | 24 | #! /bin/sh |
25 | case "\$2" in | 25 | case "\$2" in |
26 | --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}/" ;; | 26 | --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}/" ;; |
27 | --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}" ;; | 27 | --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" ;; |
28 | --exec-prefix) echo "${exec_prefix}" ;; | 28 | --exec-prefix) echo "${exec_prefix}" ;; |
29 | *) exit 1 ;; | 29 | *) exit 1 ;; |
30 | esac | 30 | esac |