The migration helper introduced in c9d48debf405ed49deffebef892990376052df09
changes PTXCONF_TF_A_PLATFORM into PTXCONF_TF_A_PLATFORMS. However, if
the platformconfig does already contain PLATFORMS, the regexp matches
anyway and converts it into PLATFORMSS.

Fixes: c9d48debf405ed49deffebef892990376052df09

Signed-off-by: Robert Schwebel <[email protected]>
---
 scripts/migrate/migrate_platform | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/migrate/migrate_platform b/scripts/migrate/migrate_platform
index b31592b88..1c701846f 100755
--- a/scripts/migrate/migrate_platform
+++ b/scripts/migrate/migrate_platform
@@ -40,4 +40,5 @@ s/^\(\(# 
\)\?PTXCONF\)_IMAGE_IPKG_EXTRA_ARGS\(.*$\)/\1_IMAGE_XPKG_EXTRA_ARGS\3/
 # symbol : PTXCONF_TF_A_PLATFORM -> PTXCONF_TF_A_PLATFORMS
 # reason : tf-a can be built for multiple platforms now
 #
+s/^\(\(# \)\?PTXCONF\)_TF_A_PLATFORMS\(.*$\)/\1_TF_A_PLATFORM\3/
 s/^\(\(# \)\?PTXCONF_TF_A_PLATFORM\)\(.*$\)/\1S\3/
-- 
2.27.0


_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to