[oe] RFC: handling of machine/distro features stuff
Marcin Juszkiewicz
openembedded at hrw.one.pl
Fri Nov 17 00:01:05 UTC 2006
Dnia niedziela, 29 października 2006 15:28, Marcin Juszkiewicz napisał:
> 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.
Holger 'zecke' Freyther pointed me to MacPorts and their 'variants'. After
looking at them I think that those are other kind of our overrides.
Which points me to this idea: how about adding COMBINED_FEATURES into
overrides? I do not know will it slow down BitBake or make metadata bit
more ugly but it is kind of solution.
do_configure() {
do something
}
do_configure_pci() {
do something
do something PCI related
}
would solve wpa-supplicant example.
What do you think?
--
JID: hrw-jabber.org
OpenEmbedded developer/consultant
"To be or not to be that is the question.":
every programmer knows the answer $2b or (not $2b) is $ff.
More information about the Openembedded-devel
mailing list