[yocto] native recipe and sysroot-destdir troubles

Philip Tricca flihp at twobit.us
Thu Apr 12 07:44:56 PDT 2012


Yocto,

I'm working on two new recipes and both are working quite well.  Now I
need native variants and online sources indicate this should be done
through BBCLASSEXTEND = "native".  For one of my recipes this works
fine, for the other not so much.

The error I'm seeing seems to be in the staging of the sysroot-destdir
which ends up being empty though the source code builds fine (image
directory has everything expected). do_populate_sysroot seems to assume
there's a directory structure present which ends up being empty causing
an error when it trys to tar the directory up.  If I create the
directories do_populate_sysroot expects the recipe runs to completion
but sysroot-destdir still ends up being empty and no packages are built.

Given that one of my packages works fine I'd guess the problem lies in
the Makefiles for the offending source tree and not yocto though I'm
still unsure of how to move forward.  Any help would be appreciated.  I
can pastebin the receips if that will help.

TIA,
- Philip

P.S. OE Build Configuration:
BB_VERSION        = "1.13.3"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "qemux86"
DISTRO            = "poky"
DISTRO_VERSION    = "1.1"
TUNE_FEATURES     = "m32 i586"
TARGET_FPU        = ""
meta
meta-yocto        = "<unknown>:<unknown>"




More information about the yocto mailing list