Skip to contentSkip to conversation

gdb-cross: fix enabling of Python support

PATCH In review Jonathan Liu 1 participant 2 messages Mar 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gdb-cross: fix enabling of Python support

Python support was not being enabled because of a conflicting --without-python configure argument in OE_EXTRACONF.

---
 meta/recipes-devtools/gdb/gdb-cross.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/gdb/gdb-cross.inc +1 -0
index 6e44778..9a9a5e4 100644
@@ -4,6 +4,7 @@ DEPENDS = "expat-native ncurses-native readline-native python-native"
 
 inherit pythonnative
 
+EXTRA_OECONF_remove = "--without-python"
 EXTRA_OECONF += "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python"
 
 do_compile_prepend() {
Signature · 1 line
2.7.3
#1 lore raw
Quoted 21 lines · Jonathan Liu

Python support was not being enabled because of a conflicting --without-python configure argument in OE_EXTRACONF.

---
 meta/recipes-devtools/gdb/gdb-cross.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/gdb/gdb-cross.inc +1 -1
index 6e44778..9a9a5e4 100644
@@ -4,6 +4,7 @@ DEPENDS = "expat-native ncurses-native readline-native python-native"
 
 inherit pythonnative
 
+EXTRA_OECONF_remove = "--without-python"
 EXTRA_OECONF += "--with-python=${STAGING_BINDIR_NATIVE}/python-native/python"
 
 do_compile_prepend() {
--
Quoted 2 lines

2.7.3

Please ignore this patch.
It is is replaced by "gdb-cross: use PACKAGECONFIG for python and readline".

Regards,
Jonathan