[OE-core] Add basic PowerPC core tune config (bug?)

Saul Wold sgw at linux.intel.com
Thu Jul 28 06:09:16 UTC 2011


On 07/27/2011 10:25 PM, Kumar Gala wrote:
> For some reason when I get to do_rootfs for core-image-sato when using rpms I run into an issue in that:
>
> ${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}}
>
> Isn't expanding or taking the assignment in meta/conf/machine/include/tune-ppcFOO.inc but just using what it found in meta/conf/bitbake.conf
>
> the tune-ppcFOO.inc looks like:
>
> DEFAULTTUNE ?= "ppce5500"
>
> require conf/machine/include/powerpc/arch-powerpc64.inc
>
> TUNEVALID[ppce5500] = "Enable ppce5500 specific processor optimizations"
> TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "ppce5500", "-mcpu=e5500", "", d)}"
> TUNE_PKGARCH .= "${@bb.utils.contains("TUNE_FEATURES", "ppce5500", "ppce5500", "", d)}"
>
> AVAILTUNES += "ppce5500"
> TUNE_FEATURES_tune-ppce5500 = "m64 hard-fpu ppce5500"
> PACKAGE_EXTRA_ARCHS_tune-ppce5500 = "powerpc64 ppce5500"
>
> any ideas?
>
I believe that I am seeing this also with an atom-pc build, where the 
PACKAGE_EXTRA_ARCHS seems OK, but ends up just being i586 instead of a 
list of ARCHS that includes core2 (which atom-pc should be).

I am looking into this issue.

Sau!

> - k
> _______________________________________________
> 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