Skip to contentSkip to conversation

Disable debuginfod

PATCH New Joshua Watt 1 participant 1 message Jun 16, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Disable debuginfod

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

---
 conf/machine-sdk/include/mingw32-common.inc        | 2 ++
 recipes-devtools/gdb/gdb-cross-canadian_%.bbappend | 1 +
 2 files changed, 3 insertions(+)
conf/machine-sdk/include/mingw32-common.inc +2 -0
index 0109e75..3997a26 100644
@@ -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"
 
recipes-devtools/gdb/gdb-cross-canadian_%.bbappend +1 -0
index c33a9ce..096fc63 100644
@@ -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"
Signature · 1 line
2.31.1