Bug 2670

Summary: Need a way to pass option to kernel build
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Reinette Chatre <reinette.chatre>
Component: kernelAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Medium CC: bruce.ashfield, song.liu, tom.zanussi
Version: unspecified   
Target Milestone: 1.4 M5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Reinette Chatre 2012-06-28 17:49:24 UTC
ARM builds appear to fail with errors unique to this architecture. Examples can be found in:
http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/19444
http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/089718.html

In both of the above cases the issue can be resolved by passing compile option to the kernel build when building for ARM. The first thread proposed a solution which was later sent as an official patch at http://permalink.gmane.org/gmane.comp.handhelds.openembedded.core/19700

The solution proposed in this patch enables us to also pass the option "KALLSYMS_EXTRA_PASS=1" to our kernel build on ARM and thus resolve the issues we are seeing with this build.

Some alternative solutions were proposed in http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/19444 , but there does not appear to be any consensus. The proposed patch has not been merged.

Could you please propose how we can pass kernel build options based on machine we are building for?

I am carrying http://permalink.gmane.org/gmane.comp.handhelds.openembedded.core/19700 privately until this is resolved. 

Thank you!
Comment 1 Richard Purdie 2013-03-01 14:58:40 UTC
Patch merged into master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=8264863ea0674f6cb105f5f7301861408fdc409b