diff options
Diffstat (limited to 'meta-microblaze/recipes-devtools/gdb/gdb-common.inc')
-rw-r--r-- | meta-microblaze/recipes-devtools/gdb/gdb-common.inc | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/meta-microblaze/recipes-devtools/gdb/gdb-common.inc b/meta-microblaze/recipes-devtools/gdb/gdb-common.inc deleted file mode 100644 index 925b0c2f..00000000 --- a/meta-microblaze/recipes-devtools/gdb/gdb-common.inc +++ /dev/null | |||
@@ -1,66 +0,0 @@ | |||
1 | SUMMARY = "GNU debugger" | ||
2 | HOMEPAGE = "http://www.gnu.org/software/gdb/" | ||
3 | DESCRIPTION = "GDB, the GNU Project debugger, allows you to see what is going on inside another program while it executes -- or what another program was doing at the moment it crashed." | ||
4 | SECTION = "devel" | ||
5 | DEPENDS = "expat gmp zlib ncurses virtual/libiconv ${LTTNGUST} bison-native" | ||
6 | |||
7 | LTTNGUST = "lttng-ust" | ||
8 | LTTNGUST:arc = "" | ||
9 | LTTNGUST:aarch64 = "" | ||
10 | LTTNGUST:mipsarch = "" | ||
11 | LTTNGUST:sh4 = "" | ||
12 | |||
13 | inherit autotools texinfo | ||
14 | |||
15 | UPSTREAM_CHECK_GITTAGREGEX = "gdb\-(?P<pver>.+)\-release" | ||
16 | |||
17 | B = "${WORKDIR}/build-${TARGET_SYS}" | ||
18 | |||
19 | EXPAT = "--with-expat --with-libexpat-prefix=${STAGING_DIR_HOST}" | ||
20 | |||
21 | EXTRA_OECONF = "--disable-gdbtk --disable-x --disable-werror \ | ||
22 | --with-curses --disable-multilib --disable-sim \ | ||
23 | --without-guile \ | ||
24 | ${GDBPROPREFIX} ${EXPAT} \ | ||
25 | ${@bb.utils.contains('DISTRO_FEATURES', 'multiarch', '--enable-64-bit-bfd', '', d)} \ | ||
26 | --disable-rpath \ | ||
27 | --disable-gas --disable-binutils \ | ||
28 | --disable-ld --disable-gold \ | ||
29 | --disable-gprof \ | ||
30 | --with-libgmp-prefix=${STAGING_EXECPREFIXDIR} \ | ||
31 | " | ||
32 | |||
33 | PACKAGECONFIG ??= "readline ${@bb.utils.filter('DISTRO_FEATURES', 'debuginfod', d)}" | ||
34 | # Use --without-system-readline to compile with readline 5. | ||
35 | PACKAGECONFIG[readline] = "--with-system-readline,--without-system-readline,readline" | ||
36 | PACKAGECONFIG[python] = "--with-python=${WORKDIR}/python,--without-python,python3,python3 python3-codecs" | ||
37 | PACKAGECONFIG[babeltrace] = "--with-babeltrace,--without-babeltrace,babeltrace" | ||
38 | # ncurses is already a hard DEPENDS, but would be added here if it weren't | ||
39 | PACKAGECONFIG[tui] = "--enable-tui,--disable-tui" | ||
40 | PACKAGECONFIG[xz] = "--with-lzma --with-liblzma-prefix=${STAGING_DIR_HOST},--without-lzma,xz" | ||
41 | PACKAGECONFIG[debuginfod] = "--with-debuginfod, --without-debuginfod, elfutils" | ||
42 | |||
43 | GDBPROPREFIX = "--program-prefix=''" | ||
44 | |||
45 | DISABLE_STATIC = "" | ||
46 | |||
47 | do_configure () { | ||
48 | # override this function to avoid the autoconf/automake/aclocal/autoheader | ||
49 | # calls for now | ||
50 | (cd ${S} && gnu-configize) || die "failure in running gnu-configize" | ||
51 | oe_runconf | ||
52 | } | ||
53 | |||
54 | # we don't want gdb to provide bfd/iberty/opcodes, which instead will override the | ||
55 | # right bits installed by binutils. Same for bfd.info -- also from binutils. | ||
56 | do_install:append() { | ||
57 | rm -rf ${D}${libdir} | ||
58 | rm -rf ${D}${includedir} | ||
59 | rm -rf ${D}${datadir}/locale | ||
60 | rm -f ${D}${infodir}/bfd.info | ||
61 | } | ||
62 | |||
63 | RRECOMMENDS:gdb:append:linux = " glibc-thread-db " | ||
64 | RRECOMMENDS:gdb:append:linux-gnueabi = " glibc-thread-db " | ||
65 | RRECOMMENDS:gdbserver:append:linux = " glibc-thread-db " | ||
66 | RRECOMMENDS:gdbserver:append:linux-gnueabi = " glibc-thread-db " | ||