anchor.diff:  COMPATIBLE_MACHINE = "am57xx-evm|beaglebone|dragonboard-410c|hikey|intel-core2-32|intel-corei7-64|juno"
   KERNEL_IMAGETYPE ?= "Image"
   KERNEL_CONFIG_FRAGMENTS += "\
  +    ${S}/kernel/configs/lkft.config \
       ${S}/kernel/configs/distro-overrides.config \
       ${S}/kernel/configs/systemd.config \
   "
  
positive.code: 
  SRC_URI = "\
      git://git.linaro.org/kernel/linux-linaro-stable.git;protocol=https;branch=linux-linaro-lsk-v4.9;name=kernel \
      file://distro-overrides.config;subdir=git/kernel/configs \
      file://systemd.config;subdir=git/kernel/configs \
      file://0001-selftests-lib-add-config-fragment-for-bitmap-printf-.patch \
  
negative.code: HOST_EXTRACFLAGS += "-I${STAGING_INCDIR_NATIVE}"
  
  do_configure() {
      touch ${B}/.scmversion ${S}/.scmversion
  
      # While kernel.bbclass has an architecture mapping, we can't use it because
      # the kernel config file has a different name.
      case "${HOST_ARCH}" in
        aarch64)
          cp ${S}/arch/arm64/configs/lsk_defconfig ${B}/.config
          echo 'CONFIG_STUB_CLK_HI6220=y' >> ${B}/.config
          # https://bugs.linaro.org/show_bug.cgi?id=3769
          echo 'CONFIG_ARM64_MODULE_PLTS=y' >> ${B}/.config
        ;;
        arm)
          cp ${S}/arch/arm/configs/lsk_defconfig ${B}/.config
          echo 'CONFIG_SERIAL_8250_OMAP=y' >> ${B}/.config
          echo 'CONFIG_POSIX_MQUEUE=y' >> ${B}/.config
          # https://bugs.linaro.org/show_bug.cgi?id=3769
          echo 'CONFIG_ARM_MODULE_PLTS=y' >> ${B}/.config
        ;;
        x86_64)
          cp ${S}/arch/x86/configs/x86_64_defconfig ${B}/.config
          echo 'CONFIG_IGB=y' >> ${B}/.config
        ;;
        i686)
          cp ${S}/arch/x86/configs/i386_defconfig ${B}/.config
          echo 'CONFIG_IGB=y' >> ${B}/.config
        ;;
      esac
  
      # Check for kernel config fragments. The assumption is that the config
      # fragment will be specified with the absolute path. For example:
  