anchor.diff:      cusparse-dev \
       npp \
       npp-dev \
  +    command-line-tools \
  +    core \
   "
   
   DEPENDS = "cuda-cudart"
  
positive.code: do_install() {
      install -d ${D}${prefix}/local/cuda-8.0/include
      install -d ${D}${prefix}/local/cuda-8.0/lib
      install -d ${D}${libdir}/pkgconfig
      cp -R --preserve=mode,timestamps ${B}/usr/local/cuda-8.0/targets/aarch64-linux/lib/* ${D}${prefix}/local/cuda-8.0/lib/
      cp -R --preserve=mode,timestamps ${B}/usr/local/cuda-8.0/targets/aarch64-linux/include/* ${D}${prefix}/local/cuda-8.0/include/
      for f in ${B}/usr/lib/pkgconfig/*; do
          install -m0644 $f ${D}${libdir}/pkgconfig/
      done
  
negative.code: 
  FILES_${PN} = "${prefix}/local/cuda-8.0/lib/*${SOLIBS} ${prefix}/local/cuda-8.0/lib/stubs"
  FILES_${PN}-staticdev = "${prefix}/local/cuda-8.0/lib/*.a"
  FILES_${PN}-dev = "${prefix}/local/cuda-8.0/include ${libdir} ${prefix}/local/cuda-8.0/lib/*.so ${prefix}/local/cuda-8.0/bin"
  
  INSANE_SKIP_${PN} += "dev-so dev-deps"
  INSANE_SKIP_${PN}-dev = "ldflags libdir dev-elf"
  