anchor.diff:          -DBIOS_INSTALL_PATH=${SYSBIOS_INSTALL_DIR}/packages \
           -DLOKI_INCLUDE_PATH=${STAGING_DIR_HOST}/usr/include/loki \
           -DARM_LLVM_DIR=${ARM_LLVM_DIR} \
  -        -DOCL_VERSION=${PV} ../git/host;
  -    make install
  -    make -C packages install
  -    cd ..
  +        -DOCL_VERSION=${PV} "${S}";
  +}
  +
  +do_compile() {
  +    unset LDFLAGS
  +    unset TARGET_LDFLAGS
  +
  +    oe_runmake
  +    oe_runmake -C packages
   }
   
   # Install x86/Linux clocl built by clocl-rtos-native recipe
   do_install() {
  -    install -d ${DESTDIR}/usr/share/ti/opencl/bin/x86
  -    install -m 755 ${STAGING_DIR_NATIVE}/usr/share/ti/ti-opencl-rtos-tree/bin/x86/clocl ${DESTDIR}/usr/share/ti/opencl/bin/x86
  +    unset LDFLAGS
  +    unset TARGET_LDFLAGS
  +
  +    oe_runmake install
  +    oe_runmake -C packages install
  +
  +    install -d ${D}/usr/share/ti/opencl/bin/x86
  +    install -m 755 ${STAGING_DIR_NATIVE}/usr/share/ti/ti-opencl-rtos-tree/bin/x86/clocl ${D}/usr/share/ti/opencl/bin/x86
   }
  +
  +FILES_${PN}-dev += "/usr/share/ti/opencl ${OCL_RTOS_INSTALL_DIR_RECIPE}"
  +
  +INSANE_SKIP_${PN} = "already-stripped"
  +INSANE_SKIP_${PN}-dev = "staticdev file-rdeps arch"
  
positive.code: 
  
  S = "${WORKDIR}/git/host"
  
  export WANT_LLVM_RELEASE = "3.6-ti"
  
  
negative.code: 
  export TI_OCL_CGT_INSTALL = "${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x"
  export ARM_LLVM_DIR="${LLVM_RTOS_INSTALL_DIR}"
  export DESTDIR="${D}${OCL_RTOS_INSTALL_DIR_RECIPE}/ti-opencl-rtos-${RELEASE_TARGET}-${PV}/packages/ti/opencl"
  
  # Required for eclipse plugin and packages
  export XDC_DIR = "${XDC_INSTALL_DIR}"
  export BIOS_DIR = "${SYSBIOS_INSTALL_DIR}"
  export IPC_DIR = "${IPC_INSTALL_DIR}"
  
  do_configure() {
      unset LDFLAGS
      unset TARGET_LDFLAGS
  
      rm -rf "${B}"
  
      mkdir -p "${B}"
      cd "${B}"; cmake \
          -DCMAKE_TOOLCHAIN_FILE=../git/host/cmake/CMakeBiosARMToolChain.txt \
          -DBUILD_TARGET=${OCL_BUILD_TARGET} \
          -DBUILD_OUTPUT=lib \
  