diff options
author | Denys Dmytriyenko <denis@denix.org> | 2021-08-03 21:28:05 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-04 20:45:41 +0100 |
commit | b26e9eed52caa8306f5f3bba0fb785b54f615d00 (patch) | |
tree | c40f3a01d1a76e85a39afc79683288c85d25f2fe | |
parent | fdf57744b49501301163e9ac87045ad504e2c4f1 (diff) | |
download | poky-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-x | scripts/contrib/convert-overrides.py | 5 |
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 | |||
36 | vars = vars + ["class-native", "class-target", "class-cross-canadian", "class-cross", "class-devupstream"] | 36 | vars = vars + ["class-native", "class-target", "class-cross-canadian", "class-cross", "class-devupstream"] |
37 | vars = vars + ["tune-", "pn-", "forcevariable"] | 37 | vars = vars + ["tune-", "pn-", "forcevariable"] |
38 | vars = vars + ["libc-musl", "libc-glibc", "libc-newlib","libc-baremetal"] | 38 | vars = vars + ["libc-musl", "libc-glibc", "libc-newlib","libc-baremetal"] |
39 | vars = vars + ["task-compile", "task-install", "task-clean", "task-image-qa", "task-rm_work", "task-image-complete", "task-populate-sdk"] | 39 | vars = vars + ["task-configure", "task-compile", "task-install", "task-clean", "task-image-qa", "task-rm_work", "task-image-complete", "task-populate-sdk"] |
40 | vars = vars + ["toolchain-clang", "mydistro", "nios2", "sdkmingw32", "overrideone", "overridetwo"] | 40 | vars = vars + ["toolchain-clang", "mydistro", "nios2", "sdkmingw32", "overrideone", "overridetwo"] |
41 | vars = vars + ["linux-gnux32", "linux-muslx32", "linux-gnun32", "mingw32", "poky", "darwin", "linuxstdbase"] | 41 | vars = vars + ["linux-gnux32", "linux-muslx32", "linux-gnun32", "mingw32", "poky", "darwin", "linuxstdbase"] |
42 | vars = vars + ["linux-gnueabi", "eabi"] | ||
42 | vars = vars + ["virtclass-multilib", "virtclass-mcextend"] | 43 | vars = 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 | ||
123 | ourname = os.path.basename(sys.argv[0]) | 124 | ourname = os.path.basename(sys.argv[0]) |
124 | ourversion = "0.9.1" | 125 | ourversion = "0.9.2" |
125 | 126 | ||
126 | if os.path.isfile(sys.argv[1]): | 127 | if os.path.isfile(sys.argv[1]): |
127 | processfile(sys.argv[1]) | 128 | processfile(sys.argv[1]) |