diff options
author | Yash Goyal <yash.goyal@arm.com> | 2021-03-21 16:05:50 -0500 |
---|---|---|
committer | Yash Goyal <yash.goyal@arm.com> | 2021-03-21 16:05:50 -0500 |
commit | 89ed43db537074f71790493ce53b1dea63071fe2 (patch) | |
tree | 3e05986cc342d5424de5d0cb52b9eacfe7f11825 | |
parent | e5f1b4eba78297a25a5ca42b0404f48e8eb00ff1 (diff) |
Follow `dash` rules as The scripts are executed by /bin/sh, which may not be a bash shell but might be something such as dash. You should not use Bash-specific script (bashisms)
https://www.yoctoproject.org/docs/2.3.4/bitbake-user-manual/bitbake-user-manual.html#shell-functions
-rw-r--r-- | recipes-connectivity/mbed-edge-core/mbed-edge-core.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-connectivity/mbed-edge-core/mbed-edge-core.inc b/recipes-connectivity/mbed-edge-core/mbed-edge-core.inc index c4b230d..4b98ba5 100644 --- a/recipes-connectivity/mbed-edge-core/mbed-edge-core.inc +++ b/recipes-connectivity/mbed-edge-core/mbed-edge-core.inc @@ -94,8 +94,8 @@ do_configure_prepend() { do_compile_prepend() { - if [ ${MBED_EDGE_CORE_CONFIG_PARSEC_TPM_SE_SUPPORT} == "ON" ]; then - if [ ${MBED_EDGE_CMAKE_BUILD_TYPE} == "Debug" ]; then + if [ "${MBED_EDGE_CORE_CONFIG_PARSEC_TPM_SE_SUPPORT}" = "ON" ]; then + if [ "${MBED_EDGE_CMAKE_BUILD_TYPE}" = "Debug" ]; then mkdir -p ${S}/lib/pal-platform/Middleware/parsec_se_driver/parsec_se_driver/target/debug cp ${PKG_CONFIG_SYSROOT_DIR}/usr/lib/libparsec_se_driver.a ${S}/lib/pal-platform/Middleware/parsec_se_driver/parsec_se_driver/target/debug/ else |