tools/firmware-utils: mktplinkfw move build_fw() to lib
authorThibaut VARÈNE <hacks@slashdirt.org>
Tue, 3 Oct 2017 18:19:52 +0000 (20:19 +0200)
committerMathias Kresin <dev@kresin.me>
Fri, 6 Oct 2017 06:28:41 +0000 (08:28 +0200)
This patch moves build_fw() to mktplinkfw-lib.c

The versions of mktplinkfw.c and mktplinkfw2.c had slight
differences in code flow, the version from mktplinkfw.c has been
preferred.

While it's expected that this change will not affect mktplinkfw2,
all use cases could not be tested and so this particular change
is committed separately.

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>

No differences found