diff options
| -rw-r--r-- | meta/conf/machine/include/microblaze/feature-microblaze-versions.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/include/microblaze/feature-microblaze-versions.inc b/meta/conf/machine/include/microblaze/feature-microblaze-versions.inc index 5c37f49abb..658e87b8cd 100644 --- a/meta/conf/machine/include/microblaze/feature-microblaze-versions.inc +++ b/meta/conf/machine/include/microblaze/feature-microblaze-versions.inc | |||
| @@ -16,7 +16,7 @@ def microblaze_current_version(d, gcc = False): | |||
| 16 | # find the current version, and convert it to major/minor integers | 16 | # find the current version, and convert it to major/minor integers |
| 17 | version = None | 17 | version = None |
| 18 | for t in (d.getVar("TUNE_FEATURES") or "").split(): | 18 | for t in (d.getVar("TUNE_FEATURES") or "").split(): |
| 19 | m = re.search("^v(\d+)\.(\d+)", t) | 19 | m = re.search(r"^v(\d+)\.(\d+)", t) |
| 20 | if m: | 20 | if m: |
| 21 | version = int(m.group(1)), int(m.group(2)) | 21 | version = int(m.group(1)), int(m.group(2)) |
| 22 | break | 22 | break |
