All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcin Juszkiewicz <openembedded@hrw.one.pl>
To: openembedded-devel@lists.openembedded.org
Subject: RFC: handling of machine/distro features stuff
Date: Sun, 29 Oct 2006 15:28:39 +0100	[thread overview]
Message-ID: <200610291528.40663.openembedded@hrw.one.pl> (raw)


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.





             reply	other threads:[~2006-10-29 14:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-29 14:28 Marcin Juszkiewicz [this message]
2006-10-29 22:10 ` RFC: handling of machine/distro features stuff 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200610291528.40663.openembedded@hrw.one.pl \
    --to=openembedded@hrw.one.pl \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.