diff options
| -rw-r--r-- | meta/classes/image.bbclass | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 47776db2b0..7f1f6f80a4 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
| @@ -132,12 +132,7 @@ def rootfs_variables(d): | |||
| 132 | 132 | ||
| 133 | do_rootfs[vardeps] += "${@rootfs_variables(d)}" | 133 | do_rootfs[vardeps] += "${@rootfs_variables(d)}" |
| 134 | 134 | ||
| 135 | # This is needed to have kernel image in DEPLOY_DIR. | 135 | do_build[depends] += "virtual/kernel:do_deploy" |
| 136 | # This follow 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. | ||
| 139 | KERNELDEPLOYDEPEND ?= "virtual/kernel:do_deploy" | ||
| 140 | do_build[depends] += "${KERNELDEPMODDEPEND}" | ||
| 141 | 136 | ||
| 142 | 137 | ||
| 143 | python () { | 138 | python () { |
