[PATCH 1/3] net: Add tftp command which uses the new tftp code

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Sep 27 15:34:12 EDT 2012


On 19:22 Thu 27 Sep     , Sascha Hauer wrote:
> Traditionally tftp is a command of its own. Since we can
> mount tftp as a filesystem we have duplicated the tftp code, the old
> code is used by the tftp command, the new by the filesystem support.
> This adds a tftp command based on the filesystem support to preserve
> backward compatibility. This allows us to remove the old tftp support
> in the next step.
> 
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> ---
>  commands/Kconfig  |    8 +++++
>  commands/Makefile |    1 +
>  commands/tftp.c   |  103 +++++++++++++++++++++++++++++++++++++++++++++++++++++
why this is c code?

why not simply do it via script

Best Regards,
J.



More information about the barebox mailing list