Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] Revert "kernel.bbclass: make dependency on lzop-native conditional"
@ 2020-10-05 14:18 Marco Felsch
  2020-10-06 13:27 ` [OE-core] " Richard Purdie
  2020-10-07 11:28 ` Richard Purdie
  0 siblings, 2 replies; 7+ messages in thread
From: Marco Felsch @ 2020-10-05 14:18 UTC (permalink / raw)
  To: openembedded-core; +Cc: mfe

This reverts commit 1217ddf070261c5fe523729b2a833bd38f1e4ccd.

This commit breaks compiling if no initramfs is used because the kernel
image can be compressed too using lzo.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 meta/classes/kernel.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 78def5bbc1..06150e8072 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -4,8 +4,7 @@ KERNEL_PACKAGE_NAME ??= "kernel"
 KERNEL_DEPLOYSUBDIR ??= "${@ "" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else d.getVar("KERNEL_PACKAGE_NAME") }"
 
 PROVIDES += "${@ "virtual/kernel" if (d.getVar("KERNEL_PACKAGE_NAME") == "kernel") else "" }"
-DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native bc-native bison-native"
-DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lzo", "lzop-native", "", d)}"
+DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc kmod-native bc-native lzop-native bison-native"
 DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lz4", "lz4-native", "", d)}"
 PACKAGE_WRITE_DEPS += "depmodwrapper-cross"
 
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-10-07 15:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-05 14:18 [PATCH] Revert "kernel.bbclass: make dependency on lzop-native conditional" Marco Felsch
2020-10-06 13:27 ` [OE-core] " Richard Purdie
2020-10-06 14:26   ` Marco Felsch
2020-10-06 14:27     ` Richard Purdie
2020-10-06 15:57       ` Marco Felsch
2020-10-07 11:28 ` Richard Purdie
2020-10-07 15:59   ` Marco Felsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox