[oe] [PATCH] base.bbclass: add support for SOC_FAMILY in COMPATIBLE_MACHINES

Phil Blundell philb at gnu.org
Wed Aug 4 21:50:29 UTC 2010


On Wed, 2010-08-04 at 09:11 -0500, Maupin, Chase wrote:
> From what I've learned it seems that MACHINE_CLASS and SOC_FAMILY are different in what they are trying to accomplish.
> 
> SOC_FAMILY is defining a family of processors and the features that processor has.  Whereas MACHINE_CLASS is defining a type of device and its features which can use different processors.  So basically SOC_FAMILY defines common processors and MACHINE_CLASS defines common end devices.
> 
> This difference is why SOC_FAMILY exists.  We can have many processors that fit into an SOC_FAMILY that can be used across a variety of end applications from DVR to ip net camera to mobile phone.

It's not completely obvious to me that, at the level of concrete
semantics, there is any real difference between those two scenarios.  If
you consider a hardware design as being a black box which contains a
bunch of features, the question of how exactly those features are
partitioned between particular ICs seems more or less irrelevant. 

It probably is true that there are multiple ways to carve up the
universe of machines into different "family" sets, and it might well
also be true that MACHINE_CLASS and SOC_FAMILY are currently using
slightly different rules for that, but I remain to be convinced that
both of them serve a useful and distinct purpose.  If they do, that
would suggest that what you really want to be using is MACHINE_FEATURES
rather than having a different variable for each possible grouping.

p.






More information about the Openembedded-devel mailing list