cmake: Fix missing dependency
DRV_VALIDATION should depend on any changes to the tool that generates it, gen_kobject_list.py. Signed-off-by: Bradley Bolen <bbolen@lexmark.com>
This commit is contained in:
parent
9d04f03bab
commit
4198ba71f2
1 changed files with 1 additions and 0 deletions
|
@ -719,6 +719,7 @@ add_custom_command(
|
|||
${ZEPHYR_BASE}/scripts/gen_kobject_list.py
|
||||
--validation-output ${DRV_VALIDATION}
|
||||
$<$<BOOL:${CMAKE_VERBOSE_MAKEFILE}>:--verbose>
|
||||
DEPENDS ${ZEPHYR_BASE}/scripts/gen_kobject_list.py
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
)
|
||||
add_custom_target(${DRIVER_VALIDATION_H_TARGET} DEPENDS ${DRV_VALIDATION})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue