[PATCH] tools: add xxd (from vim)

Petr Štetiar ynezz at true.cz
Mon Mar 1 03:12:46 EST 2021


Daniel Golle <daniel at makrotopia.org> [2021-02-28 19:26:07]:

Hi Daniel,

> U-Boot requires xxd to create the default environment from an external file
> as done in uboot-mediatek.

it's not essential package for everyone, so why are you forcing everyone to
download Vim now? Can't you solve it as host dependency in that package?

> Build xxd (only, not the rest of vim) as part of tools to make sure it is
> present on the buildhost.

Why not Emacs? :-) I mean, this Vim tarball is 12M (D'oh!), can't this be
fixed by xxd from Busybox for example? Or by other means, like including the
small sources in the tree directly?

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

Cheers,

Petr



More information about the openwrt-devel mailing list