I have a user space application that needs to reference a header file from STAGING_KERNEL_DIR. If I do a fresh build using an already populated sstate cache STAGING_KERNEL_DIR doesn't get populated so if I then try to rebuild my application the build fails. Looking through module-base.bbclass I found the following line which fixes the problem:
do_configure[depends] += "virtual/kernel:do_shared_workdir" This forces STAGING_KERNEL_DIR to get built but it requires the kernel to completely rebuild which can take a while. I mostly just wanted to write this down for anyone that finds themselves in the same situation but I was also wondering if there is another way to get STAGING_KERNEL_DIR assembled from sstate cache that wouldn't require a kernel rebuild.
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
