Skip to content
Permalink
Browse files

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>
  • Loading branch information...
Bradley Bolen authored and nashif committed Apr 12, 2019
1 parent 9d04f03 commit 4198ba71f2cf06de04be531493b7bb5fd67e5651
Showing with 1 addition and 0 deletions.
  1. +1 −0 CMakeLists.txt
@@ -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})

0 comments on commit 4198ba7

Please sign in to comment.
You can’t perform that action at this time.