diff mbox

[4/6] gdb: Various fixups

Message ID 2d02c2038e89db7b15f0a1be612bd79cd0d2619a.1409312414.git.kibo@prevas.dk
State Under Review
Delegated to: Kim
Headers show

Commit Message

Kim Bøndergaard Aug. 29, 2014, 12:30 p.m. UTC
From: Esben Haabendal <esben.haabendal@prevas.dk>

* Apply proper cross-prefix to cross-gdb
* Enable TUI
* Use curses library instead of termcap
* Drop unneeded redefinition of ${S}
* Drop unneeded SUBDIRS argument to make

Signed-off-by: Esben Haabendal <esben.haabendal@prevas.dk>
---
 recipes/gdb/gdb.inc | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)
diff mbox

Patch

diff --git a/recipes/gdb/gdb.inc b/recipes/gdb/gdb.inc
index 4ac1d0e..ae5096b 100644
--- a/recipes/gdb/gdb.inc
+++ b/recipes/gdb/gdb.inc
@@ -5,7 +5,7 @@  LICENSE = "GPLv2 & GPLv3 & LGPLv2 & LGPLv3"
 RECIPE_TYPES = "machine canadian-cross"
 
 GDB_DEPENDS = "host:libexpat host:libtermcap \
-	host:libreadline host:libdl host:libm host:libc"
+	host:libncurses host:libreadline host:libdl host:libm host:libc"
 DEPENDS = "${GDB_DEPENDS}"
 RDEPENDS_${PN} = "${GDB_DEPENDS}"
 
@@ -13,14 +13,11 @@  inherit autotools auto-package-utils
 
 require conf/fetch/gnu.conf
 SRC_URI = "${GNU_MIRROR}/gdb/gdb-${PV}.tar.gz"
-S = "${SRCDIR}/${PN}-${PV}"
 
-EXTRA_OEMAKE = "'SUBDIRS=gdb'"
-
-EXTRA_OECONF = "--disable-gdbtk --disable-tui --disable-x --disable-werror \
-	--with-curses --disable-multilib --with-system-readline --disable-sim \
-        --without-lzma --without-python \
-        --program-prefix='' --with-expat"
+EXTRA_OECONF = "--enable-tui --disable-gdbtk --disable-x --disable-werror \
+	--disable-multilib --disable-sim \
+	--with-system-readline --with-curses --with-expat \
+	--without-lzma --without-python"
 
 AUTO_PACKAGE_UTILS = "gdb gdbserver gcore"
 AUTO_PACKAGE_UTILS:canadian-cross = "gdb"