summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 7f1f6f80a4..2139a7e576 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -132,7 +132,12 @@ def rootfs_variables(d):
132 132
133do_rootfs[vardeps] += "${@rootfs_variables(d)}" 133do_rootfs[vardeps] += "${@rootfs_variables(d)}"
134 134
135do_build[depends] += "virtual/kernel:do_deploy" 135# This is needed to have kernel image in DEPLOY_DIR.
136# This follows many common usecases and user expectations.
137# But if you are building an image which doesn't need the kernel image at all,
138# you can unset this variable manually.
139KERNEL_DEPLOY_DEPEND ?= "virtual/kernel:do_deploy"
140do_build[depends] += "${KERNEL_DEPLOY_DEPEND}"
136 141
137 142
138python () { 143python () {