From dceed5f7e795f3d5b964a743f8b8d1b4d88d5f1d Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 24 Aug 2021 08:52:56 +0200 Subject: [PATCH] tools: Rename JSON based generators and expose new ones: -litex_json2dts_linux (previously litex_json2dts). -litex_json2dts_zephyr (previously litex_zephyr_dts_generator). -litex_json2renode (previously litex_renode_generator). litex_json2dts_zephyr and litex_json2renode are now also directly exposed. --- litex/tools/{litex_json2dts.py => litex_json2dts_linux.py} | 0 ...litex_zephyr_dts_generator.py => litex_json2dts_zephyr.py} | 0 .../tools/{litex_renode_generator.py => litex_json2renode.py} | 0 setup.py | 4 +++- 4 files changed, 3 insertions(+), 1 deletion(-) rename litex/tools/{litex_json2dts.py => litex_json2dts_linux.py} (100%) rename litex/tools/{litex_zephyr_dts_generator.py => litex_json2dts_zephyr.py} (100%) rename litex/tools/{litex_renode_generator.py => litex_json2renode.py} (100%) diff --git a/litex/tools/litex_json2dts.py b/litex/tools/litex_json2dts_linux.py similarity index 100% rename from litex/tools/litex_json2dts.py rename to litex/tools/litex_json2dts_linux.py diff --git a/litex/tools/litex_zephyr_dts_generator.py b/litex/tools/litex_json2dts_zephyr.py similarity index 100% rename from litex/tools/litex_zephyr_dts_generator.py rename to litex/tools/litex_json2dts_zephyr.py diff --git a/litex/tools/litex_renode_generator.py b/litex/tools/litex_json2renode.py similarity index 100% rename from litex/tools/litex_renode_generator.py rename to litex/tools/litex_json2renode.py diff --git a/setup.py b/setup.py index 965288d74..1273cc101 100755 --- a/setup.py +++ b/setup.py @@ -41,7 +41,9 @@ setup( "litex_cli=litex.tools.litex_client:main", "litex_sim=litex.tools.litex_sim:main", "litex_read_verilog=litex.tools.litex_read_verilog:main", - "litex_json2dts=litex.tools.litex_json2dts:main", + "litex_json2dts_linux=litex.tools.litex_json2dts_linux:main", + "litex_json2dts_zephyr=litex.tools.litex_json2dts_zephyr:main", + "litex_json2renode=litex.tools.litex_json2renode:main", "litex_bare_metal_demo=litex.soc.software.demo.demo:main", # short names "lxterm=litex.tools.litex_term:main",