[oe] [PATCH] distro: Add new feature to indicate thumb-interworking.

Khem Raj raj.khem at gmail.com
Sat Jul 24 09:22:40 UTC 2010


On Fri, Jul 23, 2010 at 4:55 AM, Phil Blundell <philb at gnu.org> wrote:
> 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?

yes thats better I guess.

>
>> --- 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?

I have tried to build for slugos and the device nslu2 is based on xscale so I
this this should be needed for slugos.


>
> p.
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list