[yocto] Bitbake on live (uncommitted) code

Paul Eggleton paul.eggleton at linux.intel.com
Tue Sep 17 11:01:43 PDT 2013


Hi Brad,

On Tuesday 17 September 2013 17:48:18 Brad Litterell wrote:
> I've been using externalsrc for a few days now and have a follow on
> question.
> 
> It appears that bitbake's state information for the various recipes doesn't
> react to changes in source files in an external source.  IOW, when I change
> a file in my external folder I need to perform 3 steps to create a new file
> system that reflects the change:
> 
> bitbake <component> -c clean
> bitbake <component>
> bitbake <image>
> 
> Is it possible to ask bitbake to be more thorough about detecting file
> changes in external sources and rebuild the affected component
> automatically?

I'm not sure if that would be practical; we'd need to checksum quite a lot of 
files for a large source tree. However, there is a slightly simpler method:

bitbake -C compile <component>
bitbake <image>

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list