From 77d200eb81997059e1e906a5903418ed55ab4d79 Mon Sep 17 00:00:00 2001 From: Nathan Rossi Date: Tue, 30 Jul 2013 17:29:34 +1000 Subject: linux-xlnx: linux-machine-config.inc: Fixed dependency issues * linux-dtb.inc from oe-core is processed before this function, implement the functionality so that it works as expected. Signed-off-by: Nathan Rossi --- recipes-kernel/linux/linux-machine-config.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-kernel/linux/linux-machine-config.inc b/recipes-kernel/linux/linux-machine-config.inc index 83fb1004..184011f4 100644 --- a/recipes-kernel/linux/linux-machine-config.inc +++ b/recipes-kernel/linux/linux-machine-config.inc @@ -8,6 +8,12 @@ python __anonymous () { extrapaths = set() sources = set() if machine_devicetree: + # linux-dtb.inc gets processed before this '__anonymous' + depends = d.getVar("DEPENDS", True) + d.setVar("DEPENDS", "%s dtc-native" % depends) + packages = d.getVar("PACKAGES", True) + d.setVar("PACKAGES", "%s kernel-devicetree" % packages) + files=set() for path in machine_devicetree.split(): sources.add("file://" + os.path.basename(path)) -- cgit v1.2.3-54-g00ecf