<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>2670</bug_id>
          
          <creation_ts>2012-06-28 17:49:24 +0000</creation_ts>
          <short_desc>Need a way to pass option to kernel build</short_desc>
          <delta_ts>2013-03-01 14:58:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>kernel</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.4 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Reinette Chatre">reinette.chatre</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>song.liu</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22678</commentid>
    <comment_count>0</comment_count>
    <who name="Reinette Chatre">reinette.chatre</who>
    <bug_when>2012-06-28 17:49:24 +0000</bug_when>
    <thetext>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 &quot;KALLSYMS_EXTRA_PASS=1&quot; 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!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30329</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-03-01 14:58:40 +0000</bug_when>
    <thetext>Patch merged into master: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=8264863ea0674f6cb105f5f7301861408fdc409b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>