anchor.diff:  PLATFORM_ti33x = "am335x"
   PLATFORM_ti43x = "am437x"
   PLATFORM_omap-a15 = "am572x"
  +PLATFORM_k2g-evm = "k2g"
   
   do_compile() {
       for dir in ${SUBDIRS}
  
positive.code: HOMEPAGE = "http://processors.wiki.ti.com/index.php/PRU-ICSS"
  LICENSE = "BSD-3-Clause & GPL-2.0 & PD"
  
  LIC_FILES_CHKSUM = "file://PRU-Package-v4.0-Manifest.html;md5=5ea937e4ff2c924a735d42e61ad8cbe3"
  
  inherit update-alternatives
  
  BRANCH = "master"
  SRC_URI = "git://git.ti.com/pru-software-support-package/pru-software-support-package.git;protocol=git;branch=${BRANCH}"
  SRCREV = "804b548e69ef9fdf44445f6d0968d81cb8a1e7b4"
  
  PV = "4.0.2"
  PR = "r2"
  
  require recipes-ti/includes/ti-paths.inc
  
  COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15"
  PACKAGE_ARCH = "${MACHINE_ARCH}"
  
  PACKAGES_prepend = " \
  
negative.code:     done
  }
  
  do_install_append_k2g-evm() {
      for i in 0 1
      do
          for j in 0 1
          do
              install -m 0644 ${S}/examples/k2g/PRU_RPMsg_Echo_Interrupt${i}_${j}/gen/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \
                              ${D}/lib/firmware/pru
          done
      done
  }
  
  FILES_${PN}-halt = "/lib/firmware/pru/PRU_Halt.out"
  FILES_${PN}-rpmsg-echo = "/lib/firmware/pru/PRU_RPMsg_Echo_Interrupt*"
  
  # Set up names for the firmwares
  PRU_ICSS_ALTERNATIVES_ti33x    = "am335x-pru0-fw am335x-pru1-fw"
  PRU_ICSS_ALTERNATIVES_ti43x    = "am437x-pru0_0-fw am437x-pru0_1-fw am437x-pru1_0-fw am437x-pru1_1-fw"
  PRU_ICSS_ALTERNATIVES_omap-a15 = "am57xx-pru1_0-fw am57xx-pru1_1-fw am57xx-pru2_0-fw am57xx-pru2_1-fw"
  PRU_ICSS_ALTERNATIVES_k2g-evm  = "k2g-pru0_0-fw k2g-pru0_1-fw k2g-pru1_0-fw k2g-pru1_1-fw"
  
  # Set up link names for the firmwares
  ALTERNATIVE_LINK_NAME[am335x-pru0-fw] = "/lib/firmware/am335x-pru0-fw"
  ALTERNATIVE_LINK_NAME[am335x-pru1-fw] = "/lib/firmware/am335x-pru1-fw"
  
  ALTERNATIVE_LINK_NAME[am437x-pru0_0-fw] = "/lib/firmware/am437x-pru0_0-fw"
  ALTERNATIVE_LINK_NAME[am437x-pru0_1-fw] = "/lib/firmware/am437x-pru0_1-fw"
  ALTERNATIVE_LINK_NAME[am437x-pru1_0-fw] = "/lib/firmware/am437x-pru1_0-fw"
  ALTERNATIVE_LINK_NAME[am437x-pru1_1-fw] = "/lib/firmware/am437x-pru1_1-fw"
  
  