Re: make[2]: *** No rule to make target 'fitImage'. Stop.


Robert P. J. Day
 

On Tue, 14 Mar 2017, Belisko Marek wrote:

Hi Robert,

On Tue, Mar 14, 2017 at 9:16 PM, Robert P. J. Day <rpjday@...> wrote:
On Mon, 13 Mar 2017, Robert P. J. Day wrote:


i'll start a new thread to focus on just this issue. again, building
core-image-minimal for mpc8315e-rdb, adding this to local.conf:

INHERIT += "kernel-fitimage" <-- do i need this line?
KERNEL_IMAGETYPES_append = " fitImage"

anyway, run:

$ bitbake virtual/kernel

and eventually get:

make[2]: *** No rule to make target 'fitImage'. Stop.
... snip ...

i would still love to figure out how to generate a simple FIT image
when building core-image-minimal for mpc8315e-rdb.

first, based on what i read, my first attempt was to add the
following line to local.conf:

KERNEL_IMAGETYPES_append = " fitImage"
You need probably also add:

KERNEL_CLASSES += "kernel-fitimage"

to local.conf
that *appears* to have solved the problem ... so why is it i didn't
realize that? where is that written up that i somehow missed it?

and would it not make sense that selecting FIT image in one variable
should automatically set the other required variables?

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================

Join yocto@lists.yoctoproject.org to automatically receive all group messages.