From fa3014ad441476ced7abe745ca49c0242ec4545d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 26 Jan 2012 16:31:29 -0800 Subject: meta-ti: Guard use of SOC_FAMILY to account for it being empty Right now SOC_FAMILY is set to 'Unknown' by default by angstrom distro but others might not set it as all so it will be empty hence we take care of the case if this is empty Signed-off-by: Khem Raj Signed-off-by: Koen Kooi --- recipes-ti/linuxutils/ti-linuxutils.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes-ti/linuxutils') diff --git a/recipes-ti/linuxutils/ti-linuxutils.inc b/recipes-ti/linuxutils/ti-linuxutils.inc index d6cd18c6..06b254dd 100644 --- a/recipes-ti/linuxutils/ti-linuxutils.inc +++ b/recipes-ti/linuxutils/ti-linuxutils.inc @@ -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}" \ -- cgit v1.2.3-54-g00ecf