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

Richard Tollerton rich.tollerton at ni.com
Wed Jul 16 11:58:04 PDT 2014


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 at 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

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




More information about the yocto mailing list