[meta-intel] [PATCH 0/4] misc meta-intel Fixes

Burton, Ross ross.burton at intel.com
Wed Aug 14 13:05:49 PDT 2013


On 14 August 2013 20:46,  <nitin.a.kamble at intel.com> wrote:
> Recently an issue was observed and fixed on meta-minnow, which was breaking
> builds when DISTRO is not poky. The same issue also exist on the
> crownbay, emenlow, fri2 & sys940x BSPs.
>   Here are the commits to fix the issue for these BSPs.

Not sure I like changing DISTRO_FEATURES from within a BSP, that's a
layering violation in my opinion.

There was a patch a week or so ago to add a
distro_features_check.bbclass, which let you do this in recipes:

  inherit distro_features_check
  REQUIRED_DISTRO_FEATURES = "x11"

There was some debate on the patch but it's fairly trivial to do this
sort of check in an anonymous Python function without the class,
systemd does this to ensure it only gets built in a distribution with
the systemd feature.

Ross



More information about the meta-intel mailing list