diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2020-12-14 07:54:35 +0100 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2020-12-16 16:42:56 +0100 |
commit | 9691bb8bb6b2eeceed661ec39bb9b0e62e408eb9 (patch) | |
tree | 497587d91a4ea286194ba8873adc00b6a12367ea /scripts | |
parent | 199c0c7b2d5999f7d9e85edb23ac5b31de353bec (diff) | |
download | ptxdist-9691bb8bb6b2eeceed661ec39bb9b0e62e408eb9.tar.gz ptxdist-9691bb8bb6b2eeceed661ec39bb9b0e62e408eb9.tar.xz |
migrate_platform: fix migration helper for TF_A_PLATFORM(S)
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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/migrate/migrate_platform | 1 |
1 files changed, 1 insertions, 0 deletions
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/ |