[U-Boot] Broken target

Tom Rini trini at ti.com
Tue Oct 14 10:15:17 CEST 2014


On Mon, Oct 13, 2014 at 12:44:32PM -0300, Otavio Salvador wrote:
> On Mon, Oct 13, 2014 at 9:38 AM, Tom Rini <trini at ti.com> wrote:
> > On Mon, Oct 13, 2014 at 09:08:09AM -0300, Otavio Salvador wrote:
> >> On Mon, Oct 13, 2014 at 5:53 AM, Tom Rini <trini at ti.com> wrote:
> >> > On Sun, Oct 12, 2014 at 05:48:37PM -0300, Otavio Salvador wrote:
> >> >> The 'tools-only' target seems to be broken.
> >> >>
> >> >> In a clean tree (no previous build) running:
> >> >>
> >> >> $: make tools-only
> >> >>
> >> >> fails with:
> >> >>
> >> >>   CHK     include/config/uboot.release
> >> >> /bin/sh: 1: cannot open include/config/auto.conf: No such file
> >> >> Makefile:1049: recipe for target 'include/config/uboot.release' failed
> >> >> make: *** [include/config/uboot.release] Error 2
> >> >>
> >> >> Any idea about the root cause? it is a regression as 2014.07 works
> >> >> fine in this case.
> >> >
> >> > Well blah.  The issue is that we support CONFIG_LOCALVERSION now and a
> >> > few parts of "tools-only" use PLAIN_VERSION (some just for version
> >> > printing but at least once for the DT in signed images).  So a no-config
> >> > tools-only build isn't posible again unless we want to ignore
> >> > LOCALVERSION.
> >>
> >> I would assume it to trigger:
> >>
> >> make defconfig
> >> make silientoldconfig
> >>
> >> by itself. So it could be used in old build recipes with no changes.
> >
> > Here's what I can do.  If you do sandbox_config and then tools-only and
> > I take tools-only out of the "no config required" list (because it's not
> > true!) it will work in both v2014.04 (when tools-only was introduced)
> > and v2014.10.
> 
> In 2014.04, 2014.07 I had our tools recipe, in Yocto Project succeed
> when calling only 'make tools-only'.

Right, we had Kbuild but not Kconfig support then, so no
CONFIG_LOCALVERSION to further modify the version string.

> I think it is a drawback to require the sandbox explicit call before
> building it now. I can live with that seems not right.

It's a feature, not a bug, that you need to have the config processed.
I had a suggested possible use before I recalled that OE strips out the
githash from kernel builds tho.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141014/28f62c0d/attachment.pgp>


More information about the U-Boot mailing list