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 <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-03-14 12:07:51 -05:00 committed by Kumar Gala
commit c7f2c89783
2 changed files with 3 additions and 3 deletions

View file

@ -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}