meta-ti: Guard use of SOC_FAMILY to account for it being empty
[glsdk/meta-ti-glsdk.git] / recipes-ti / linuxutils / ti-linuxutils.inc
index d6cd18c608fb90fd7b6c66a7dfaad72b74f4d9a5..06b254dda059e597e78282f7442a6c600ec73bf8 100644 (file)
@@ -23,12 +23,12 @@ do_compile() {
     do_make_scripts
     unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
 
-    case ${SOC_FAMILY} in 
-    dm365)
+    case "${SOC_FAMILY}" in
+    "dm365")
             modules="cmem edma irq";;
-    omap3)
+    "omap3")
             modules="cmem sdma";;
-       dm355)
+    "dm355")
             modules="cmem edma irq";;
     *)
             modules="cmem"
@@ -58,7 +58,7 @@ do_install () {
       EXEC_DIR="${D}${installdir}/ti-linuxutils-app/cmem-app" \
       install
     # Install EDMA
-    if [ ${SOC_FAMILY} = "dm365" ] ; then
+    if [ "${SOC_FAMILY}" = "dm365" ] ; then
         cd ${S}/packages/ti/sdo/linuxutils/edma/apps
         make \
          LINUXKERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" \