From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Fri, 6 Dec 2019 09:03:49 +0100 Subject: [Buildroot] [EXT] Re: [PATCH v3 8/9] board/nxp/common/ls: Add standard post image script for Layerscape processors In-Reply-To: References: <20191127073028.34651-1-jerry.huang@nxp.com> <20191127073028.34651-2-jerry.huang@nxp.com> Message-ID: <20191206090349.21ee534f@windsurf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Fri, 6 Dec 2019 07:23:17 +0000 Jerry Huang 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