title: Can I get the path of a .bbappend file?
body: <p>I have a <code>.bbappend</code> file within a custom Yocto Project layer (and separate repo).    </p>
  
  <p>I would like to place information about my custom layer (e.g. git stuff for my custom repo/layer) within a file that this <code>.bbappend</code> modifies.  </p>
  
  <p>Any commands which are run from this <code>.bbappend</code> are run as if from the <code>.bb</code> file to which it appends (the <code>.bb</code> is in another layer and repo <a href="http://www.yoctoproject.org/docs/2.0/mega-manual/mega-manual.html#other-recommendations" rel="nofollow">as recommended</a>). </p>
  
  <p>I thought there might be some hope for running <code>VAR := "stuff ${OTHER_VAR} more"</code>, which <a href="http://elinux.org/Bitbake_Cheat_Sheet" rel="nofollow">some documentation</a> says is "immediate variable expansion" which is "expanded at time of parsing this line".  Unfortunately, it looks like the appending happens before the parsing. </p>
  
  <p>I like the compartmentalized aspect of <code>.bbappend</code> but haven't found a way to refer to the <code>.bbappend</code> itself or if there is some other way to get the git info from the original layer. Any thoughts?</p>