In certain cases we would re-run configure as part of do_compile
and thus wipe out our changes. So lets make the change before
we run configure the first time so they are preserved.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
export ac_cv_path_M4="${ac_cv_path_M4=${bindir}/m4}"
export ac_cv_prog_gnu_m4="${ac_cv_prog_gnu_m4=yes}"
fi
+
+ sed -i -e's,^SUBDIRS = .*,SUBDIRS = ${SUBDIRS},' ${S}/Makefile.am
}
do_configure_append() {
sed -i -e "s:#! @PERL@ -w:#! /usr/bin/env perl:" ${S}/bin/*.in
}
-do_compile () {
- sed -i -e's,^SUBDIRS = .*,SUBDIRS = ${SUBDIRS},' Makefile
- oe_runmake
-}
-
PARALLEL_MAKE = ""
BBCLASSEXTEND = "native"