mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-10-04 13:55:57 +00:00
arm/trusted-services: check before applying patches
At the apply ts patch stage, first check if they are patches to be applied. Because if not, this would break the apply patch stage with an error. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
1 parent
4ee457693e
commit
3651527f57
1 file changed
+2
-4
@@ -18,11 +18,9 @@ EXTRA_OECMAKE += "\
|
||||
-DPSA_ARCH_TESTS_SOURCE_DIR=${WORKDIR}/git/psatest \
|
||||
"
|
||||
|
||||
# TS ships patches that need to be applied to psa-arch-tests
|
||||
# TS check if there are patches to apply to psa-arch-tests, if so apply them
|
||||
apply_ts_patch() {
|
||||
for p in ${S}/external/psa_arch_tests/*.patch; do
|
||||
patch -p1 -d ${WORKDIR}/git/psatest < ${p}
|
||||
done
|
||||
find ${S}/external/psa_arch_tests -type f -name '*.patch' -exec patch -p1 -d ${WORKDIR}/git/psatest -i {} \;
|
||||
}
|
||||
do_patch[postfuncs] += "apply_ts_patch"
|
||||
|
||||
|
||||
Reference in new issue
Block a user