diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2016-06-27 17:49:13 +0300 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2016-06-28 11:52:22 +0000 |
commit | 642142732447482e66daf85cd8af83fc7ac95f23 (patch) | |
tree | edb5fec53b1e78dec4d385d787bc6f1408bc9cee | |
parent | 973993e7e22e10d2278c9fb9794b1753fbad3dd4 (diff) |
optee-os: create optee directory only if it is armv7
optee directory under $DEPLOYDIR has content only if the architecture is
ARMv7. Otherwise, it's empty.
Create the directory only when we need to fill it.
Change-Id: Ie150007913658cb36038fc916743b0b0ca6b859e
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
(cherry picked from commit 8e57986f9ea50afc9c834aa208422e9a124a5c4d)
-rw-r--r-- | meta-optee/recipes-security/optee/optee-os_git.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-optee/recipes-security/optee/optee-os_git.bb b/meta-optee/recipes-security/optee/optee-os_git.bb index daf7428e..2828476c 100644 --- a/meta-optee/recipes-security/optee/optee-os_git.bb +++ b/meta-optee/recipes-security/optee/optee-os_git.bb @@ -58,9 +58,8 @@ do_deploy() { long_srvrev=${SRCREV} short_srvrev=$(echo $long_srvrev | awk '{ string=substr($0, 1, 8); print string; }' ) OPTEE_CORE_SUFFIX="${MACHINE}-$short_srvrev" - install -d ${DEPLOYDIR}/optee - if [ "${is_armv7}" = "1" ]; - then + if [ "${is_armv7}" = "1" ]; then + install -d ${DEPLOYDIR}/optee for f in ${D}/lib/firmware/*; do filename=$(basename "$f") extension="${filename##*.}" |