mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] migrate_platform: fix migration helper for TF_A_PLATFORM(S)
@ 2020-12-14  7:06 Robert Schwebel
  2020-12-14  8:48 ` Denis Osterland-Heim
  2020-12-14  9:06 ` Robert Schwebel
  0 siblings, 2 replies; 3+ messages in thread
From: Robert Schwebel @ 2020-12-14  7:06 UTC (permalink / raw)
  To: ptxdist; +Cc: Robert Schwebel

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 <r.schwebel@pengutronix.de>
---
 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
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-14 11:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-14  7:06 [ptxdist] [PATCH] migrate_platform: fix migration helper for TF_A_PLATFORM(S) Robert Schwebel
2020-12-14  8:48 ` Denis Osterland-Heim
2020-12-14  9:06 ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox