The goal is to have oe_runconf happen twice. So we want
the normal gdb-cross.inc do_configure to happen so we get
an initial configure. Then gdb-cross-sdk does its thing and
then we run oe_runconf again.
All of this shows that we really need to sit down and think and
test the dance we're doing here.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
# Since we statically link against the required host libraries we don't
# add a depenency on the -sdk versions of them.
-do_configure () {
+do_configure_append () {
cd ${B}
oe_runmake configure-host
sed -e 's,-lncurses,${STAGING_LIBDIR_NATIVE}/libncurses.a ${STAGING_LIBDIR_NATIVE}/libtinfo.a ,g' -i ${B}/gdb/Makefile