[U-Boot] [PATCH] mkimage: add option for adding dtc binary path via argument

Wolfgang Denk wd at denx.de
Mon May 6 14:32:51 CEST 2013


Dear Luka Perkov,

In message <20130506080157-11499 at mutt-kz> you wrote:
> 
> > > Add option for configuring path to dtc binary in mkimage command. The
> > > dtc binary might not always be located in $PATH.
> > 
> > Could you please explain why that would be needed?  What prevents you
> > adding the respective directory to your PATH?
> 
> I could do that too. I think it's much more elegant to tell mkimage
> where dwc is located instead of tampering with the $PATH. Also, since we
> are adding dtc options via arguments it seamed like a valid approach.

Well, no.  The standard approach to tell the system about where to
find tools is to set PATH.

Using options does not scale.

It appears there is no really good reason for this patch, so I think
we should drop it.



Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Why should we subsidize intellectual curiosity?" - Ronald Reagan


More information about the U-Boot mailing list