summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Tollerton <rich.tollerton@ni.com>2014-07-16 13:58:04 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-18 14:18:30 +0100
commit2a9f951fbf7a8d2399a1b8d1a1a3bc2703ab5b7e (patch)
treeeeb10511b2300c45bd1cc56933693a8e54c37fbe
parent1c2f3d18bee9f7729460d31a062573c1a35db3e6 (diff)
gdb-cross-canadian: remove ncurses and python deps from mingw32 builds
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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--recipes-devtools/gdb/gdb-cross-canadian_7.7.1.bbappend5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-devtools/gdb/gdb-cross-canadian_7.7.1.bbappend b/recipes-devtools/gdb/gdb-cross-canadian_7.7.1.bbappend
new file mode 100644
index 0000000..bf4bd75
--- /dev/null
+++ b/recipes-devtools/gdb/gdb-cross-canadian_7.7.1.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"