summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Kroon <jacob.kroon@gmail.com>2022-05-09 12:32:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-09 23:40:11 +0100
commit75ee46e5d6a56acf4f18ca68d9f9032a4774e60b (patch)
treed19c067d97eed115b20df24c41456791d8357cab
parentf1f3c60c4cf8d0bc4a75d1dbff33e4a09327753c (diff)
downloadpoky-75ee46e5d6a56acf4f18ca68d9f9032a4774e60b.tar.gz
Revert "image.bbclass: allow overriding dependency on virtual/kernel:do_deploy"
As pointed out in https://lists.openembedded.org/g/openembedded-core/message/165058 https://lists.openembedded.org/g/openembedded-core/message/165216 this patch sets KERNELDEPLOYDEPEND but then uses KERNELDEPMODDEPEND. Revert the changes since no one seems interested enough to fix it. If someone wants this then make the variable name readable by adding underscores where appropriate, for example by calling it KERNEL_DEPLOY_DEPEND. This reverts commit dcf9dfa4e6305786cd713aa28deda94a50bd6635. (From OE-Core rev: f0bd9e5d10dc86d7b2639a31ab12728ab67bebd5) Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/image.bbclass7
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
133do_rootfs[vardeps] += "${@rootfs_variables(d)}" 133do_rootfs[vardeps] += "${@rootfs_variables(d)}"
134 134
135# This is needed to have kernel image in DEPLOY_DIR. 135do_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.
139KERNELDEPLOYDEPEND ?= "virtual/kernel:do_deploy"
140do_build[depends] += "${KERNELDEPMODDEPEND}"
141 136
142 137
143python () { 138python () {