Disables debuginfod when using MingGW. This feature brings in
unbuildable dependencies and can't be used.

Signed-off-by: Joshua Watt <jpewhac...@gmail.com>
---
 conf/machine-sdk/include/mingw32-common.inc        | 2 ++
 recipes-devtools/gdb/gdb-cross-canadian_%.bbappend | 1 +
 2 files changed, 3 insertions(+)

diff --git a/conf/machine-sdk/include/mingw32-common.inc 
b/conf/machine-sdk/include/mingw32-common.inc
index 0109e75..3997a26 100644
--- a/conf/machine-sdk/include/mingw32-common.inc
+++ b/conf/machine-sdk/include/mingw32-common.inc
@@ -15,6 +15,8 @@ USE_NLS_mingw32 = "no"
 FILES_${PN}-staticdev_append_mingw32 = " ${libdir}/*.lib"
 ALLOW_EMPTY_${PN}_mingw32 = "1"
 
+DISTRO_FEATURES_FILTER_NATIVESDK_remove_mingw32 = "debuginfod"
+
 # Do what amounts to a NOOP
 SDK_PACKAGING_FUNC = "do_compile"
 
diff --git a/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend 
b/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend
index c33a9ce..096fc63 100644
--- a/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend
+++ b/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend
@@ -4,3 +4,4 @@ RDEPENDS_${PN}_remove_sdkmingw32 = "nativesdk-python-core 
nativesdk-python-lang
 EXTRA_OECONF_append_sdkmingw32 = " --without-curses --without-system-readline 
--with-python=no"
 PACKAGECONFIG_remove_sdkmingw32 = "readline"
 PACKAGECONFIG_remove_sdkmingw32 = "python"
+PACKAGECONFIG_remove_sdkmingw32 = "debuginfod"
-- 
2.31.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#53889): https://lists.yoctoproject.org/g/yocto/message/53889
Mute This Topic: https://lists.yoctoproject.org/mt/83582188/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to