All of lore.kernel.org
 help / color / mirror / Atom feed
* RFC: handling of machine/distro features stuff
@ 2006-10-29 14:28 Marcin Juszkiewicz
  2006-10-29 22:10 ` Jamie Lenehan
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Marcin Juszkiewicz @ 2006-10-29 14:28 UTC (permalink / raw)
  To: openembedded-devel


Currently OpenEmbedded use overrides based on DISTRO, MACHINE, TARGET_ARCH 
and few others. I want to suggest start of using also 
{MACHINE,DISTRO}_FEATURES because we have some stuff in metadata which 
make sense only on some targets only - for example madwifi is limited to 
PCI devices only.

Why do this at all? Let me take wpa-supplicant 0.5.x as example.

I'm building own distribution for my PDA devices and want to use latest 
possible software. But wpa-supplicant 0.5.1 depends on madwifi which 
cannot be build because my target device does not have PCI bus support. If 
I remove madwifi stuff from wpa-supplicant recipe then I will get working 
version. But this cannot be pushed back into repo because NSLU2 related 
distros want version with madwifi support.

Solution can be adding checking for pci support in 
{MACHINE,DISTRO}_FEATURES and only then enable madwifi support:

DEPENDS = "gnutls \ 
${@base_contains("DISTRO_FEATURES", "pci", "madwifi", "",d)}"

Same stuff can go into madwifi recipe so it will get skipped if target 
device lack PCI support.


-- 
JID: hrw-jabber.org
OpenEmbedded developer/consultant

               Life's not fair. But the root password helps.





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

end of thread, other threads:[~2006-11-24 17:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-29 14:28 RFC: handling of machine/distro features stuff Marcin Juszkiewicz
2006-10-29 22:10 ` Jamie Lenehan
2006-10-30  1:32 ` Justin Patrin
2006-11-04 13:37   ` Leon Woestenberg
2006-11-17  0:01 ` Marcin Juszkiewicz
2006-11-17  9:25   ` Richard Purdie
2006-11-24 16:03     ` Marcin Juszkiewicz
2006-11-24 17:56       ` Richard Purdie

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.