anchor.diff:  
   do_install_append_ti33x() {
       install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
  -                   ${D}/lib/firmware/pru
  +                   ${D}${base_libdir}/firmware/pru
       for i in 0 1
       do
           install -m 0644 ${S}/examples/am335x/PRU_RPMsg_Echo_Interrupt${i}/gen/PRU_RPMsg_Echo_Interrupt${i}.out \
  -                        ${D}/lib/firmware/pru
  +                        ${D}${base_libdir}/firmware/pru
       done
   }
   
   do_install_append_ti43x() {
       install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
  -                   ${D}/lib/firmware/pru
  +                   ${D}${base_libdir}/firmware/pru
       for i in 0 1
       do
           for j in 0 1
           do
               install -m 0644 ${S}/examples/am437x/PRU_RPMsg_Echo_Interrupt${i}_${j}/gen/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \
  -                            ${D}/lib/firmware/pru
  +                            ${D}${base_libdir}/firmware/pru
           done
       done
   }
   
   do_install_append_omap-a15() {
       install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
  -                   ${D}/lib/firmware/pru
  +                   ${D}${base_libdir}/firmware/pru
       for i in 1 2
       do
           for j in 0 1
           do
               install -m 0644 ${S}/examples/am572x/PRU_RPMsg_Echo_Interrupt${i}_${j}/gen/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \
  -                            ${D}/lib/firmware/pru
  +                            ${D}${base_libdir}/firmware/pru
           done
       done
   }
   
   do_install_append_k2g() {
       install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU_Halt.out \
  -                   ${D}/lib/firmware/pru
  +                   ${D}${base_libdir}/firmware/pru
       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
  +                            ${D}${base_libdir}/firmware/pru
           done
       done
   }
  
positive.code: 
  do_install() {
      CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
      install -d ${D}/lib/firmware/pru
      install -d ${D}${includedir}
      cp ${CP_ARGS} ${S}/include/* ${D}${includedir}
      install -d ${D}${libdir}
      install -m 0644 ${S}/lib/rpmsg_lib.lib ${D}${libdir}
  }
  
  FILES_${PN}-staticdev = "${libdir}"
  
negative.code:     for i in 0 1
      do
          install -m 644 ${S}/examples/${PLATFORM}/PRU_Halt/gen/PRU${i}/PRU_Halt_${i}.out \
                     ${D}${base_libdir}/firmware/pru
          install -m 644 ${S}/examples/${PLATFORM}/RTU_Halt/gen/RTU${i}/RTU_Halt_${i}.out \
                     ${D}${base_libdir}/firmware/pru
          install -m 644 ${S}/examples/${PLATFORM}/TX_PRU_Halt/gen/TX_PRU${i}/TX_PRU_Halt_${i}.out \
                     ${D}${base_libdir}/firmware/pru
      done
      for i in 0 1
      do
          for j in 0 1
          do
              install -m 0644 ${S}/examples/j721e/PRU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/PRU_RPMsg_Echo_Interrupt${i}_${j}.out \
                              ${D}${base_libdir}/firmware/pru
              install -m 0644 ${S}/examples/j721e/RTU_RPMsg_Echo_Interrupt${j}/gen/icssg${i}/RTU_RPMsg_Echo_Interrupt${i}_${j}.out \
                              ${D}${base_libdir}/firmware/pru
  
          done
      done
  }
  
  
  FILES_${PN}-halt = "${base_libdir}/firmware/pru/PRU_Halt* ${base_libdir}/firmware/pru/RTU_Halt* ${base_libdir}/firmware/pru/TX_PRU_Halt*"
  FILES_${PN}-rpmsg-echo = "${base_libdir}/firmware/pru/PRU_RPMsg_Echo_Interrupt* ${base_libdir}/firmware/pru/RTU_RPMsg_Echo_Interrupt*"
  
  # Set up names for the firmwares
  PRU_ICSS_ALTERNATIVES_ti33x    = "am335x-pru0-fw am335x-pru1-fw"
  