ti-dmai: clean up recipe
[glsdk/meta-ti-glsdk.git] / recipes-ti / dmai / ti-dmai.inc
index d072ecd1a6e8c19754a2ae39f13d5e6afeac292c..8c20384ad5f9a2b0d0f3b16d943482bfcbe31aa4 100644 (file)
@@ -12,8 +12,8 @@ PROVIDES += "ti-dmai-apps"
 
 PE = "1"
 
 
 PE = "1"
 
-SRCREV               ?= "<UNDEFINED_SRCREV>"
-DMAIBRANCH           ?= "<UNDEFINED_DMAIBRANCH>"
+SRCREV               ?= "UNDEFINED_SRCREV"
+DMAIBRANCH           ?= "UNDEFINED_DMAIBRANCH"
 
 S = "${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/dmai_${PV}"
 
 
 S = "${WORKDIR}/${DMAIBRANCH}/davinci_multimedia_application_interface/dmai_${PV}"
 
@@ -47,12 +47,12 @@ DMAIPLATFORM_dm355     = "dm355_al"
 DMAIPLATFORM_dm365     = "dm365_al"
 DMAIPLATFORM_omapl137  = "ol137_al"
 DMAIPLATFORM_omapl138  = "ol138_al"
 DMAIPLATFORM_dm365     = "dm365_al"
 DMAIPLATFORM_omapl137  = "ol137_al"
 DMAIPLATFORM_omapl138  = "ol138_al"
-DMAIPLATFORM          ?= "<UNDEFINED_DMAIPLATFORM>"
+DMAIPLATFORM          ?= "UNDEFINED_DMAIPLATFORM"
 
 # Need to set this for other platforms as well
 #GPPOS_dm355      = "LINUX_GCC"
 #GPPOS_dm365      = "LINUX_GCC"
 
 # Need to set this for other platforms as well
 #GPPOS_dm355      = "LINUX_GCC"
 #GPPOS_dm365      = "LINUX_GCC"
-#GPPOS           ?= "<UNDEFINEDGPPOS>"
+#GPPOS           ?= "UNDEFINEDGPPOS"
 
 # Need to re-define this for OMAP-L137/L138
 DSPSUFFIX_omapl137 = "x64P"
 
 # Need to re-define this for OMAP-L137/L138
 DSPSUFFIX_omapl137 = "x64P"
@@ -114,7 +114,8 @@ do_compile () {
             BIOS_INSTALL_DIR="${BIOS_INSTALL_DIR}"\
             LINUXLIBS_INSTALL_DIR="${STAGING_DIR_TARGET}/usr" \
             USER_XDC_PATH="${USER_XDC_PATH}" \
             BIOS_INSTALL_DIR="${BIOS_INSTALL_DIR}"\
             LINUXLIBS_INSTALL_DIR="${STAGING_DIR_TARGET}/usr" \
             USER_XDC_PATH="${USER_XDC_PATH}" \
-            CROSS_COMPILE="${TOOLCHAIN_PATH}/bin/${TARGET_PREFIX}" \
+            CROSS_COMPILE="${TOOLCHAIN_PATH}/${TARGET_PREFIX}" \
+            CSTOOL_DIR="${TOOLCHAIN_PATH}" \
             VERBOSE="true" \
             XDAIS_INSTALL_DIR="${XDAIS_INSTALL_DIR}" \
             LINK_INSTALL_DIR="${LINK_INSTALL_DIR}" \
             VERBOSE="true" \
             XDAIS_INSTALL_DIR="${XDAIS_INSTALL_DIR}" \
             LINK_INSTALL_DIR="${LINK_INSTALL_DIR}" \
@@ -140,6 +141,8 @@ do_install () {
     cp -pPrf ${S}/* ${D}${DMAI_INSTALL_DIR_RECIPE}
 }
 
     cp -pPrf ${S}/* ${D}${DMAI_INSTALL_DIR_RECIPE}
 }
 
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
 PACKAGES += "ti-dmai-apps"
 FILES_ti-dmai-apps = "${installdir}/ti-dmai-apps/*"
 INSANE_SKIP_ti-dmai-apps = True
 PACKAGES += "ti-dmai-apps"
 FILES_ti-dmai-apps = "${installdir}/ti-dmai-apps/*"
 INSANE_SKIP_ti-dmai-apps = True