diff options
Diffstat (limited to 'scripts/lib/bsp/engine.py')
-rw-r--r-- | scripts/lib/bsp/engine.py | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/scripts/lib/bsp/engine.py b/scripts/lib/bsp/engine.py index aa26280796..55f1e6b43e 100644 --- a/scripts/lib/bsp/engine.py +++ b/scripts/lib/bsp/engine.py | |||
@@ -1727,7 +1727,7 @@ def yocto_layer_list(args, scripts_path, properties_file): | |||
1727 | def map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch): | 1727 | def map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch): |
1728 | """ | 1728 | """ |
1729 | Return the linux-yocto bsp branch to use with the specified | 1729 | Return the linux-yocto bsp branch to use with the specified |
1730 | kbranch. This handles the -standard variants for 3.2 and 3.4; the | 1730 | kbranch. This handles the -standard variants for 3.4 and 3.8; the |
1731 | other variants don't need mappings. | 1731 | other variants don't need mappings. |
1732 | """ | 1732 | """ |
1733 | if need_new_kbranch == "y": | 1733 | if need_new_kbranch == "y": |
@@ -1735,11 +1735,9 @@ def map_standard_kbranch(need_new_kbranch, new_kbranch, existing_kbranch): | |||
1735 | else: | 1735 | else: |
1736 | kbranch = existing_kbranch | 1736 | kbranch = existing_kbranch |
1737 | 1737 | ||
1738 | if (kbranch.startswith("standard/default/common-pc-64") or | 1738 | if kbranch.startswith("standard/common-pc-64"): |
1739 | kbranch.startswith("standard/common-pc-64")): | 1739 | return "bsp/common-pc-64/common-pc-64-standard.scc" |
1740 | return "bsp/common-pc-64/common-pc-64-standard" | 1740 | if kbranch.startswith("standard/common-pc"): |
1741 | if (kbranch.startswith("standard/default/common-pc") or | 1741 | return "bsp/common-pc/common-pc-standard.scc" |
1742 | kbranch.startswith("standard/common-pc")): | ||
1743 | return "bsp/common-pc/common-pc-standard" | ||
1744 | else: | 1742 | else: |
1745 | return "ktypes/standard" | 1743 | return "ktypes/standard/standard.scc" |