TUNE_ARCH has been present since a long time (always?) - it was present in Dunfell too. It should to be set automatically, based on other variables.

tune-cortexa72.inc is in conf/machine/include/arm/armv8a folder - it supposed to take care of these values. This path might have been different in Dunfell though, so you should definitely check if you are including an existing .inc in your machine config, and not have an outdated path there.

(Tangentially related: If you are using "include" keyword in your config/recipes for non-optional includes, consider changing it to "require" - it will fail with better error messages in case of incorrect paths)

On 21.01.25 13:07, Ganesh Mahajan via lists.yoctoproject.org wrote:
when tried to build image using command bitbake -k wac-core-image below error poped up. ERROR:  OE-core's config sanity checker detected a potential misconfiguration.     Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:
    TUNE_ARCH is unset. Please ensure your MACHINE configuration includes a valid tune configuration file which will set this correctly. Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS:tune-${DEFAULTTUNE}} wacin) for DEFAULTTUNE (None) does not contain TUNE_PKGARCH ().Toolchain tunings invalid:
No tuning found for default multilib.
I am upgrading from dunfell to scarthgap-5.0.5 (LTS), were dunfell had no TUNE_ARCH (tune-coretexA72.inc) but scarthgap has it. or is it a good practice to disable the checker? Location for tune-coretexA72.inc should be /conf/machine/ ?



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64601): https://lists.yoctoproject.org/g/yocto/message/64601
Mute This Topic: https://lists.yoctoproject.org/mt/110732051/21656
Mute #scarthgap:https://lists.yoctoproject.org/g/yocto/mutehashtag/scarthgap
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to