diff options
Diffstat (limited to 'meta/packages/gdb/gdb-common.inc')
-rw-r--r-- | meta/packages/gdb/gdb-common.inc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/packages/gdb/gdb-common.inc b/meta/packages/gdb/gdb-common.inc index d3bda85e1d..16b653e46e 100644 --- a/meta/packages/gdb/gdb-common.inc +++ b/meta/packages/gdb/gdb-common.inc | |||
@@ -24,7 +24,7 @@ EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils'" | |||
24 | EXPAT = "--without-expat" | 24 | EXPAT = "--without-expat" |
25 | 25 | ||
26 | EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \ | 26 | EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x \ |
27 | --with-curses --disable-multilib --with-readline --disable-sim \ | 27 | --with-curses --disable-multilib --with-system-readline --disable-sim \ |
28 | ${GDBPROPREFIX} --with-libelf=${STAGING_DIR_TARGET} ${EXPAT}" | 28 | ${GDBPROPREFIX} --with-libelf=${STAGING_DIR_TARGET} ${EXPAT}" |
29 | GDBPROPREFIX = "--program-prefix=''" | 29 | GDBPROPREFIX = "--program-prefix=''" |
30 | 30 | ||
@@ -35,6 +35,14 @@ do_configure () { | |||
35 | oe_runconf | 35 | oe_runconf |
36 | } | 36 | } |
37 | 37 | ||
38 | # we don't want gdb to provide bfd/iberty/opcodes, which instead will override the | ||
39 | # right bits installed by binutils. | ||
40 | do_install_append() { | ||
41 | rm -rf ${D}${libdir} | ||
42 | rm -rf ${D}${includedir} | ||
43 | rm -rf ${D}${datadir}/locale | ||
44 | } | ||
45 | |||
38 | RRECOMMENDS_gdb_append_linux = " glibc-thread-db " | 46 | RRECOMMENDS_gdb_append_linux = " glibc-thread-db " |
39 | RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db " | 47 | RRECOMMENDS_gdb_append_linux-gnueabi = " glibc-thread-db " |
40 | 48 | ||