File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -120,15 +120,17 @@ function(AddHWGenTarget input template output)
120
120
# Inputs
121
121
set (INPUT_JSON ${CMAKE_CURRENT_BINARY_DIR} /${input} )
122
122
set (TEMPLATE ${RADIO_DIRECTORY} /util/hw_defs/${template} .jinja)
123
- set (LEGACY_JSON ${RADIO_DIRECTORY} /util/hw_defs/legacy_names.py)
123
+ set (GEN_PY_DEPS
124
+ ${RADIO_DIRECTORY} /util/hw_defs/generator.py
125
+ ${RADIO_DIRECTORY} /util/hw_defs/legacy_names.py
126
+ )
124
127
125
128
# Command
126
129
set (GEN_JSON ${GEN_JSON} -t ${TEMPLATE} -T ${FLAVOUR} ${INPUT_JSON} )
127
130
128
131
add_custom_command (OUTPUT ${output}
129
132
COMMAND ${GEN_JSON} > ${output}
130
- DEPENDS ${INPUT_JSON} ${LEGACY_JSON} ${TEMPLATE} ${RADIO_DIRECTORY} /src/hal/key_driver.h
131
- )
133
+ DEPENDS ${INPUT_JSON} ${TEMPLATE} ${GEN_PY_DEPS} )
132
134
endfunction ()
133
135
134
136
macro (AddHeadersSources)
You can’t perform that action at this time.
0 commit comments