diff options
-rw-r--r-- | meta/classes/kernel-yocto.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/kernel-yocto.bbclass b/meta/classes/kernel-yocto.bbclass index 325f94c735..00d9667fe0 100644 --- a/meta/classes/kernel-yocto.bbclass +++ b/meta/classes/kernel-yocto.bbclass | |||
@@ -52,7 +52,9 @@ def get_machine_branch(d, default): | |||
52 | parm = urldata.parm | 52 | parm = urldata.parm |
53 | if "branch" in parm: | 53 | if "branch" in parm: |
54 | branches = urldata.parm.get("branch").split(',') | 54 | branches = urldata.parm.get("branch").split(',') |
55 | return branches[0] | 55 | btype = urldata.parm.get("type") |
56 | if btype != "kmeta": | ||
57 | return branches[0] | ||
56 | 58 | ||
57 | return default | 59 | return default |
58 | 60 | ||