diff options
author | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-10-08 16:51:51 +1000 |
---|---|---|
committer | Nathan Rossi <nathan.rossi@xilinx.com> | 2013-10-08 16:51:51 +1000 |
commit | 28c999e71a05ee798fc93107a248cb3fd0078fd7 (patch) | |
tree | 9e4586ed86c5e2616cde47f2fec58444dfe56f46 | |
parent | 6efe82fb07d98f190e9b078132526eeadd8cf9fc (diff) | |
download | meta-xilinx-28c999e71a05ee798fc93107a248cb3fd0078fd7.tar.gz |
linux-dtb.inc: Only append packages if not already in collection
* Fixes compatibility with the linux-yocto recipes
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r-- | recipes-kernel/linux/linux-dtb.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-dtb.inc b/recipes-kernel/linux/linux-dtb.inc index eb9cca85..5efb9a0d 100644 --- a/recipes-kernel/linux/linux-dtb.inc +++ b/recipes-kernel/linux/linux-dtb.inc | |||
@@ -8,7 +8,8 @@ python __anonymous () { | |||
8 | depends = d.getVar("DEPENDS", True) | 8 | depends = d.getVar("DEPENDS", True) |
9 | d.setVar("DEPENDS", "%s dtc-native" % depends) | 9 | d.setVar("DEPENDS", "%s dtc-native" % depends) |
10 | packages = d.getVar("PACKAGES", True) | 10 | packages = d.getVar("PACKAGES", True) |
11 | d.setVar("PACKAGES", "%s kernel-devicetree" % packages) | 11 | if "kernel-devicetree" not in packages: |
12 | d.setVar("PACKAGES", "%s kernel-devicetree" % packages) | ||
12 | } | 13 | } |
13 | 14 | ||
14 | do_install_append() { | 15 | do_install_append() { |