Bug 5064 - CONFIG_CC_OPTIMIZE_FOR_SIZE overridden for arm targets
Summary: CONFIG_CC_OPTIMIZE_FOR_SIZE overridden for arm targets
Status: RESOLVED FIXED
Alias: None
Product: Kernel
Classification: Yocto Project Subprojects
Component: kernel-configuration (show other bugs)
Version: 1.5
Hardware: Beagleboard arm
: Medium normal
Target Milestone: 1.5 M4
Assignee: Bruce Ashfield
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-08-28 16:17 UTC by Peter A. Bigot
Modified: 2013-08-29 14:59 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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