1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-05-07 03:49:20 +00:00

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 <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Khem Raj
2012-01-26 16:31:29 -08:00
committed by Koen Kooi
parent ec465d19cb
commit fa3014ad44
2 changed files with 6 additions and 6 deletions
+5 -5
View 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}" \
+1 -1
View File
@@ -196,7 +196,7 @@ do_install () {
# Install the rtos example apps
install -d ${D}/${installdir}/ti-syslink-examples/dsp
cd ${SYSLINK_ROOT}/ti/syslink/samples/rtos
for i in $(find . -name "*.${SYSLINKSUFFIX}" | grep ${SOC_FAMILY}); do
for i in $(find . -name "*.${SYSLINKSUFFIX}" | grep "${SOC_FAMILY}"); do
install ${i} ${D}/${installdir}/ti-syslink-examples/dsp/
done