[U-Boot] why is there no ".u-boot.map.cmd" generated?

Robert P. J. Day rpjday at crashcourse.ca
Mon Apr 8 09:02:46 UTC 2019


On Mon, 8 Apr 2019, Chris Packham wrote:

> Hi Robert,
>
> On Mon, Apr 8, 2019 at 4:51 AM Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> >
> >
> >   short followup to earlier question ... i was going to check the file
> > .u-boot.map.cmd to see which command was used to generate it but,
> > unlike numerous other files of that form, that file has no associated
> > .cmd file. any reason for that?
> >
>
> The reason is that u-boot.map isn't a target, you can't run 'make
> u-boot.map'. It gets generated as side-effect of the final link (see
> cmd_u_boot__ in the main Makefile). You can see the command that
> generates it in .uboot.cmd.

  ok, i see how it works (i think). this is the first time i've
actually taken a close look at those .u-boot.*.cmd files. just to
confirm, each of those files represents a *single* command executed to
produce one (or more) of the final artifacts of the build process. and
in the case of u-boot.map, it's the "-Map u-boot.map" option to the
linker that specifies the output for the map file.

  it all makes sense once one is clued in. thanks for that.

rday

p.s. i may have more occasional questions that seem trivially obvious
to others, as i am currently digging into parts of u-boot i've never
hacked around in before.

-- 

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

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


More information about the U-Boot mailing list