dtoc: Add support for building a dtoc PyPi package
authorSimon Glass <sjg@chromium.org>
Fri, 24 Feb 2023 01:18:17 +0000 (18:18 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 8 Mar 2023 19:40:49 +0000 (11:40 -0800)
commit77b3ccb89ae373d054533f5f4a4192a4ba020405
tree6e7a2ccc2595a2998fbcc4b14eaaf5b6e1604f82
parent1688d6ca0e0c665c909ec6cd30c2aa53445548f2
dtoc: Add support for building a dtoc PyPi package

Create the necessary files to build this new package.

This is needed for binman.

Move the main program into a function so that it can easily be called by
the PyPi-created script.

Signed-off-by: Simon Glass <sjg@chromium.org>
Makefile
tools/dtoc/README.rst [new file with mode: 0644]
tools/dtoc/pyproject.toml [new file with mode: 0644]