summaryrefslogtreecommitdiff
path: root/classes/wrt-image.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/wrt-image.bbclass')
-rw-r--r--classes/wrt-image.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/wrt-image.bbclass b/classes/wrt-image.bbclass
index f6ca5bcb19..f8ecce320b 100644
--- a/classes/wrt-image.bbclass
+++ b/classes/wrt-image.bbclass
@@ -31,4 +31,4 @@ wrt_create_images() {
IMAGE_POSTPROCESS_COMMAND += "wrt_create_images;"
-DEPENDS += "wrt-imagetools" \ No newline at end of file
+DEPENDS_prepend = "${@["wrt-imagetools-native ", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}" \ No newline at end of file