<?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>8554</bug_id>
          
          <creation_ts>2015-10-22 00:43:16 +0000</creation_ts>
          <short_desc>Support for self-contained &quot;baremetal&quot; CPU meta-layers</short_desc>
          <delta_ts>2016-07-26 13:57:37 +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>BitBake</product>
          <component>bitbake</component>
          <version>2.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>other</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>enhancement</bug_severity>
          <target_milestone>2.2 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Juro Bystricky">juro.bystricky</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>tim.orling</cc>
          
          <qa_contact name="Daniel Istrate">daniel.alexandrux.istrate</qa_contact>
          <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>55589</commentid>
    <comment_count>0</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2015-10-22 00:43:16 +0000</bug_when>
    <thetext>Support already exists for building &quot;baremetal&quot; cross-compilers for various CPUs.
At present, when adding a new CPU support, we need to modify time:

    meta/classes/insane.bbclass
    meta/classes/kernel-arch.bbclass
    meta/classes/siteinfo.bbclass

The modifications themselves are simple, but it would be a cleaner solution
if whatever info is needed by these classes would be pulled from CPU specific  meta-layer (somehow). This way the meta-layer would be self-contained.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55590</commentid>
    <comment_count>1</comment_count>
    <who name="Juro Bystricky">juro.bystricky</who>
    <bug_when>2015-10-22 00:44:16 +0000</bug_when>
    <thetext>s/we need to modify time:/we need to modify:/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64352</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-07-22 14:28:58 +0000</bug_when>
    <thetext>I&apos;ve posted patches for siteinfo and insane. For kernel-arch, firstly there are only a limited number of supported linux kernel arches and secondly, an overide like ARCH_pn-linux-XXX = &quot;Y&quot; can usually be used. I&apos;m therefore not proposing to change that one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64485</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-07-26 13:57:37 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=ebc80fa30a98484b7fd1d568bd0f3d701a6f68d5
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=e693f2e641afa88dfb53371482e9c5be8dc8eb92</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>