[oe] rename files dirs

Martin Jansa martin.jansa at gmail.com
Mon Aug 16 20:11:08 UTC 2010


On Mon, Aug 16, 2010 at 10:00:42PM +0200, Frans Meulenbroeks wrote:
> Currently lots of our patches reside in a directory called files.
> Somewhere in the past koen explained me that that is not really proper
> (and I agree with them).
> files should only be used in case a dir has multiple recipes (say X.bb
> and Y.bb) which both use the same patch
> If there is only a single recipe with multiple versions (e.g.X_0.bb
> and X_1.bb) then common patches should go into a dir X.
> And if the patches are for a specific version they should go in X-0, X-1 etc.
> 
> When I'm bored again on a rainy sunday afternoon or so, I can spent
> some time on moving things.
> Are people comfortable with that?
> Also what would be the preferred way to store the patches for a recipe
> with only one version (Z_3.bb)
> Should this preferably be in Z or in Z-3 ?

If it's something where you expect the need to update the patch for Z_4
then I would say Z-3, but if it's some tweak (ie to allow crossbuilding)
and the same patch applied to Z_[12345] then Z is right dir (if Z_6
needs updated patch it will be named the same but in Z-6).
> 
> Your opinion is apprecated

I did exactly the same while cleaning xorg-* dirs. So I agree.

Regards,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com




More information about the Openembedded-devel mailing list