summaryrefslogtreecommitdiffstats
path: root/meta/classes/license.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/license.bbclass')
-rw-r--r--meta/classes/license.bbclass9
1 files changed, 2 insertions, 7 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
index d4be478166..4f7842c3db 100644
--- a/meta/classes/license.bbclass
+++ b/meta/classes/license.bbclass
@@ -255,14 +255,9 @@ def get_boot_dependencies(d):
255 """ 255 """
256 256
257 depends = [] 257 depends = []
258 boot_depends_string = ""
259 taskdepdata = d.getVar("BB_TASKDEPDATA", False) 258 taskdepdata = d.getVar("BB_TASKDEPDATA", False)
260 # Only bootimg and bootdirectdisk include the depends flag 259 # Only bootimg includes the depends flag
261 boot_tasks = ["do_bootimg", "do_bootdirectdisk",] 260 boot_depends_string = d.getVarFlag("do_bootimg", "depends") or ""
262
263 for task in boot_tasks:
264 boot_depends_string = "%s %s" % (boot_depends_string,
265 d.getVarFlag(task, "depends") or "")
266 boot_depends = [dep.split(":")[0] for dep 261 boot_depends = [dep.split(":")[0] for dep
267 in boot_depends_string.split() 262 in boot_depends_string.split()
268 if not dep.split(":")[0].endswith("-native")] 263 if not dep.split(":")[0].endswith("-native")]