title: Overriding do_compile() functionality in bbappend
body: <p>I have a bb file with a do_compile function that I would like to override/replace without modiying the bb file. I want to completely change the content of do_compile, and have its 'new'  execution content in a bbappend file.</p>
  
  <p>Is there a way to do this?</p>
  
  <p>I tried a couple of things:</p>
  
  <ol>
  <li><p>In the bbappend file I created a function do_compile(), this does not replace the original nor gets executed</p></li>
  <li><p>In the bbappend file I created a function do_compile_append(), this seems to be never executed at all</p></li>
  <li><p>In the bbappend file I created a function do_install_prepend(), this is executed. However, this is not ideal as the original do_compile is also executed.</p></li>
  </ol>
  
  <p>Any help would be appreciated</p>