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

Kumar Gala galak at kernel.crashing.org
Thu Jul 28 05:25:47 UTC 2011


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?

- k



More information about the Openembedded-core mailing list