summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2021-08-03 21:28:05 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-04 20:45:41 +0100
commitb26e9eed52caa8306f5f3bba0fb785b54f615d00 (patch)
treec40f3a01d1a76e85a39afc79683288c85d25f2fe
parentfdf57744b49501301163e9ac87045ad504e2c4f1 (diff)
downloadpoky-b26e9eed52caa8306f5f3bba0fb785b54f615d00.tar.gz
convert-overrides.py: handle few more cases of overrides
Add task-configure and few more supported values of TARGET_OS override. (From OE-Core rev: 1172f9593902f28ddd8da47de6bd51cda9a0f86a) Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/contrib/convert-overrides.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/contrib/convert-overrides.py b/scripts/contrib/convert-overrides.py
index 6505b18cf0..e3e271d32b 100755
--- a/scripts/contrib/convert-overrides.py
+++ b/scripts/contrib/convert-overrides.py
@@ -36,9 +36,10 @@ vars = vars + ["mipsarch", "x86-x32", "mips16e", "microblaze", "e5500-64b", "mip
36vars = vars + ["class-native", "class-target", "class-cross-canadian", "class-cross", "class-devupstream"] 36vars = vars + ["class-native", "class-target", "class-cross-canadian", "class-cross", "class-devupstream"]
37vars = vars + ["tune-", "pn-", "forcevariable"] 37vars = vars + ["tune-", "pn-", "forcevariable"]
38vars = vars + ["libc-musl", "libc-glibc", "libc-newlib","libc-baremetal"] 38vars = vars + ["libc-musl", "libc-glibc", "libc-newlib","libc-baremetal"]
39vars = vars + ["task-compile", "task-install", "task-clean", "task-image-qa", "task-rm_work", "task-image-complete", "task-populate-sdk"] 39vars = vars + ["task-configure", "task-compile", "task-install", "task-clean", "task-image-qa", "task-rm_work", "task-image-complete", "task-populate-sdk"]
40vars = vars + ["toolchain-clang", "mydistro", "nios2", "sdkmingw32", "overrideone", "overridetwo"] 40vars = vars + ["toolchain-clang", "mydistro", "nios2", "sdkmingw32", "overrideone", "overridetwo"]
41vars = vars + ["linux-gnux32", "linux-muslx32", "linux-gnun32", "mingw32", "poky", "darwin", "linuxstdbase"] 41vars = vars + ["linux-gnux32", "linux-muslx32", "linux-gnun32", "mingw32", "poky", "darwin", "linuxstdbase"]
42vars = vars + ["linux-gnueabi", "eabi"]
42vars = vars + ["virtclass-multilib", "virtclass-mcextend"] 43vars = vars + ["virtclass-multilib", "virtclass-mcextend"]
43 44
44# List of strings to treat as overrides but only with whitespace following or another override (more restricted matching). 45# List of strings to treat as overrides but only with whitespace following or another override (more restricted matching).
@@ -121,7 +122,7 @@ def processfile(fn):
121 pass 122 pass
122 123
123ourname = os.path.basename(sys.argv[0]) 124ourname = os.path.basename(sys.argv[0])
124ourversion = "0.9.1" 125ourversion = "0.9.2"
125 126
126if os.path.isfile(sys.argv[1]): 127if os.path.isfile(sys.argv[1]):
127 processfile(sys.argv[1]) 128 processfile(sys.argv[1])