@@ -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"