[oe] [PATCH] distro: Add new feature to indicate thumb-interworking.
Phil Blundell
philb at gnu.org
Fri Jul 23 11:55:29 UTC 2010
On Wed, 2010-07-21 at 15:44 -0700, Khem Raj wrote:
> +# Add thumb-interwork to feature list if selected machine supports it.
> +DISTRO_FEATURES += ' ${@["", "thumb-interwork"][bb.data.getVar('THUMB_INTERWORK', d, 1) == "yes"]}'
Would it not be better to put this in some generic place (maybe even
bitbake.conf) rather than adding it to every DISTRO individually?
> --- a/conf/distro/include/slugos.inc
> +++ b/conf/distro/include/slugos.inc
> @@ -23,9 +23,18 @@ DISTRO_VERSION ?= "${SLUGOS_VERSION}${DISTRO_REVISION}-${DISTRO_TYPE}"
> # DISTRO_FEED ?= "${SLUGOS_VERSION}-${DISTRO_TYPE}"
> DISTRO_FEED ?= "unstable"
>
> +THUMB_INTERWORK = "yes"
> +# "yes" "no"
> +# Whether to compile with code to allow interworking between the two
> +# instruction sets. This allows thumb code to be executed on a primarily
> +# arm system and vice versa. It is strongly recommended that DISTROs not
> +# turn this off - the actual cost is very small.
> # We want images supporting the following features (for task-base)
> DISTRO_FEATURES = "nfs smbfs wifi ppp alsa bluetooth ext2 vfat irda pcmcia usbgadget usbhost pci"
Is this a policy change for slugos? If so, are the SlugOS people happy
with it?
p.
More information about the Openembedded-devel
mailing list