summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2021-01-08 10:07:01 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-01-08 14:23:18 +0100
commit02e5aada2753d7a8f96bbc85467ab3c222b44ee3 (patch)
tree28cb262c4c6599c278ed3300f43e65ea1831d555 /scripts
parentab4af48ba403167f42c417f8ecfef1d0a870c0c3 (diff)
downloadptxdist-02e5aada2753d7a8f96bbc85467ab3c222b44ee3.tar.gz
ptxdist-02e5aada2753d7a8f96bbc85467ab3c222b44ee3.tar.xz
migrate_platform: simplify migration helper for TF_A_PLATFORM(S)
The fix introduced in 9691bb8bb6b2eeceed661ec39bb9b0e62e408eb9 works but is changes the line twice. Make the matching regex stricter instead. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/migrate/migrate_platform3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/migrate/migrate_platform b/scripts/migrate/migrate_platform
index 1c701846f..6790975d3 100755
--- a/scripts/migrate/migrate_platform
+++ b/scripts/migrate/migrate_platform
@@ -40,5 +40,4 @@ 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/
+s/^\(\(# \)\?PTXCONF_TF_A_PLATFORM\>\)\(.*$\)/\1S\3/