anchor.diff:  
   RPROVIDES_${PN} += "${GLES}-kernel-module"
   
  -inherit module
  -INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
  -
  -###do_patch[noexec] = "1"
  -do_configure[noexec] = "1"
  -do_populate_lic[noexec] = "1"
  -
  -
  -export LANG = "C"
  -export BUILDDIR = "${STAGING_INCDIR}/.."
  -export LIBSHARED = "${STAGING_LIBDIR}"
  -export KERNELSRC = "${STAGING_KERNEL_DIR}"
  -export CROSS_COMPILE = "${TARGET_PREFIX}"
  -export KERNELDIR = "${KBUILD_OUTPUT}"
  -export LDFLAGS=""
  -export CP = "cp"
  -
  -python do_package_ipk_prepend () {
  -    d.setVar('ALLOW_EMPTY', '1')
  -}
  -
  -# Append function to clean extract source
  -do_cleansstate_prepend() {
  -        bb.build.exec_func('do_clean_source', d)
  -}
  -
  -
   do_compile() {
  -    if [ -e "${S}/${KERNEL_OLD_SRC_PATH}"  ]; then 
  -    mv ${S}/${KERNEL_OLD_SRC_PATH}  ${S}/${KERNEL_SRC_PATH}
  -    fi
       cd ${S}/${KERNEL_SRC_PATH}
       unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
       make kbuild ARCH=arm DISCIMAGE=${D}
  
positive.code:           '
  S_r8a7792 = "${WORKDIR}/eurasia_km"
  KERNEL_SRC_PATH_r8a7792 = "eurasiacon/build/linux2/r8a7792_linux/"
  KERNEL_OLD_SRC_PATH_r8a7792 ="eurasiacon/build/linux2/r8a7745_linux/"
  TARGET_PATH_r8a7792 = "eurasia_km/eurasiacon/binary2_r8a7792_linux_release/target/kbuild"
  
  GLES = "${@base_contains('MACHINE_FEATURES', 'rgx', 'rgx', \
  
negative.code: DESCRIPTION = "RGX/SGX kernel module"
  
  require include/rcar-gen2-modules-common.inc
  
  LICENSE = "GPLv2 & MIT"
  LIC_FILES_CHKSUM = " \
      file://GPL-COPYING;md5=60422928ba677faaa13d6ab5f5baaa1e \
      file://MIT-COPYING;md5=8c2810fa6bfdc5ae5c15a0c1ade34054 \
  "
  
  inherit module
  
  DEPENDS = "linux-renesas"
  PN = "kernel-module-gles"
  PR = "r0"
  