Daniel Golle <[email protected]> [2021-03-01 11:20:55]:

Hi,

> > FYI we're likely going to demand swig[1] soon as host dependency and not
> > building it as tool, because it would be support and maintenance nightmare.
> > Maybe this could be an option for this case as well?
> > 
> > 1. 
> > https://lists.infradead.org/pipermail/openwrt-devel/2021-February/033654.html
> 
> There already is a host build of vim, however, it's on packages repo.

why do you insist on the Vim? BTW by including xxd to tools, you're forcing
everyone to download that 12M, even if it's currently only needed for that
Mediatek specific U-Boot package.

Anyway, here are some suggestions:

 < jow> http://grail.cba.csuohio.edu/~somos/xxd-1.10.tar.gz
 < jow> ~12KB
 < jow> (xxd-1.10.tar.gz is also referenced in the u-boot documentation)
 < jow> however looking at 
https://github.com/u-boot/u-boot/blob/53e0fef5a74ac10618da083a01bbf97b4387a3dd/Makefile#L1899
 , it might be even easier to simply pregernate the file with a perl oneliner 
or something

I don't know if Perl solution would be accepted upstream, but maybe Python
based one[1] would work.

1. 
https://gist.githubusercontent.com/puentesarrin/6567480/raw/cb9c0bff17a678c560b830063da9fcd85356ee9a/xxd.py

-- ynezz

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to