All of lore.kernel.org
 help / color / mirror / Atom feed
* undocumented MACHINE_FEATURES, and what makes something a MACHINE feature?
@ 2013-11-15 10:49 Robert P. J. Day
  2013-11-15 22:56 ` Burton, Ross
  0 siblings, 1 reply; 9+ messages in thread
From: Robert P. J. Day @ 2013-11-15 10:49 UTC (permalink / raw)
  To: Yocto discussion list


  quick scan shows the following MACHINE features are not listed in
section 10.2 of the ref manual:

 rtc
 vfat
 phone
 qvga
 efi
 pcibios

conversely, "screen" is listed but doesn't appear to be a valid
MACHINE feature. but here's a curiosity i noticed.

  "wifi" is listed in the ref manual as a MACHINE feature but,
throughout the dora source tree, here is the set of tests for it as a
"FEATURE":

$ grep -r "base_contains.*_FEATURES" * | grep wifi
meta/recipes-connectivity/neard/neard.inc:
${@base_contains('DISTRO_FEATURES', 'wifi','wpa-supplicant', '', d)} \
meta/recipes-connectivity/connman/connman.inc:
${@base_contains('DISTRO_FEATURES', 'wifi','wifi', '', d)} \
meta/recipes-core/packagegroups/packagegroup-base.bb:
${@base_contains("DISTRO_FEATURES", "wifi", "packagegroup-base-wifi",
"", d)} \
meta/recipes-core/packagegroups/packagegroup-base.bb:
${@base_contains('COMBINED_FEATURES', 'wifi',
'packagegroup-base-wifi', '',d)} \
meta/recipes-core/packagegroups/packagegroup-base.bb:
${@base_contains('DISTRO_FEATURES', 'wifi', 'kernel-module-hostap-cs',
'',d)} \
meta/recipes-core/packagegroups/packagegroup-base.bb:
${@base_contains('DISTRO_FEATURES', 'wifi',
'kernel-module-orinoco-cs', '',d)} \
meta/recipes-core/packagegroups/packagegroup-base.bb:
${@base_contains('DISTRO_FEATURES', 'wifi',
'kernel-module-spectrum-cs', '',d)}"
$

  as you can see, the only tests for 'wifi' involve either
DISTRO_FEATURES or COMBINED_FEATURES, *not* MACHINE_FEATURES
individually. under the circumstances, then, can 'wifi' be considered
a legitimate MACHINE feature if it's never being tested in that
context? (the same can be said for 'bluetooth', by the way.)

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-11-20 14:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-15 10:49 undocumented MACHINE_FEATURES, and what makes something a MACHINE feature? Robert P. J. Day
2013-11-15 22:56 ` Burton, Ross
2013-11-16  8:19   ` Robert P. J. Day
2013-11-16  8:52   ` Robert P. J. Day
2013-11-16  9:46   ` Robert P. J. Day
2013-11-18 11:57     ` Paul Eggleton
2013-11-18 12:11       ` Robert P. J. Day
2013-11-20 13:09       ` Robert P. J. Day
2013-11-20 14:17   ` Robert P. J. Day

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.