[oe] [PATCH] busybox: allow building when prefix is "", not "/usr".

Phil Blundell pb at reciva.com
Tue May 26 16:16:52 UTC 2009


On Mon, 2009-05-25 at 23:35 -0400, Michael Smith wrote:
> For insane backwards compatibility reasons (my own fault) I would like
> to be able to create packages with no /usr and /sbin == /bin. Most
> autoconf packages are happy about this; busybox just needs a little
> help.

This looks pretty cool.  I've been thinking for a while that it would be
nice to eliminate /usr for embedded distros such as micro (and maybe
minimal).  That separation is basically just a waste of time and space
on those kinds of devices.

> btw, I have not yet figured out where ${layout_blah} vs. ${blah}
> should be used (e.g. ${layout_prefix} and ${prefix}). I've tried to be
> consistent, so I figure there's a 50% chance I guessed right.

I'm not quite sure either but I think the recipes should probably always
be using ${blah}, as you've done.  I don't remember now why I introduced
${layout_blah} into busybox.bb in the first place but I suspect it was
probably an attempt to work around some kind of Qt and/or MythTV-related
path lossage.

p.






More information about the Openembedded-devel mailing list