Hi Simon, On Tue, May 19, 2015 at 12:16 PM, Simon Glass <s...@chromium.org> wrote: > Hi Masahiro, > > On 18 May 2015 at 23:04, Masahiro Yamada <yamada.masah...@socionext.com> > wrote: >> Hi Simon, >> >> >> 2015-05-18 2:50 GMT+09:00 Simon Glass <s...@chromium.org>: >>> Hi Masahiro, >>> >>> On 15 May 2015 at 22:58, Masahiro Yamada <yamada.masah...@socionext.com> >>> wrote: >>>> Hi Joe, >>>> (added Simon) >>>> >>>> 2015-05-16 4:52 GMT+09:00 Joe Hershberger <joe.hershber...@gmail.com>: >>>>> Hi Masahiro-san, >>>>> >>>>> On Fri, May 15, 2015 at 6:01 AM, Masahiro Yamada >>>>> <yamada.masah...@socionext.com> wrote:
8< snip >8 >>>>>> This tool intends to be more generic design without hard-coding such >>>>>> kernel.org things. >>>>>> >>>>>> To achieve that, this tool consists of two files: >>>>>> Python script (this file) and the database file containing URLs of >>> tarballs. >>>>>> >>>>>> We just need to update the latter when new version compilers are >>> released >>>>>> (or better compilers are found.) The file is in the form of RFC 822 for >>>>>> easier editing. >>>>> >>>>> Any reason not to just maintain this list on the wiki. It seem this is >>>>> the primary issue for everyone... not figuring out how to download or >>>>> extract the toolchain. >>>> >>>> I can just note URLs down in README or wiki. >>>> >>>> Of course, everyone knows how to download a tarball and extract it, but >>>> isn't it more convenient to prepare a utility that can do everything for >>> you? >>>> >>>> >>>>>> The script only uses Python libraries, not relies on external programs >>>>>> although it displays wget-like log when downloading tarballs. :-) >>>>> >>>>> It seems like using wget would be more appropriate. Why reinvent the >>> wheel? >>>> >>>> >>>> My intention was to not depend on particular external programs like wget, >>> curl. >>>> >>>> But, you are right, we should not reinvent the wheel. >>>> >>>> I will replace my implementation with a caller of wget. >>> >>> I think urllib2 is a better solution. >> >> Now I understand we must depend on "tar" anyway. >> >> So my first intention "no external program dependency" seems impossible >> (at least on Python 2). >> >> I do not mind depending on wget, and it seems easier. > > Is wget always installed? Maybe urllib is better just in case. In my case I do some work on an old distro and on that machine I have wget, but not python 3. 8< snip >8 Cheers -Joe _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot