Bug 5064

Summary: CONFIG_CC_OPTIMIZE_FOR_SIZE overridden for arm targets
Product: [Yocto Project Subprojects] Kernel Reporter: Peter A. Bigot <pab>
Component: kernel-configurationAssignee: Bruce Ashfield <bruce.ashfield>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: dvhart, sgw, yp.kernel.watcher, yp.watcher
Version: 1.5   
Target Milestone: 1.5 M4   
Hardware: Beagleboard   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Peter A. Bigot 2013-08-28 16:17:00 UTC
The order of inclusion of kernel configuration files causes meta/cfg/kernel-cache/arch/arm/arm.cfg.sanitized, which specifies CONFIG_CC_OPTIMIZE_FOR_SIZE=y, to occur before meta/cfg/kernel-cache/ktypes/standard/standard.cfg.sanitized, which specifies CONFIG_CC_OPTIMIZE_FOR_SIZE is undefined.

The resulting configuration does not optimize for size.

Per http://lists.openembedded.org/pipermail/openembedded-core/2013-August/082500.html this is unintentional and undesired.
Comment 1 Bruce Ashfield 2013-08-28 16:37:19 UTC
By chance, I was already changing this as part of my 3.10 work. The order has been
restored here, and when the dust settles, I'll send out the changes.
Comment 2 Darren Hart 2013-08-29 14:58:32 UTC
Resolved in master:

8b36aa4 linux-yocto/3.10: fix ssh login and restore CC_OPTIMIZE_FOR_SIZE