<?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>10197</bug_id>
          
          <creation_ts>2016-08-31 06:44:58 +0000</creation_ts>
          <short_desc>Suggested additions to the MLPREFIX glossary entry</short_desc>
          <delta_ts>2016-09-01 21:59:07 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>Reference</product>
          <component>handbook</component>
          <version>2.2</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>01 Sept 2016: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ulfalizer</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>poky.doc.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65628</commentid>
    <comment_count>0</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-08-31 06:44:58 +0000</bug_when>
    <thetext>Hello,

I think adding the following to the end of the MLPREFIX glossary entry would demystify it a lot:

  Note {
    The &quot;ML&quot; in MLPREFIX stands for &quot;MultiLib&quot;. This is historical and comes from
    a time when &apos;nativesdk&apos; was a suffix rather than a prefix on the recipe name.
    When &apos;nativesdk&apos; was turned into a prefix, it made sense to set MLPREFIX for
    it as well.
  }
  
  An example situation where MLPREFIX might be needed is when using
  [BBCLASSEXTEND] to provide a nativesdk version of a recipe in addition to the
  target version. If that recipe declares build-time dependencies on tasks in
  other recipes by using [DEPENDS], then a dependency on &quot;foo&quot; will
  automatically get rewritten to a dependency on &quot;nativesdk-foo&quot;. However,
  dependencies like the following will not get rewritten automatically:
  
    do_foo[depends] += &quot;some-recipe:do_foo&quot;
  
  If you want such a dependency to also get transformed, you can do the
  following:
  
    do_foo[depends] += &quot;${MLPREFIX}some-recipe:do_foo&quot;


Cheers,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65725</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-09-01 21:17:38 +0000</bug_when>
    <thetext>Ulf, 

See http://www.yoctoproject.org/docs/2.2/ref-manual/ref-manual.html#var-MLPREFIX

Thanks,
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65731</commentid>
    <comment_count>2</comment_count>
    <who name="">ulfalizer</who>
    <bug_when>2016-09-01 21:49:19 +0000</bug_when>
    <thetext>Looks fine to me.

Thanks,
Ulf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65739</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-09-01 21:59:07 +0000</bug_when>
    <thetext>Thanks, 

Setting to RESOLVED and putting the doc flag to &quot;done.&quot;

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>