[OE-core] [PATCH 17/22] bitbake.conf: Add default tune-${DEFAULTTUNE} override

Mark Hatle mark.hatle at windriver.com
Mon Aug 1 14:36:52 UTC 2011


On 8/1/11 4:09 AM, Phil Blundell wrote:
> On Mon, 2011-08-01 at 00:36 -0700, Saul Wold wrote:
>> From: Mark Hatle <mark.hatle at windriver.com>
>>
>> We need to add the tune-* override in order for more complicated tune
>> features to function properly.
>>
>> Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
>> ---
>>  meta/conf/bitbake.conf |    3 ++-
>>  1 files changed, 2 insertions(+), 1 deletions(-)
>>
>> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
>> index 9c80f11..11dfb6d 100644
>> --- a/meta/conf/bitbake.conf
>> +++ b/meta/conf/bitbake.conf
>> @@ -637,9 +637,10 @@ AUTO_LIBNAME_PKGS = "${PACKAGES}"
>>  #
>>  # This works for  functions as well, they are really just environment variables.
>>  # Default OVERRIDES to make compilation fail fast in case of build system misconfiguration.
>> -OVERRIDES = "${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}:${MACHINEOVERRIDES}:${DISTROOVERRIDES}:forcevariable"
>> +OVERRIDES = "${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}:pn-${PN}:${MACHINEOVERRIDES}:${TUNEOVERRIDES}:${DISTROOVERRIDES}:forcevariable"
>>  DISTROOVERRIDES ?= "${DISTRO}"
>>  MACHINEOVERRIDES ?= "${MACHINE}"
>> +TUNEOVERRIDES ?= "tune-${DEFAULTTUNE}"
> 
> What exactly are the "more complicated tune features" that require this?
> It's not obvious to me that this is a good idea.

See the other patch that Richard commented on.  My understanding was that the
value of the OVERRIDES could change during the multilib configurations.  Seems
that I was wrong here.

The concept behind this was to be able to specify certain values based on an
override instead of having to do inline python.. but it appears that simply
won't work.

(Values such as package_extra_arch, pkgarch, etc..)

--Mark

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





More information about the Openembedded-core mailing list