[meta-mingw,2/3] gdb-cross-canadian: remove ncurses and python deps from mingw32 builds

Submitted by Richard Tollerton on July 7, 2014, 2:23 a.m. | Patch ID: 75065


Message ID 1404699810-23745-3-git-send-email-rich.tollerton@ni.com
State New
Headers show

Commit Message

Richard Tollerton July 7, 2014, 2:23 a.m.
Python has never appeared to build under mingw; those who have gotten
gdb builds working under mingw have extracted the MSIs from python.org.
In lieu of that approach, just disable python support for now.

nativesdk-ncurses has several build problems, the least surmountable of
which is that it doesn't appear to build either statically or
dynamically. Just disable that for now too.

This results in mingw32 gdb not supporting plugins, pretty-printing, or
TUI mode, at the very least. But MI mode works, as does gdb's internal
readline implementation.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
 recipes-devtools/gdb/gdb-cross-canadian_7.7.bbappend | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 recipes-devtools/gdb/gdb-cross-canadian_7.7.bbappend

Patch hide | download patch | download mbox

diff --git a/recipes-devtools/gdb/gdb-cross-canadian_7.7.bbappend b/recipes-devtools/gdb/gdb-cross-canadian_7.7.bbappend
new file mode 100644
index 0000000..bf4bd75
--- /dev/null
+++ b/recipes-devtools/gdb/gdb-cross-canadian_7.7.bbappend
@@ -0,0 +1,5 @@ 
+LDFLAGS_append_sdkmingw32 = " -Wl,-static"
+EXEEXT_sdkmingw32 = ".exe"
+DEPENDS_remove_sdkmingw32 = "nativesdk-ncurses nativesdk-readline nativesdk-python"
+RDEPENDS_${PN}_remove_sdkmingw32 = "nativesdk-python-core nativesdk-python-lang nativesdk-python-re nativesdk-python-codecs nativesdk-python-netclient"
+EXTRA_OECONF_append_sdkmingw32 = "--without-curses --without-system-readline --with-python=no"