<?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>13226</bug_id>
          
          <creation_ts>2019-03-15 00:19:16 +0000</creation_ts>
          <short_desc>Support out of tree modules for alternate kernels</short_desc>
          <delta_ts>2026-10-27 22:56:07 +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>ACCEPTED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>6.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>jonathan.yong</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>randy.macleod</cc>
    
    <cc>tom.zanussi</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>83271</commentid>
    <comment_count>0</comment_count>
    <who name="">jonathan.yong</who>
    <bug_when>2019-03-15 00:19:16 +0000</bug_when>
    <thetext>Now that it is possible to build multiple kernels with KERNEL_PACKAGE_NAME, out of tree kernel modules using the module bbclass still need to be handled for alternate kernels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83272</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2019-03-15 21:51:42 +0000</bug_when>
    <thetext>Can you elaborate on the parts that are not working ? Are they building against the wrong headers ? The wrong kernel source ? Something else ? 

Also, can you supply your test configuration and setup for showing the issues.

Since you are already setup to see the issues, it saves everyone time if you provide the details in the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83279</commentid>
    <comment_count>2</comment_count>
    <who name="">jonathan.yong</who>
    <bug_when>2019-03-18 00:58:23 +0000</bug_when>
    <thetext>Today the out of tree modules build fine, but it is only built against the kernel PREFERRED_PROVIDER_virtual/kernel kernel (where KERNEL_PACKAGE_NAME is set to &quot;kernel&quot;).

I am not aware of a method to build the same out of tree kernel module against the other kernels that have KERNEL_PACKAGE_NAME set to something besides &quot;kernel&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83381</commentid>
    <comment_count>3</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2019-03-29 16:17:56 +0000</bug_when>
    <thetext>Bruce,

It appears you question has been answered.  I have moved this out of NEEDINFO back to accepted.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89624</commentid>
    <comment_count>4</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2021-03-15 19:14:51 +0000</bug_when>
    <thetext>bumping to next release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99926</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-10-17 19:04:12 +0000</bug_when>
    <thetext>Bulk move of medium importance bugs from 5.1 to 5.2 on behalf of Bruce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107217</commentid>
    <comment_count>6</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2026-10-27 22:56:07 +0000</bug_when>
    <thetext>Moving off old milestone per bug cleanup (to 6.2 M2).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>