On 20-10-06 15:27, Richard Purdie wrote: > On Tue, 2020-10-06 at 16:26 +0200, Marco Felsch wrote: > > On 20-10-06 14:27, Richard Purdie wrote: > > > On Mon, 2020-10-05 at 16:18 +0200, Marco Felsch wrote: > > > > This reverts commit 1217ddf070261c5fe523729b2a833bd38f1e4ccd. > > > > > > > > This commit breaks compiling if no initramfs is used because the > > > > kernel image can be compressed too using lzo. > > > > > > Can we detect if the kernel is due to be compressed with lzo > > > through > > > any of our configuration variables? > > > > I thought about it too.. We need to grep the .config and check if the > > Kconfig was set either by the defconfig we are providing or by some > > inheritance. > > Grepping the .config isn't an option as we need to determine this at > parse time.
That was my conclusion too. > I did wondering the kernel type/output name style variables > would tell us but it sounds like that isn't the case :( Nope you can't, e.g. arm compressed images are always named zImage. Regards, Marco
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#143043): https://lists.openembedded.org/g/openembedded-core/message/143043 Mute This Topic: https://lists.openembedded.org/mt/77319574/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-