anchor.diff:  inherit ptest
   
   do_compile_ptest() {
  +        export LIBDIR="${libdir}/"
           oe_runmake TARGETCC="${CC}" TARGETAR="${AR}" "tests"
   }
   
  
positive.code: do_configure_prepend() {
     export TARGETCC="${CC}"
     export TARGETAR="${AR}"
  }
  
  do_configure_append() {
  
negative.code: }
  
  do_install() {
     export LIBDIR="${libdir}/"
     oe_runmake DESTDIR=${WORKDIR}/image install CFLAGS="--sysroot=${STAGING_DIR_TARGET}" TARGETCC="${CC}" TARGETAR="${AR}"
     unlink ${WORKDIR}/image/${libdir}/libsoletta.so
     mv ${WORKDIR}/image/${libdir}/libsoletta.so.0.0.1 ${WORKDIR}/image/${libdir}/libsoletta.so
     ln -sf libsoletta.so ${WORKDIR}/image/${libdir}/libsoletta.so.0.0.1
     COMMIT_ID=`git --git-dir=${WORKDIR}/git/.git rev-parse --verify HEAD`
     echo "Soletta: $COMMIT_ID" > ${D}/${libdir}/soletta/soletta-image-hash
  
     # Remove nan module as it is not needed.
     rm -rf ${WORKDIR}/image/${libdir}/node_modules/soletta/node_modules/nan
  }
  
  do_install_append() {
  