[Buildroot] [EXT] Re: [PATCH v3 8/9] board/nxp/common/ls: Add standard post image script for Layerscape processors

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Dec 6 08:03:49 UTC 2019


On Fri, 6 Dec 2019 07:23:17 +0000
Jerry Huang <jerry.huang at nxp.com> wrote:

> > > +       # build the itb image
> > > +       cp board/nxp/$(plat_name)/kernel.its ${BINARIES_DIR}/kernel.its
> > > +       cd ${BINARIES_DIR}/
> > > +       /usr/bin/mkimage -f kernel.its kernel.itb  
> > 
> > Why does mkimage have the full path specified here?  
> Use the mkimage at host machine.

And that is not correct because nothing guarantees you that there is an
mkimage installed in /usr/bin/mkimage. You can only rely on the mkimage
built by Buildroot.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list