[oe] [PATCH] base.bbclass: add support for SOC_FAMILY in COMPATIBLE_MACHINES
Phil Blundell
philb at gnu.org
Wed Aug 4 11:48:38 UTC 2010
On Wed, 2010-08-04 at 13:17 +0200, Michael 'Mickey' Lauer wrote:
> FWIW, minimal is using MACHINE_CLASS since quite a while to
> reduce the need for adding the same files over and over again,
> this is being used e.g. for HTC msm7 series and OpenEZX series
> (see conf/machine/include).
>
> Perhaps it's time to standardize something like that.
Yeah. I certainly don't think we want a proliferation of such
mechanisms. If minimal is already using MACHINE_CLASS then there would
be some sense in trying to make use of the same thing.
My preference would be to make the MACHINEs in question be, for example,
"motorola-ezx-a1200", "motorola-ezx-a780" and so on. This would then
allow you to set COMPATIBLE_MACHINE = "motorola-ezx-.*" which I think
would solve the SOC_FAMILY problem, although it wouldn't replace
MACHINE_CLASS in OVERRIDES.
Failing that though, testing COMPATIBLE_MACHINE against MACHINE_CLASS
probably is more desirable than adding a completely new variable (i.e.
SOC_FAMILY) for that purpose.
p.
More information about the Openembedded-devel
mailing list