SHARE
TWEET

Untitled

a guest Feb 16th, 2014 29 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DESCRIPTION = "Texas Instruments DSP BIOS."
  2.  
  3. LICENSE = "CLOSED"
  4. LICENSE_FLAGS = "commercial"
  5.  
  6. PROVIDES = "ti-dsplib"
  7.  
  8. #DEPENDS = "ti-cgt6x-native"
  9.  
  10. PR = "r3"
  11. TI_PV = "${@bb.data.getVar('PV',d,1).replace('.', '_')}"
  12.  
  13. PACKAGES = "${PN} ${PN}-dev"
  14. FILES_${PN}-dev = "${INSTALL_DIR}"
  15.  
  16. inherit native
  17.  
  18. # TI_PKG_DIR should be set in layer.conf
  19. FILESEXTRAPATHS_prepend := "${TI_PKG_DIR}:"
  20.  
  21. SRC_URI = "\
  22.            file://dsplib_c64Px_${TI_PV}_Linux.bin \
  23.            file://ti_license.txt \
  24.           "
  25.  
  26. SRC_URI[md5sum] = "00e93e080b501f0638afef56bc9df25e"
  27.  
  28. S = "${WORKDIR}"
  29.  
  30. TI_TOOLS_DIR = "${TI_DEPOT_DIR}"
  31. INSTALL_DIR = "${TI_TOOLS_DIR}/dsplib_c64x+-${PV}"
  32. INHIBIT_PACKAGE_STRIP = "1"
  33.  
  34.  
  35. # Nothing to compile
  36. do_compile() {
  37.     :
  38. }
  39.  
  40.  
  41. do_install() {
  42.     env -u DISPLAY ./dsplib_c64Px_${TI_PV}_Linux.bin --mode silent --prefix "${D}${INSTALL_DIR}"
  43.     rm -f "${D}${INSTALL_DIR}/uninstall"
  44. }
  45.  
  46.  
  47. do_populate_sysroot() {
  48.     if [ "populate_sysroot" = "${BB_CURRENTTASK}" -o "populate_sysroot_setscene" = "${BB_CURRENTTASK}" ]; then
  49.         # Ensure that ${INSTALL_DIR} gets put where it will be found
  50.         mkdir -p "${SYSROOT_DESTDIR}${STAGING_DIR_NATIVE}"
  51.         tar -C "${D}" -cf - . | tar -C "${SYSROOT_DESTDIR}${STAGING_DIR_NATIVE}" -xf -
  52.     fi
  53. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top