summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-09-13 18:58:07 +0000
committerChris Larson <clarson@kergoth.com>2004-09-13 18:58:07 +0000
commitbdda4c0d3c4b720fe456b86e84a8bce9129b8fa8 (patch)
tree66795a0e3203b2948a29adc90a4b1f364aea2967 /classes
parent1195249bd83f250ed12c51739548c8d7efe57ace (diff)
Merge openembedded@openembedded.bkbits.net:packages
into handhelds.org:/home/kergoth/code/oe/packages 2004/09/13 14:57:58-04:00 handhelds.org!kergoth Update the IMAGE_DEPENDS bits to add all the deps for the types in IMAGE_FSTYPES, rather than only the one in IMAGE_FSTYPE. BKrev: 4145edbf-n81LLyJ7AivNnYo9XigjA
Diffstat (limited to 'classes')
-rw-r--r--classes/image_ipk.oeclass13
1 files changed, 11 insertions, 2 deletions
diff --git a/classes/image_ipk.oeclass b/classes/image_ipk.oeclass
index beda4ca206..a377ecf02c 100644
--- a/classes/image_ipk.oeclass
+++ b/classes/image_ipk.oeclass
@@ -3,8 +3,17 @@ inherit rootfs_ipk
USE_DEVFS ?= "0"
DEPENDS += "makedevs-native"
-OVERRIDES += ":${IMAGE_FSTYPE}"
-DEPENDS += "${IMAGE_DEPENDS}"
+
+def get_image_deps(d):
+ import oe
+ str = ""
+ for type in (oe.data.getVar('IMAGE_FSTYPES', d, 1) or "").split():
+ deps = oe.data.getVar('IMAGE_DEPENDS_%s' % type, d) or ""
+ if deps:
+ str += " %s" % deps
+ return str
+
+DEPENDS += "${@get_image_deps(d)}"
IMAGE_DEVICE_TABLE = "${@oe.which(oe.data.getVar('OEPATH', d, 1), 'files/device_table-minimal.txt')}"