Make sure uninative_event_fetchloader and uninative_event_enable are called at the same time on an early build event (bb.event.ConfigParsed). This way the uninative binaries are fetched even before the recipe are parsed (the event is raised several time before the recipes are finally parsed). And the uninative variables are set to the correct values for recipe parsing. Note: it also saves a second complete parsing the second time you run bitbake.
Signed-off-by: Cuero Bugot <cbu...@sierrawireless.com> --- meta/classes/uninative.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/uninative.bbclass b/meta/classes/uninative.bbclass index 8f34483..5d4b277 100644 --- a/meta/classes/uninative.bbclass +++ b/meta/classes/uninative.bbclass @@ -9,7 +9,7 @@ UNINATIVE_TARBALL ?= "${BUILD_ARCH}-nativesdk-libc.tar.bz2" UNINATIVE_DLDIR ?= "${DL_DIR}/uninative/" addhandler uninative_event_fetchloader -uninative_event_fetchloader[eventmask] = "bb.event.BuildStarted" +uninative_event_fetchloader[eventmask] = "bb.event.ConfigParsed" addhandler uninative_event_enable uninative_event_enable[eventmask] = "bb.event.ConfigParsed" -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core