summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoshe Shahar <moshe.shahar@arm.com>2021-03-21 22:52:37 +0200
committerGitHub <noreply@github.com>2021-03-21 15:52:37 -0500
commite8c48f2c16b039ce42772466a45e8ba423a75747 (patch)
treef53f87c89806e8731447279278d8963215c60b44
parent0e1331ba50d3bbf85d6575f32878d60e8c3f4387 (diff)
Set PDA destination directory (#276)
* Fix PSA storage location * Update recipes-wigwag/mbed-fcce/mbed-fcce/0001-fix_psa_storage_location.patch Co-authored-by: Yash Goyal <Yash.Goyal@arm.com>
-rw-r--r--recipes-wigwag/mbed-fcce/mbed-fcce/0001-fix_psa_storage_location.patch12
-rw-r--r--recipes-wigwag/mbed-fcce/mbed-fcce_4.7.1.bb1
2 files changed, 13 insertions, 0 deletions
diff --git a/recipes-wigwag/mbed-fcce/mbed-fcce/0001-fix_psa_storage_location.patch b/recipes-wigwag/mbed-fcce/mbed-fcce/0001-fix_psa_storage_location.patch
new file mode 100644
index 0000000..1affe35
--- /dev/null
+++ b/recipes-wigwag/mbed-fcce/mbed-fcce/0001-fix_psa_storage_location.patch
@@ -0,0 +1,12 @@
+diff --git a/source/psa_storage_user_config.h b/source/psa_storage_user_config.h
+index 661f677..becd86a 100644
+--- a/source/psa_storage_user_config.h
++++ b/source/psa_storage_user_config.h
+@@ -32,6 +32,6 @@
+ #undef PSA_STORAGE_FILE_C_STORAGE_PREFIX
+ #endif
+
+-#define PSA_STORAGE_FILE_C_STORAGE_PREFIX "psa/"
++#define PSA_STORAGE_FILE_C_STORAGE_PREFIX "/userdata/mbed/mcc_config/"
+
+ #endif /* PSA_STORAGE_USER_CONFIG_H */
diff --git a/recipes-wigwag/mbed-fcce/mbed-fcce_4.7.1.bb b/recipes-wigwag/mbed-fcce/mbed-fcce_4.7.1.bb
index 83431a0..767cc31 100644
--- a/recipes-wigwag/mbed-fcce/mbed-fcce_4.7.1.bb
+++ b/recipes-wigwag/mbed-fcce/mbed-fcce_4.7.1.bb
@@ -21,6 +21,7 @@ file://0001-fix-build-getting-cross-compiler-iface-setting-to-et.patch \
file://0001-fix-arm_uc_pal_linux_extensions.manual_patch \
file://0001-fix-mcc_common_setup.manual_patch \
file://linux-se-config.cmake \
+file://0001-fix_psa_storage_location.patch \
"
SRCREV_pn-${PN} = "${PV}"