diff options
| author | Khem Raj <raj.khem@gmail.com> | 2012-01-26 16:31:29 -0800 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-01-27 09:04:17 +0100 |
| commit | fa3014ad441476ced7abe745ca49c0242ec4545d (patch) | |
| tree | 26f24d82062d68ce62838952eb271f0575a87957 /recipes-ti/syslink/ti-syslink.inc | |
| parent | ec465d19cb4458e34f76011465e10406bdb101d6 (diff) | |
| download | meta-ti-fa3014ad441476ced7abe745ca49c0242ec4545d.tar.gz | |
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>
Diffstat (limited to 'recipes-ti/syslink/ti-syslink.inc')
| -rw-r--r-- | recipes-ti/syslink/ti-syslink.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-ti/syslink/ti-syslink.inc b/recipes-ti/syslink/ti-syslink.inc index 8cc57751..d7df8c19 100644 --- a/recipes-ti/syslink/ti-syslink.inc +++ b/recipes-ti/syslink/ti-syslink.inc | |||
| @@ -196,7 +196,7 @@ do_install () { | |||
| 196 | # Install the rtos example apps | 196 | # Install the rtos example apps |
| 197 | install -d ${D}/${installdir}/ti-syslink-examples/dsp | 197 | install -d ${D}/${installdir}/ti-syslink-examples/dsp |
| 198 | cd ${SYSLINK_ROOT}/ti/syslink/samples/rtos | 198 | cd ${SYSLINK_ROOT}/ti/syslink/samples/rtos |
| 199 | for i in $(find . -name "*.${SYSLINKSUFFIX}" | grep ${SOC_FAMILY}); do | 199 | for i in $(find . -name "*.${SYSLINKSUFFIX}" | grep "${SOC_FAMILY}"); do |
| 200 | install ${i} ${D}/${installdir}/ti-syslink-examples/dsp/ | 200 | install ${i} ${D}/${installdir}/ti-syslink-examples/dsp/ |
| 201 | done | 201 | done |
| 202 | 202 | ||
