summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2013-07-30 17:29:34 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2013-07-30 17:29:34 +1000
commit77d200eb81997059e1e906a5903418ed55ab4d79 (patch)
tree2532ea177e4b5686874721ed94d9995f4b1bc7a9
parentd0d14db2d8f3d91257cdb53d7d5348bcd8e15a23 (diff)
downloadmeta-xilinx-77d200eb81997059e1e906a5903418ed55ab4d79.tar.gz
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 <nathan.rossi@xilinx.com>
-rw-r--r--recipes-kernel/linux/linux-machine-config.inc6
1 files changed, 6 insertions, 0 deletions
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 () {
8 extrapaths = set() 8 extrapaths = set()
9 sources = set() 9 sources = set()
10 if machine_devicetree: 10 if machine_devicetree:
11 # linux-dtb.inc gets processed before this '__anonymous'
12 depends = d.getVar("DEPENDS", True)
13 d.setVar("DEPENDS", "%s dtc-native" % depends)
14 packages = d.getVar("PACKAGES", True)
15 d.setVar("PACKAGES", "%s kernel-devicetree" % packages)
16
11 files=set() 17 files=set()
12 for path in machine_devicetree.split(): 18 for path in machine_devicetree.split():
13 sources.add("file://" + os.path.basename(path)) 19 sources.add("file://" + os.path.basename(path))