From c7f2c897839738ce57e57ae4406ca5989b85dece Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Sat, 14 Mar 2020 12:07:51 -0500 Subject: [PATCH] gen_defines.py: rename gen_defines.py to gen_legacy_defines.py This rename is mostly to easy git managment and review so any changes or the addition of the new gen_defines.py doesn't look like a diff against the old code if you look at just that commit. We keep changes to a minimum to just keep things building with the renamed gen_legacy_defines.py. Signed-off-by: Kumar Gala --- cmake/dts.cmake | 6 +++--- scripts/dts/{gen_defines.py => gen_legacy_defines.py} | 0 2 files changed, 3 insertions(+), 3 deletions(-) rename scripts/dts/{gen_defines.py => gen_legacy_defines.py} (100%) diff --git a/cmake/dts.cmake b/cmake/dts.cmake index dec9c256e64..c4cdc891bc2 100644 --- a/cmake/dts.cmake +++ b/cmake/dts.cmake @@ -7,7 +7,7 @@ file(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/include/generated) # that allows configuration based on information encoded in DTS. # # Here we call on dtc, the gcc preprocessor, and -# scripts/dts/gen_defines.py to generate this header file at +# scripts/dts/gen_legacy_defines.py to generate this header file at # CMake configure-time. # # See ~/zephyr/doc/dts @@ -190,10 +190,10 @@ if(SUPPORTS_DTS) endif(DTC) # - # Run gen_defines.py to create a .conf file and a header file + # Run gen_legacy_defines.py to create a .conf file and a header file # - set(CMD_NEW_EXTRACT ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/dts/gen_defines.py + set(CMD_NEW_EXTRACT ${PYTHON_EXECUTABLE} ${ZEPHYR_BASE}/scripts/dts/gen_legacy_defines.py --dts ${BOARD}.dts.pre.tmp --dtc-flags '${EXTRA_DTC_FLAGS}' --bindings-dirs ${DTS_ROOT_BINDINGS} diff --git a/scripts/dts/gen_defines.py b/scripts/dts/gen_legacy_defines.py similarity index 100% rename from scripts/dts/gen_defines.py rename to scripts/dts/gen_legacy_defines.py