CMakeLists: fix app_shmem dependency

This particular rule of cmake was causing problems when run in
multi-threaded environment. This change in the dependency will
resolve all such issues and ensures that this script is executed
correctly.

Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
This commit is contained in:
Adithya Baglody 2018-12-27 14:39:54 +05:30 committed by Anas Nashif
parent 50950eb2c9
commit c12381793a

View file

@ -1225,7 +1225,7 @@ if(CONFIG_APP_SHARED_MEM AND CONFIG_USERSPACE)
add_custom_target(
${APP_SMEM_DEP} ALL
DEPENDS app
kernel
kernel ${ZEPHYR_LIBS_PROPERTY}
)
add_custom_command(