anchor.diff:  inherit l4t_bsp
   require recipes-kernel/linux/linux-yocto.inc
   
  +DEPENDS_remove = "kern-tools-native"
  +DEPENDS_append = " kern-tools-tegra-native"
  +
   LINUX_VERSION ?= "4.9.140"
   PV = "${LINUX_VERSION}+git${SRCPV}"
   FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}-${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1]}:"
  
positive.code: SCMVERSION ??= "y"
  
  SRCBRANCH = "patches${LINUX_VERSION_EXTENSION}"
  SRCREV = "0be1a57448010ae60505acf4e2153638455cee7c"
  KBRANCH = "${SRCBRANCH}"
  SRC_REPO = "github.com/madisongh/linux-tegra-4.9"
  KERNEL_REPO = "${SRC_REPO}"
  SRC_URI = "git://${KERNEL_REPO};name=machine;branch=${KBRANCH} \
  	   ${@'file://localversion_auto.cfg' if d.getVar('SCMVERSION') == 'y' else ''} \
  "
  
  KBUILD_DEFCONFIG = "tegra_defconfig"
  KCONFIG_MODE = "--alldefconfig"
  
negative.code:     fi
  }
  do_kernel_checkout[postfuncs] += "set_scmversion"
  
  python do_kernel_configcheck_prepend() {
      os.environ['KERNEL_OVERLAYS'] = d.expand("${S}/nvidia ${S}/nvidia/nvgpu")
  }
  
  bootimg_from_bundled_initramfs() {
      if [ ! -z "${INITRAMFS_IMAGE}" -a "${INITRAMFS_IMAGE_BUNDLE}" = "1" ]; then
  