> On Aug 9, 2016, at 5:08 AM, Mike Looijmans <mike.looijm...@topic.nl> wrote: > > I've been adding "lzop-native" to a lot of kernel recipes because you also > need it when generating an LZO compressed kernel (I like my boot time to be > under 1 second). > > It's a small dependency which is hard to automatically figure out, since > there are a number of ways to trigger it (we just found two). I would welcome > this patch very much, and I don't think many will suffer…
From linux.inc days there is a python snippet which can do this conditionally e.g. see https://github.com/kraj/meta-raspberrypi/blob/master/recipes-kernel/linux/linux-rpi.inc#L121 > > > On 01-08-16 14:32, Trevor Woerner wrote: >> If the initramfs image is type lzo, then a native lzop is needed. >> >> Signed-off-by: Trevor Woerner <twoer...@gmail.com> >> --- >> meta/classes/kernel.bbclass | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass >> index fa76a14..db42744 100644 >> --- a/meta/classes/kernel.bbclass >> +++ b/meta/classes/kernel.bbclass >> @@ -1,7 +1,7 @@ >> inherit linux-kernel-base kernel-module-split >> >> PROVIDES += "virtual/kernel" >> -DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc >> kmod-native depmodwrapper-cross bc-native" >> +DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc >> kmod-native depmodwrapper-cross bc-native lzop-native" >> >> S = "${STAGING_KERNEL_DIR}" >> B = "${WORKDIR}/build" >> > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core