anchor.diff:                    --target=${TARGET_SYS} \
                     ${@append_libtool_sysroot(d)} \
                     ${EXTRA_OECONF}
  +}
  +
  +do_compile_prepend() {
  +    pwd
  +    cd "${S}"
  +    pwd
  +}
  +
  +do_install_prepend() {
  +    pwd
  +    cd "${S}"
  +    pwd
   }
   
   # XBMC plugins requires python modules and dynamically loaded libraries
  
positive.code: 
  LICENSE = "GPLv2"
  LIC_FILES_CHKSUM = "file://copying.txt;md5=8c8473d035f42f5883d82c5f6828eba7"
  DEPENDS = "ffmpeg mysql5 libsamplerate0 alsa-lib udev libvorbis boost libass mpeg2dec libmad libmodplug tiff yajl libtinyxml taglib libcdio jasper libmicrohttpd libssh samba rtmpdump libnfs samba swig-native libxslt libplist shairplay flac"
  DEPENDS_append_mx6 = " virtual/kernel virtual/libgles2 virtual/egl libfslvpuwrap libcec"
  
  SRC_URI = "git://github.com/xbmc/xbmc.git;rev=${SRCREV};branch=${SRCBRANCH} \
  
negative.code: PR = "${INC_PR}.1"
  
  S = "${WORKDIR}/git"
  B := "${S}"
  
  inherit autotools lib_package pkgconfig gettext python-dir record-installed-app
  
  EXTRA_OECONF="ac_cv_path_JAVA_EXE=/usr/bin/java \
  --prefix=/imx6/kodi --disable-x11 --disable-sdl --disable-xrandr --disable-gl --disable-vdpau --disable-vaapi --disable-openmax --enable-gles --enable-udev --enable-codec=imxvpu --disable-debug --disable-texturepacker --enable-airplay --enable-airtunes"
  
  CPPFLAGS += " -I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include "
  CXXFLAGS += " -I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include "
  