mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-30 06:53:09 +00:00
77b3ccb89a
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>
26 lines
731 B
TOML
26 lines
731 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "dtoc"
|
|
version = "0.0.2"
|
|
authors = [
|
|
{ name="Simon Glass", email="sjg@chromium.org" },
|
|
]
|
|
dependencies = ["pylibfdt", "u_boot_pylib"]
|
|
description = "Devicetree-to-C generator"
|
|
readme = "README.rst"
|
|
requires-python = ">=3.7"
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
|
|
[project.urls]
|
|
"Homepage" = "https://u-boot.readthedocs.io/en/latest/develop/driver-model/of-plat.html"
|
|
"Bug Tracker" = "https://source.denx.de/groups/u-boot/-/issues"
|
|
|
|
[project.scripts]
|
|
dtoc = "dtoc.main:run_dtoc"
|